Files
user-engine/.claude/rules/workplan-convention.md
tegwick 9c6ad74f6b Normalize agent instructions and workplan frontmatter (STATE-WP-0067)
- Align agent files with on-disk workplan prefixes (infer from workplan ids)
- Set workplan domain to registered domain_slug; add topic_slug where applicable
- Repair frontmatter delimiter formatting; migrate legacy task status literals
- Regenerate AGENTS.md, CLAUDE.md, and .claude/rules from State Hub templates
2026-06-22 23:16:28 +02:00

1.7 KiB

Workplan Convention (ADR-001)

File location: workplans/USER-WP-NNNN-<slug>.md ID prefix: USER-WP-

Work items originate as files in this repo before being registered in the hub.

Canonical workplan/workstream frontmatter statuses are: proposed, ready, active, blocked, backlog, finished, archived. Use proposed for a newly drafted plan, ready after review against current repo state, and finished when implementation is complete. stalled and needs_review are derived health labels, not stored statuses.

Closed workplans may be moved to workplans/archived/ with a completion-date prefix: YYMMDD-USER-WP-NNNN-<slug>.md. The frontmatter id remains unchanged; the prefix is only for quick visual reference.

Small opportunistic tasks discovered during another session use Ad Hoc Tasks: workplans/ADHOC-YYYY-MM-DD.md, workstream slug adhoc-YYYY-MM-DD, and task ids ADHOC-YYYY-MM-DD-T01, T02, etc. Use adhocs only for low-risk work completed directly. Promote anything requiring analysis, design, approval, dependencies, or multiple planned phases into a normal workplan.

Ecosystem todos from other agents arrive as [repo:user-engine] hub tasks — visible at session start. Pick one up by creating the workplan file, then registering the workstream.

Task blocks use this shape:

id: USER-WP-NNNN-T01
status: wait | todo | progress | done | cancel
priority: high | medium | low
state_hub_task_id: "<uuid>"         # written by fix-consistency — do not edit

Status progression is todoprogressdone; use wait for waiting or blocked work and cancel for stopped work.