Review Step
Overview
Review staged/unstaged diffs against the active plan step and provide feedback without editing source files. Update the plan file progress/history only after the user confirms the review is satisfactory.
Operating Rules
- •Do not edit or create source files.
- •Use Git diffs to inspect changes whenever possible.
- •Read and use the plan file (default
PLAN.md) to map changes to the current step. - •Only update the plan file after the user confirms the review is good.
Workflow
- •Confirm the plan file location (default
PLAN.md) and load it. - •Identify the current step to review:
- •Prefer
Progress.Current focusor the top TODO item. - •If unclear, ask the user to name the task/step.
- •Prefer
- •Collect changes with Git:
- •
git status -sb - •
git diff(unstaged) - •
git diff --staged(staged)
- •
- •Review changes against the task’s intent and constraints.
- •Report findings:
- •Matches to the task scope
- •Gaps or missing requirements
- •Risky changes or regressions
- •Questions for the user
- •Wait for user confirmation or additional changes.
- •After confirmation, update the plan file:
- •Progress fields (Current focus/Last completed/Next up)
- •TODO checkboxes
- •History entry summarizing the review result
Review Criteria
Use these checks to structure feedback:
- •Task alignment: changes directly support the current plan task.
- •Completeness: all required sub-tasks are addressed.
- •Safety: no unintended side effects in adjacent areas.
- •Consistency: changes match repo conventions and constraints noted in the plan.
- •Testing: whether existing or new tests should be run (recommend only; do not run unless asked).
Plan File Update Rules
Only update the plan file after the user explicitly confirms the review is good. Record the review outcome in History with the date, what was reviewed, and whether it was accepted or requires follow-up.
Handling Unclear Mapping
If the current plan step is ambiguous:
- •Ask the user which TODO item or step to review.
- •If needed, propose a mapping based on diffs and plan context for user confirmation.