docs: record repo router import seam

This commit is contained in:
2026-06-07 22:27:43 +02:00
parent 063705756e
commit bf90efee28
2 changed files with 25 additions and 6 deletions

View File

@@ -87,6 +87,14 @@ The migration should proceed by narrow seams:
passed, hub-core pytest passed with 22 tests, the post-format import slice
passed with 14 tests, State Hub compile checks passed, and State Hub focused
tests passed with 95 tests.
- 2026-06-07: Added configurable host-model/schema injection and route grouping
to `hub_core.routers.repos.create_repos_router`, then replaced State Hub's
generic repo registry routes with the hub-core factory. State Hub keeps
onboarding, DoI, scope-health, dispatch, archive, and consistency-sync routes
local. Verification: hub-core compile checks passed, hub-core import tests
passed with 16 tests, full hub-core pytest passed with 24 tests, State Hub
compile checks passed, and State Hub repo/import/MCP focused tests passed with
81 tests.
## T01 - Establish Editable Dependency And Schema Re-Exports
@@ -133,7 +141,7 @@ explicit adapter seam.
```task
id: CUST-WP-0048-T04
status: todo
status: done
priority: high
state_hub_task_id: "321434ee-152b-436c-becd-4e56a44de716"
```
@@ -143,6 +151,13 @@ from dev-hub-specific onboarding, dispatch, DoI, scope-health, SBOM, and state
sync behavior. Either replace the reusable subset with a hub-core factory or
document the adapter seam needed before replacement.
Completed (2026-06-07): hub-core now owns the reusable repo registry route
factory for collection, lookup, detail, update, and host-path registration.
State Hub mounts those routes in ordered groups so `/repos/scope-health` and
other fixed local routes cannot be swallowed by `/{slug}`. State Hub keeps the
dev-hub-specific repo surfaces local: onboarding, DoI, scope-health, dispatch,
archive, and consistency sync.
## T05 - Resolve Capability Request Write Workflow Boundary
```task