--- id: KG-WP-0001 type: workplan title: "Bootstrap State Hub integration" domain: infotech repo: kings-guard status: finished owner: codex topic_slug: netkingdom created: "2026-07-23" updated: "2026-07-23" state_hub_workstream_id: "b7ff79b9-ae27-4a46-a782-49482392eb83" --- # Bootstrap State Hub integration Adaptive immune security control plane for complex multi-tenant cloud environments. ## Review Generated Integration Files ```task id: KG-WP-0001-T01 status: done priority: high state_hub_task_id: "add34171-9f18-48b9-a88e-07ea34cb6382" ``` Review `INTENT.md`, `SCOPE.md`, `AGENTS.md`, and `.custodian-brief.md`. Replace generated placeholders with repo-specific facts where needed. **Done 2026-07-23:** Added a repo-specific `INTENT.md`, rewrote `SCOPE.md` from the generated placeholder into an explicit boundary for adaptive security assessment/response, extended `AGENTS.md` with the repo's actual docs-first workflow, and confirmed `.custodian-brief.md` is adequate as generated. Corrected the generated `topic_slug` from `custodian` to `netkingdom` so the repo's first workplans align with the broader security ecosystem. ## Verify Local Developer Workflow ```task id: KG-WP-0001-T02 status: done priority: high state_hub_task_id: "17fb3a0c-91c5-4b45-967e-962ef6c89ac5" ``` 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. **Done 2026-07-23:** Documented the current repo reality in `AGENTS.md`: there is no runtime yet, so verification is `git diff --check` plus focused document review and `statehub fix-consistency` after workplan edits. Explicitly noted that install/test/lint/run commands should be added only when executable code lands. ## Seed First Real Workplan ```task id: KG-WP-0001-T03 status: done priority: medium state_hub_task_id: "5b5f56d9-7e89-43b6-94c3-db4461e9eed4" ``` Create the first implementation workplan for the repository's most important next change. After workplan file updates, run the sync locally from this repo checkout: ```bash statehub fix-consistency ``` **Done 2026-07-23:** Created `KG-WP-0002-canonical-immune-contracts-and-posture-pilot.md` to define the first substantive strand: canonical immune contracts, adjacent security boundaries, a minimal posture loop, and a first pilot integration lane. Sync to State Hub follows this bootstrap closeout.