ci(prd): add prd-new placeholder convention and numbering workflow #214

Merged
didericis merged 1 commits from ci/prd-numbering-workflow into main 2026-06-06 22:08:20 -04:00
Collaborator

Closes #213.

Summary

  • PRDs now use prd-new-<slug>.md as a placeholder filename while the PR is in review
  • A new prd-number workflow runs on merge to main, detects prd-new-*.md files, assigns the next sequential number, renames the file, updates the title header, and conditionally flips Status: Draft → Active when non-PRD files were also changed in the same merge commit
  • A new prd-check workflow runs as a required PR status check and fails any PR to main that directly adds prd-new-*.md files (enforcing that they always go through the numbering workflow)
  • Updates docs/prds/README.md and AGENTS.md to document the new convention
Closes #213. ## Summary - PRDs now use `prd-new-<slug>.md` as a placeholder filename while the PR is in review - A new `prd-number` workflow runs on merge to `main`, detects `prd-new-*.md` files, assigns the next sequential number, renames the file, updates the title header, and conditionally flips `Status: Draft → Active` when non-PRD files were also changed in the same merge commit - A new `prd-check` workflow runs as a required PR status check and fails any PR to `main` that directly adds `prd-new-*.md` files (enforcing that they always go through the numbering workflow) - Updates `docs/prds/README.md` and `AGENTS.md` to document the new convention
didericis-claude added 1 commit 2026-06-06 22:02:35 -04:00
Implements #213: PRDs use prd-new-<slug>.md while a PR is open; a
post-merge workflow on main assigns sequential numbers and renames the
file. A required PR check blocks prd-new-*.md from landing on main
without going through the workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
didericis approved these changes 2026-06-06 22:08:11 -04:00
didericis merged commit 965d5073c3 into main 2026-06-06 22:08:20 -04:00
didericis deleted branch ci/prd-numbering-workflow 2026-06-06 22:08:20 -04:00
Sign in to join this conversation.