docs: workplan-first agent guidance prose (CUST-WP-0055 T04)
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s

This commit is contained in:
tegwick 2026-07-08 16:35:51 +02:00
parent 1a63d114ee
commit db65202712
4 changed files with 6 additions and 6 deletions

View file

@ -46,7 +46,7 @@ fix-consistency. Do not edit or rename it.
**Workplan** is the fleet term — see **Workplan** is the fleet term — see
`the-custodian/canon/standards/workplan-terminology-fleet_v0.1.md`. `the-custodian/canon/standards/workplan-terminology-fleet_v0.1.md`.
**Workstream** is legacy only: some API routes (`/workstreams/`), params **Workplan** is legacy only: some API routes (`/workstreams/`), params
(`workstream_id`), MCP aliases (`create_workstream`), and the frontmatter field (`workstream_id`), MCP aliases (`create_workstream`), and the frontmatter field
above remain until `STATE-WP-0069` retires them via legacy-meter. Treat those above remain until `STATE-WP-0069` retires them via legacy-meter. Treat those
identifiers as workplan IDs. Prefer `GET /workplans/` and `workplan_id` in new identifiers as workplan IDs. Prefer `GET /workplans/` and `workplan_id` in new

View file

@ -53,7 +53,7 @@ domain-only routes into those factories.
3. **How do hubs evolve schema together?** Shared Alembic templates and a 3. **How do hubs evolve schema together?** Shared Alembic templates and a
documented core-schema migration adopters can extend. documented core-schema migration adopters can extend.
It should **not** answer dev-hub questions such as which workstream is blocked, It should **not** answer dev-hub questions such as which workplan is blocked,
which task needs human review, or how kaizen agents spawn maintenance work. Those which task needs human review, or how kaizen agents spawn maintenance work. Those
remain in `state-hub` and other host implementations. remain in `state-hub` and other host implementations.
@ -85,7 +85,7 @@ models where extended, and workflow callbacks.
| Concern | Owner | | Concern | Owner |
|---|---| |---|---|
| Running production hub deployment | `state-hub`, `ops-hub`, future hubs | | Running production hub deployment | `state-hub`, `ops-hub`, future hubs |
| Topics, workstreams, tasks, decisions, SBOM, token accounting | `state-hub` (dev-hub layer) | | Topics, workplans, tasks, decisions, SBOM, token accounting | `state-hub` (dev-hub layer) |
| Custodian canon, constitution, domain charters | `the-custodian` | | Custodian canon, constitution, domain charters | `the-custodian` |
| Event-triggered maintenance task creation | `activity-core` | | Event-triggered maintenance task creation | `activity-core` |
| General issue/task lifecycle outside Custodian workplans | `issue-core` | | General issue/task lifecycle outside Custodian workplans | `issue-core` |

View file

@ -5,7 +5,7 @@ Reusable FastAPI, SQLAlchemy, and MCP primitives for FOS hubs.
`hub-core` is being extracted from the standalone State Hub repository as part `hub-core` is being extracted from the standalone State Hub repository as part
of `CUST-WP-0025`. The initial package slice contains only the generic database of `CUST-WP-0025`. The initial package slice contains only the generic database
models and schemas that can move without importing dev-hub concepts such as models and schemas that can move without importing dev-hub concepts such as
topics, workstreams, tasks, decisions, SBOM, or token accounting. topics, workplans, tasks, decisions, SBOM, or token accounting.
Source boundary notes live in: Source boundary notes live in:

View file

@ -39,7 +39,7 @@ deployment, and add domain tables and workflows on top.
## Out of scope ## Out of scope
- Long-running hub service, Docker image, or production URL for hub-core itself - Long-running hub service, Docker image, or production URL for hub-core itself
- Dev-hub tables: topics, workstreams, tasks, decisions, dependencies, SBOM, - Dev-hub tables: topics, workplans, tasks, decisions, dependencies, SBOM,
token accounting, kaizen agents token accounting, kaizen agents
- State Hub dashboard UI, consistency sync scripts, and workplan file authority - State Hub dashboard UI, consistency sync scripts, and workplan file authority
- Custodian canon content and constitution maintenance - Custodian canon content and constitution maintenance
@ -125,7 +125,7 @@ hub-core/
| Repo | Boundary | | Repo | Boundary |
|---|---| |---|---|
| `state-hub` | Host dev-hub; imports hub-core factories; keeps workstream/task/decision logic | | `state-hub` | Host dev-hub; imports hub-core factories; keeps workplan/task/decision logic |
| `the-custodian` | Owns extraction boundary doc and CUST-WP-0025 workplan | | `the-custodian` | Owns extraction boundary doc and CUST-WP-0025 workplan |
| `reuse-surface` | Federation hub for capability indexes; not a runtime dependency of hub-core | | `reuse-surface` | Federation hub for capability indexes; not a runtime dependency of hub-core |
| `ops-hub` | Future consumer; operations-specific tables stay local | | `ops-hub` | Future consumer; operations-specific tables stay local |