docs: record domains router import seam
This commit is contained in:
@@ -104,6 +104,10 @@ Current implementation status:
|
||||
hub-core progress router factory with State Hub's own progress model and
|
||||
schemas injected, preserving topic/workstream/task filters while gaining the
|
||||
shared risk and alert progress views.
|
||||
- 2026-06-07: T08 domains router import completed. State Hub now mounts the
|
||||
hub-core domains router factory with State Hub's own domain/repo models and
|
||||
schemas injected, plus callbacks for dev-hub detail counts and archive
|
||||
validation.
|
||||
|
||||
## Extract Now
|
||||
|
||||
@@ -172,7 +176,7 @@ implementation is coupled to dev-hub concepts:
|
||||
|
||||
| Surface | Coupling to resolve |
|
||||
| --- | --- |
|
||||
| `Domain` and `domains.py` detail views | Counts topics, workstreams, extension points, and technical debt. Hub-core should expose a domain summary hook that dev-hub can implement. |
|
||||
| `Domain` and `domains.py` detail views | Detail counts now use a dev-hub callback behind the hub-core router factory. Domain relationships still need a later model split if State Hub stops carrying topics/goals on the core table. |
|
||||
| `ManagedRepo` | Contains `topic_id`, SBOM fields, and state-sync timestamps. Keep minimal repo identity in core, then add dev-hub extensions. |
|
||||
| `CapabilityRequest` | Adapter seam implemented with generic `request_context` and `fulfillment_context`; State Hub still needs a later refactor to map workstream/task references into those fields or a dev-hub extension table. |
|
||||
| `ProgressEvent` | Adapter seam implemented with generic `subject_refs`; State Hub still needs a later refactor to map topic/workstream/task/decision foreign keys into that field or a dev-hub extension table. |
|
||||
@@ -212,6 +216,6 @@ to import it:
|
||||
## Next Step
|
||||
|
||||
Continue T08 by applying host-model injection or callback seams to the next
|
||||
lowest-risk generic routers. Repos, domains, and capability requests each need
|
||||
a small dependency-injection review before replacement. Do not rename State Hub
|
||||
to dev-hub until T05-T08 prove the shared package boundary.
|
||||
lowest-risk generic routers. Repos and capability requests each need a small
|
||||
dependency-injection review before replacement. Do not rename State Hub to
|
||||
dev-hub until T05-T08 prove the shared package boundary.
|
||||
|
||||
Reference in New Issue
Block a user