From de7b656e71620143ab67be3a3eb350f29db3a205 Mon Sep 17 00:00:00 2001 From: tegwick Date: Sun, 7 Jun 2026 14:31:35 +0200 Subject: [PATCH] docs: record progress router import seam --- docs/hub-core-extraction-boundary.md | 10 +++++++--- workplans/CUST-WP-0025-fos-hub-bootstrap.md | 8 ++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/hub-core-extraction-boundary.md b/docs/hub-core-extraction-boundary.md index 7d5e407..8c8faad 100644 --- a/docs/hub-core-extraction-boundary.md +++ b/docs/hub-core-extraction-boundary.md @@ -100,6 +100,10 @@ Current implementation status: - 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. +- 2026-06-07: T08 progress router import completed. State Hub now mounts the + hub-core progress router factory with State Hub's own progress model and + schemas injected, preserving topic/workstream/task filters while gaining the + shared risk and alert progress views. ## Extract Now @@ -208,6 +212,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, 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, 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 e5d91c9..6e992b9 100644 --- a/workplans/CUST-WP-0025-fos-hub-bootstrap.md +++ b/workplans/CUST-WP-0025-fos-hub-bootstrap.md @@ -301,6 +301,14 @@ 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. +Implementation slice 7 (2026-06-07): added host-model and schema injection to +`hub_core.routers.progress.create_progress_router`, then replaced State Hub's +local `api.routers.progress` implementation with the hub-core factory while +injecting State Hub's own progress model and schemas. The shared router now +preserves State Hub's topic/workstream/task filters and exposes the hub-core +risk/alert progress views. Verification: hub-core pytest passed with 19 tests; +State Hub MCP/import/core-router focused tests passed with 71 tests. + ### T09 — Rename MCP server state-hub to dev-hub ```task