Skip to content

feat(openprd): revise standard to DIP-style numbered proposals (0.2)#96

Merged
ralyodio merged 1 commit into
masterfrom
feat/openprd-dip-style
Jul 12, 2026
Merged

feat(openprd): revise standard to DIP-style numbered proposals (0.2)#96
ralyodio merged 1 commit into
masterfrom
feat/openprd-dip-style

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Reshapes OpenPRD from a private single-file doc into a published, numbered proposal collection — the BIP/EIP/DIP model — so tools like moshcode's /prd can publish PRDs into whatever repo you're working in.

Changes

  • docs/openprd.md — rewritten: prd/NNNN-slug.md layout, 0000-template.md, README index, four-digit numbering, lifecycle (Draft → Review → Accepted → Final; Rejected/Withdrawn/Superseded), conformance.
  • docs/openprd/0000-template.md — canonical template.
  • packages/schemas/schemas/openprd-prd.schema.json — front-matter now: 4-digit id, status enum, authors, discussion/implementation, supersedes/superseded-by.
  • fixture bumped to 0.2; validators green.

Note

Supersedes the 0.1 shape from #95 (private, gitignored, single-file). PRDs are now committed to the repo, like dips/.

🤖 Generated with Claude Code

Reshape OpenPRD from a private single-file (prd/<slug>/prd.md, gitignored) into a
published, numbered proposal collection like BIP/EIP/DIP: prd/NNNN-slug.md +
0000-template.md + a README index, committed to the repo, with a lifecycle
(Draft → Review → Accepted → Final; Rejected/Withdrawn/Superseded).

Tools (e.g. moshcode /prd) consume this to publish PRDs into whatever repo the
user is working in.

- docs/openprd.md — rewritten: numbering, lifecycle, directory layout, conformance.
- docs/openprd/0000-template.md — the canonical template.
- packages/schemas/schemas/openprd-prd.schema.json — 4-digit id, status enum,
  authors, discussion/implementation, supersedes/superseded-by.
- fixture updated to 0.2.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@ralyodio ralyodio merged commit 756c3f6 into master Jul 12, 2026
5 checks passed
@ralyodio ralyodio deleted the feat/openprd-dip-style branch July 12, 2026 15:55
ralyodio added a commit that referenced this pull request Jul 12, 2026
Follow-up to #96. The template and tool-generated PRDs (moshcode /prd) ship
optional keys blank; YAML reads them as null. Accept null on owner/repo/created/
updated/discussion/implementation/tags/supersedes/superseded-by/authors so
template-derived files validate against the schema.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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