diff --git a/docs/hub-core-extraction-boundary.md b/docs/hub-core-extraction-boundary.md index 1687b65..2d9909c 100644 --- a/docs/hub-core-extraction-boundary.md +++ b/docs/hub-core-extraction-boundary.md @@ -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. diff --git a/workplans/CUST-WP-0025-fos-hub-bootstrap.md b/workplans/CUST-WP-0025-fos-hub-bootstrap.md index fc8af83..1d8d0f1 100644 --- a/workplans/CUST-WP-0025-fos-hub-bootstrap.md +++ b/workplans/CUST-WP-0025-fos-hub-bootstrap.md @@ -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