forge_complete_phase
Close the current phase with a completion summary to advance to the next one. Provide required evidence for gates, QA, design, plan, or user confirmation to validate and persist state for resuming.
Instructions
Closes the CURRENT phase with a summary of what you did/decided, and advances to the next one. The summary is persisted (for resuming). Do not close a phase you have not actually done. Phases with a completionSchema (gates, qa, design, plan), phases needing user confirmation, and optional phases require structured evidence matching their contract — see the rejection message if it is missing or invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | Run id; optional when exactly one run is active. | |
| summary | Yes | What you did/decided in this phase (the artifact that closes it). | |
| evidence | No | Structured evidence closing this phase (required shape depends on the phase): gates needs {lintExit,buildExit,testExit} all 0; qa needs {passed:true,failures,adversarial:{attacksTried,...}}; design needs {brainstormDone,designBriefDone,qaPlanDone,qualityGuideDone} all true; plan needs {leaves:[{leafId,block,owns},...]}; a phase needing user input needs {userConfirmed:true}; skipping an optional phase needs {skipped:true,reason}. |