Skip to content

fix(openprd): allow null on optional front-matter keys#97

Merged
ralyodio merged 1 commit into
masterfrom
fix/openprd-null-optionals
Jul 12, 2026
Merged

fix(openprd): allow null on optional front-matter keys#97
ralyodio merged 1 commit into
masterfrom
fix/openprd-null-optionals

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Follow-up to #96. The OpenPRD template (and moshcode-generated PRDs) ship optional front-matter keys blank, which YAML parses as null. The strict schema rejected them (repo must be string, tags must be array, …). This accepts null on all optional keys so template-derived and tool-generated PRDs validate.

Verified: the fixture, a moshcode /prd-generated PRD, and 0000-template.md all validate.

🤖 Generated with Claude Code

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 <[email protected]>
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@ralyodio ralyodio merged commit 257d581 into master Jul 12, 2026
5 checks passed
@ralyodio ralyodio deleted the fix/openprd-null-optionals branch July 12, 2026 16:03
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