docs: record TPSC router import seam

This commit is contained in:
2026-06-07 14:14:23 +02:00
parent 5e8c3aa685
commit 808eedb51e
2 changed files with 13 additions and 4 deletions

View File

@@ -97,6 +97,9 @@ Current implementation status:
- 2026-06-07: T08 policy router import completed. State Hub now mounts the
hub-core policy router factory with local path validation plus read/write
callbacks, proving non-DB routers can move behind callback seams.
- 2026-06-07: T08 TPSC router import completed. State Hub now mounts the
hub-core TPSC router factory with State Hub's own repo and TPSC models
injected, extending the host-model seam to a multi-model router.
## Extract Now
@@ -205,7 +208,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, TPSC, progress, 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, domains, progress, 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.

View File

@@ -294,6 +294,13 @@ callbacks local. Verification: hub-core `pytest` passed with 17 tests; State
Hub policy/import/MCP/core-router focused tests passed when split to avoid live
API test-DB contention.
Implementation slice 6 (2026-06-07): added host-model injection to
`hub_core.routers.tpsc.create_tpsc_router`, then replaced State Hub's local
`api.routers.tpsc` implementation with the hub-core factory while injecting
State Hub's own repo and TPSC models. Verification: hub-core `pytest` passed
with 18 tests; State Hub TPSC/import/MCP focused tests passed with 17 tests and
core-router tests passed with 54 tests.
### T09 — Rename MCP server state-hub to dev-hub
```task