diff --git a/docs/hub-core-extraction-boundary.md b/docs/hub-core-extraction-boundary.md index 6fc0502..472cf63 100644 --- a/docs/hub-core-extraction-boundary.md +++ b/docs/hub-core-extraction-boundary.md @@ -82,6 +82,9 @@ Current implementation status: - 2026-06-07: T06/T07 completed in hub-core with orientation and DoI MCP tools, canonical FOS §10 risk/alert event types, `/progress/risks` and `/progress/alerts` REST views, and matching MCP read tools. +- 2026-06-07: T08 started in State Hub. `hub-core` is now an editable + dependency, and State Hub re-exports message and DoI response schemas from + `hub_core.schemas` with full pytest coverage passing. ## Extract Now @@ -189,7 +192,7 @@ to import it: ## Next Step -Start T08 by introducing `/home/worsch/hub-core` as an editable dependency of -`/home/worsch/state-hub`, then replace the lowest-risk generic imports first. -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/router imports. +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. diff --git a/workplans/CUST-WP-0025-fos-hub-bootstrap.md b/workplans/CUST-WP-0025-fos-hub-bootstrap.md index 8f010ca..cb652fa 100644 --- a/workplans/CUST-WP-0025-fos-hub-bootstrap.md +++ b/workplans/CUST-WP-0025-fos-hub-bootstrap.md @@ -246,7 +246,7 @@ tests cover the event contract, router views, and MCP tool registration. ```task id: CUST-WP-0025-T08 -status: todo +status: in_progress priority: high state_hub_task_id: "daf1d8ac-b55a-4692-b359-2671ddf6fc8a" ``` @@ -257,6 +257,13 @@ Refactor the standalone `/home/worsch/state-hub` codebase: - Ensure all existing tests pass with the new import structure - Update pyproject.toml to depend on hub-core +Implementation start (2026-06-07): added `/home/worsch/hub-core` as an editable +`hub-core` dependency of `/home/worsch/state-hub`, synced `uv.lock`, and +converted State Hub's message and DoI response schema modules into +compatibility re-exports from `hub_core.schemas`. Added +`tests/test_hub_core_imports.py` to pin the import seam. Verification: +`python -m pytest` in State Hub passed with 349 tests. + ### T09 — Rename MCP server state-hub to dev-hub ```task