Publishing
Promote a draft to review and open a PR to nepwalk-docs.
Command
management: publish <file>
Example:
management: publish docs/management/mvp/v1/PRD_v1.md
What it does
- Verify the file exists and has
status: draftin its frontmatter. - Flip frontmatter to
status: review. - Commit to the current branch in
nepwalk-management(if the doc lives there) or innepwalk-docs(the usual case — management writes directly into the docs repo). - Push the branch.
- Open a PR against
mainofnepwalk-docswith: - Title:
[management] <doc name> v<N> — review - Body: short summary + link to the upstream idea/PRD it derives from.
- Notify the reviewers listed in
dept.yaml(if configured).
Pre-publish checklist
- All template sections filled with real content (no
TBD, no placeholders). - Upstream docs are at least
review(else the doc is built on a moving target). PROJECT_STATE.mdreflects the current state (state:to regenerate).- No conflicting open PR for the same doc.
After merge
The PR merge changes the doc to status: approved. Downstream prefixes (srs: after prd:, tasks: after srs:) can now run cleanly.