state-hub/docs/workplan-convention.md

60 lines
1.7 KiB
Markdown
Raw Normal View History

2026-05-17 19:10:34 +02:00
# State Hub Workplan Convention
2026-05-17 18:54:57 +02:00
New workplans in this repository use:
```text
STATE-WP-0001-short-title.md
2026-05-17 18:54:57 +02:00
```
Workplan frontmatter should include:
```yaml
id: STATE-WP-0001
2026-05-17 18:54:57 +02:00
type: workplan
title: "Short Title"
domain: custodian
repo: state-hub
2026-05-18 01:31:36 +02:00
status: proposed
2026-05-17 18:54:57 +02:00
owner: custodian
topic_slug: custodian
```
During extraction, legacy `CUST-WP-*` plans may be bridged or migrated with
their existing `state_hub_workstream_id` values. Write files first, then run
State Hub consistency sync after this repo is registered.
2026-05-18 01:31:36 +02:00
When a workplan is `blocked`, record the unblock condition in frontmatter:
```yaml
status: blocked
blocked_on: message-from:llm-connect
```
`blocked_on` uses the `message-from:<agent>` form so fix-consistency can
cross-check unread inbox messages from that counterpart and warn when the
blocker may have cleared.
2026-05-18 01:31:36 +02:00
Canonical workplan/workstream statuses are:
```text
proposed, ready, active, blocked, backlog, finished, archived
```
Use `proposed` for a new plan that still needs review, `ready` after it has
been checked against the current repo state, and `finished` when implementation
is complete. `stalled` and `needs_review` are derived health labels, not stored
frontmatter statuses.
### Residuals when finishing
If work remains after a plan is complete, **do not** leave it only as prose or
in `SCOPE.md`. Before `status: finished`, hand off each actionable residual as
a live work record:
- parkable Green/Blue → **intake** with `origin: residual`, `origin_ref: <WP-id>`
- multi-step → **new workplan** (optional promote from residual intake)
- founder gate/time → **decision** / **engagement**
Canon: `the-custodian/canon/standards/work-record-types_v0.1.md` § Residuals.
Hub index/list: State Hub (not domain-local residual files).