mirror of
https://github.com/bmad-code-org/BMAD-METHOD.git
synced 2026-09-19 08:11:52 +08:00
94b6727b00
Replace the regex token substitution and the line-parsed bmad-if directives in render_skill.py with Jinja2. Templates see config, workflow, and snapshot(); undefined names, empty entry files, and links to omitted sources halt; every value a render reaches and the Jinja2 version key the generation. Migrate the five rendered skills' sources to the new forms, keep their shipped output byte-identical, and update the validator rule and the authoring docs.
1.4 KiB
1.4 KiB
Step 5: Wrap-Up
Display: Orientation → Walkthrough → Detail Pass → Testing → [Wrap-Up]
PROMPT FOR DECISION
---
Review complete. What's the call on this {change_type}?
- **Approve** — ship it (I can help with interactive patching first if needed)
- **Rework** — back to the drawing board (revert, revise the spec, try a different approach)
- **Discuss** — something's still on your mind
HALT — do not proceed until the user makes their choice.
ACT ON DECISION
- Approve: Acknowledge briefly. If the human wants to patch something before shipping, help apply the fix interactively. If reviewing a PR, offer to approve via
gh pr review --approve— but confirm with the human before executing, since this is a visible action on a shared resource. - Rework: Ask what went wrong — was it the approach, the spec, or the implementation? Help the human decide on next steps (revert commit, open an issue, revise the spec, etc.). Help draft specific, actionable feedback tied to
path:linelocations if the change is a PR from someone else. - Discuss: Open conversation — answer questions, explore concerns, dig into any aspect. After discussion, return to the decision prompt above.
On Complete
If anything appears below, follow it as the final terminal instruction before exiting; otherwise exit normally.
{{ workflow.on_complete }}