--- id: HUB-WP-0001 type: workplan title: "Bootstrap State Hub integration" domain: inter_hub repo: hub-core status: finished owner: codex topic_slug: inter_hub created: "2026-06-16" updated: "2026-06-22" state_hub_workstream_id: "4a31e8cd-1a06-40bf-abc9-76ca9ac173f2" --- # Bootstrap State Hub integration **Updated:** 2026-06-22. ## Review Generated Integration Files ```task id: HUB-WP-0001-T01 status: done priority: high state_hub_task_id: "2c459592-c971-42b3-8835-75f89a988dc8" ``` Review `INTENT.md`, `SCOPE.md`, `AGENTS.md`, and `.custodian-brief.md`. Replace generated placeholders with repo-specific facts where needed. Completed 2026-06-22: `INTENT.md` and `SCOPE.md` already describe the package boundary. `AGENTS.md` Purpose now states the library role; credential routing and fleet mirror note added. ## Verify Local Developer Workflow ```task id: HUB-WP-0001-T02 status: done priority: high state_hub_task_id: "87054735-cd9a-4018-afde-741e0cef811c" ``` Identify the repo's install, test, lint, build, and run commands. Add or refine those commands in the agent instructions so future coding sessions can verify changes confidently. Completed 2026-06-22: `AGENTS.md` now documents install, test, compile check, wheel build, and State Hub consumer regression commands. No lint/format targets yet — noted as future work. ## Seed First Real Workplan ```task id: HUB-WP-0001-T03 status: done priority: medium state_hub_task_id: "aca066a0-db3d-4496-821a-0fa13c2ae542" ``` Create the first implementation workplan for the repository's most important next change. After workplan file updates, run from `~/state-hub`: ```bash make fix-consistency REPO=hub-core ``` Completed 2026-06-22: seeded `workplans/HUB-WP-0002-import-refactor-adapter-seams.md` to close the remaining CUST-WP-0048 adapter seams (capability request writes, MCP composition, regression handoff).