docs: record policy router import seam

This commit is contained in:
2026-06-07 13:23:15 +02:00
parent 72478e820e
commit 5e8c3aa685
2 changed files with 12 additions and 1 deletions

View File

@@ -286,6 +286,14 @@ that avoids importing hub-core SQLAlchemy metadata into State Hub. Verification:
hub-core `pytest` passed with 16 tests; State Hub import/core-router/MCP smoke
focused tests passed with 70 tests.
Implementation slice 5 (2026-06-07): extended
`hub_core.routers.policy.create_policy_router` with an optional update callback,
then replaced State Hub's local `api.routers.policy` implementation with the
hub-core factory while keeping State Hub's policy path validation/read/write
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.
### T09 — Rename MCP server state-hub to dev-hub
```task