Plan Next Step
Execute exactly one ready increment from an execution plan.
Target plan: $ARGUMENTS
If no plan path is supplied, find the most relevant active/recent <!-- cwt-plan:v1 --> plan in the configured plans directory or .claude/plans/.
Selection
- Select the first
pendingincrement whose dependencies arecompleted. - If none is ready, report why and stop.
- Change its status to
in_progressbefore implementation.
Execution contract
Treat the selected increment as the primary execution packet.
- Read the plan's Request contract, Change map, selected increment, and only dependency facts needed for it. Do not re-plan the full feature.
- Read the listed files/symbols first.
- Search outside the listed files only when the plan is stale, a referenced symbol moved, compilation/tests expose another required change, or correctness cannot otherwise be established.
- Preserve stated DECISION/CONSTRAINT items unless current source makes them impossible. If so, stop and explain rather than silently redesigning the feature.
- Do not implement later increments opportunistically.
- Run the increment's validation. Add a narrowly necessary validation step only when the listed checks are insufficient to establish correctness.
- If successful, set status to
completedand add a terseExecution note:only for information future increments actually need. - If blocked, set status to
blockedand add a concise blocker. Do not mark complete.
Do not commit or push unless the plan explicitly requires it or the user separately instructed it.
Finish with: increment executed, files actually changed, validation result, and next ready increment if one exists.