docs: record domain hub-core import seam

This commit is contained in:
2026-06-07 10:57:07 +02:00
parent 366bdb1bae
commit fb6d01b318
2 changed files with 14 additions and 5 deletions

View File

@@ -88,6 +88,9 @@ Current implementation status:
- 2026-06-07: T08 schema imports expanded. Hub-core's TPSC schema/report
contract now matches State Hub, and State Hub re-exports `api.schemas.tpsc`
from `hub_core.schemas.tpsc`.
- 2026-06-07: T08 domain schema imports started. State Hub now imports base
domain schemas from `hub_core.schemas.domain` while keeping dev-hub-specific
domain detail and summary schemas local.
## Extract Now
@@ -195,8 +198,8 @@ to import it:
## Next Step
Continue T08 by replacing the next lowest-risk generic schema/router imports,
likely policy or non-mutating router seams. Do not import hub-core SQLAlchemy
models into State Hub until the shared metadata/migration strategy is explicit.
Do not rename State Hub to dev-hub until T05-T08 prove the shared package
boundary.
Continue T08 by replacing the next lowest-risk generic schema imports. Router
imports should wait until the model metadata/migration strategy is explicit,
or use host-model injection rather than importing hub-core SQLAlchemy models
directly into State Hub. Do not rename State Hub to dev-hub until T05-T08 prove
the shared package boundary.

View File

@@ -272,6 +272,12 @@ State Hub import/core-router/recently-on-scope focused tests passed. A full
State Hub run reached 349 passed / 1 failed; the lone recently-on-scope failure
passed when rerun alone and with the new import seam tests.
Implementation slice 3 (2026-06-07): converted State Hub's base domain schemas
(`DomainCreate`, `DomainRead`, `DomainRename`, `DomainUpdate`) into imports
from `hub_core.schemas.domain` while keeping dev-hub-specific `DomainDetail`
and `DomainSummary` local. Verification: State Hub import/core-router focused
tests passed with 58 tests.
### T09 — Rename MCP server state-hub to dev-hub
```task