src/bmm-skills/4-implementation/bmad-quick-dev/step-04-review.md
{communication_language}Change {spec_file} status to in-review in the frontmatter before continuing.
Read {baseline_commit} from {spec_file} frontmatter. If {baseline_commit} is missing or NO_VCS, use best effort to determine what changed. Otherwise, construct {diff_output} covering all changes — tracked and untracked — since {baseline_commit}.
Do NOT git add anything — this is read-only inspection.
Launch Blind Hunter and Edge Case Hunter in parallel without prior conversation context. If no subagents are available, generate two review prompt files in {implementation_artifacts} — one per reviewer role below — and HALT. Ask the human to run each in a separate session (ideally a different LLM) and paste back the findings.
Invoke the
bmad-review-adversarial-generalskill on this diff:{diff_output}
Invoke the
bmad-review-edge-case-hunterskill on this diff:{diff_output}
low: none or cosmeticmedium: tolerablehigh: intolerable{spec_file} frontmatter review_loop_iteration (missing means 0), increment it by 1, and write it back. If it exceeds 5, HALT and escalate to the human.
<frozen-after-approval>. Revert code changes. Loop back to the human to resolve. Once resolved, read fully and follow ./step-02-plan.md to re-run steps 2–4.<frozen-after-approval>. Before reverting code: extract KEEP instructions for positive preservation (what worked well and must survive re-derivation). Revert code changes. Read the ## Spec Change Log in {spec_file} and strictly respect all logged constraints when amending the non-frozen sections that contain the root cause. Append a new change-log entry recording: the triggering finding, what was amended, the known-bad state avoided, and the KEEP instructions. Read fully and follow ./step-03-implement.md to re-derive the code, then this step will run again.{deferred_work_file} using this format. Do not modify existing entries or look for duplicates.
- source_spec: `{spec_file}`
summary: <one sentence>
evidence: <why this is real>
Read fully and follow ./step-05-present.md