docs: record domain hub-core import seam
This commit is contained in:
@@ -88,6 +88,9 @@ Current implementation status:
|
|||||||
- 2026-06-07: T08 schema imports expanded. Hub-core's TPSC schema/report
|
- 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`
|
contract now matches State Hub, and State Hub re-exports `api.schemas.tpsc`
|
||||||
from `hub_core.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
|
## Extract Now
|
||||||
|
|
||||||
@@ -195,8 +198,8 @@ to import it:
|
|||||||
|
|
||||||
## Next Step
|
## Next Step
|
||||||
|
|
||||||
Continue T08 by replacing the next lowest-risk generic schema/router imports,
|
Continue T08 by replacing the next lowest-risk generic schema imports. Router
|
||||||
likely policy or non-mutating router seams. Do not import hub-core SQLAlchemy
|
imports should wait until the model metadata/migration strategy is explicit,
|
||||||
models into State Hub until the shared metadata/migration strategy is explicit.
|
or use host-model injection rather than importing hub-core SQLAlchemy models
|
||||||
Do not rename State Hub to dev-hub until T05-T08 prove the shared package
|
directly into State Hub. Do not rename State Hub to dev-hub until T05-T08 prove
|
||||||
boundary.
|
the shared package boundary.
|
||||||
|
|||||||
@@ -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
|
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.
|
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
|
### T09 — Rename MCP server state-hub to dev-hub
|
||||||
|
|
||||||
```task
|
```task
|
||||||
|
|||||||
Reference in New Issue
Block a user