From 808eedb51ee118184b912f48e993ba6648cdc0b1 Mon Sep 17 00:00:00 2001 From: tegwick Date: Sun, 7 Jun 2026 14:14:23 +0200 Subject: [PATCH] docs: record TPSC router import seam --- docs/hub-core-extraction-boundary.md | 10 ++++++---- workplans/CUST-WP-0025-fos-hub-bootstrap.md | 7 +++++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/hub-core-extraction-boundary.md b/docs/hub-core-extraction-boundary.md index 3ee9a97..7d5e407 100644 --- a/docs/hub-core-extraction-boundary.md +++ b/docs/hub-core-extraction-boundary.md @@ -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. diff --git a/workplans/CUST-WP-0025-fos-hub-bootstrap.md b/workplans/CUST-WP-0025-fos-hub-bootstrap.md index e79b827..e5d91c9 100644 --- a/workplans/CUST-WP-0025-fos-hub-bootstrap.md +++ b/workplans/CUST-WP-0025-fos-hub-bootstrap.md @@ -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