complete_phase
Mark a project phase complete, advance to the next, and permanently record key decisions. Supports backdating historical phases with optional git commit reference.
Instructions
Mark the current phase as complete and advance to the next upcoming phase. Records key_decisions permanently. Requires phase_number to match current phase (safety check). v2.1.2 Item 10: pass backfill=True + completed_at='YYYY-MM-DD' to retroactively mark a historical phase done without advancing the queue. v2.1.2 Item 12: pass git_ref to link a commit sha or PR ref to the completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| git_ref | No | v2.1.2: optional commit sha / PR ref the phase shipped at | |
| backfill | No | v2.1.2: allow marking any phase done without advancing the queue | |
| completed_at | No | v2.1.2: ISO date for backfill (defaults to today) | |
| phase_number | Yes | Must match current phase (unless backfill=True) | |
| key_decisions | Yes | Decisions made — preserved for all future agents |