Skip to content

docs: enforce spec-first beads/OpenSpec workflow#4

Open
richards-bot wants to merge 2 commits into
richpryce:mainfrom
richards-bot:fix/spec-first-bd-openspec-workflow
Open

docs: enforce spec-first beads/OpenSpec workflow#4
richards-bot wants to merge 2 commits into
richpryce:mainfrom
richards-bot:fix/spec-first-bd-openspec-workflow

Conversation

@richards-bot

Copy link
Copy Markdown
Contributor

Why\nThe template currently talks as if beads and OpenSpec are part of the operating model, but its command/docs flow still lets agents work from root docs alone and treat OpenSpec as optional placeholder scaffolding.\n\n## What this changes\n- makes OpenSpec artifacts the required source of truth for non-trivial work\n- updates /brain-dump to create real OpenSpec artifacts first\n- makes /plan and /start-bead stop when no real OpenSpec artifact exists\n- strengthens /status and /complete-bead around spec linkage and canonical beads checks\n- clarifies setup verification and spec-first workflow in README / GETTING-STARTED\n\n## Notes\n- intentionally does not commit a .beads directory into the template\n- keeps setup.sh clean-project behavior intact\n

- brain-dump: make OpenSpec artifacts the mandatory primary output;
  docs/SPEC.md demoted to human-readable summary; add clarifying
  questions step before populating docs

- start-bead: add step 3 gate — STOP if no OpenSpec artifact exists
  for non-trivial work; only trivial changes may bypass (must state why)

- plan: hard STOP if neither openspec/changes/ nor openspec/specs/
  exist; forbid planning from docs/SPEC.md alone

- status: list openspec/ artifacts in output; warn if active bead is
  missing Spec source: linkage in notes

- complete-bead: verify spec linkage before closing; add git push to
  the success path; never close when tests fail

- GETTING-STARTED: add clean beads state verification after setup;
  explicit spec-first section (spec -> beads -> code order); document
  what brain-dump creates and in what order

- README: clarify brain-dump creates OpenSpec artifacts as primary
  output; add post-setup beads verification; fix manual setup to also
  remove .beads.bak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant