ddflow_complete
Finish a work item only when required gates pass, open tasks are closed, and a reviewer from a different model family approves; pass the author's model to enforce checks.
Instructions
Finish an item. Refuses (exit 3) when a required gate has not passed, a phase has open tasks, or no reviewer came from a different model family than the author. Pass your own 'model'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item id. | |
| sha | No | Commit sha this shipped as. | |
| force | No | Complete over unmet conditions, each recorded as overridden forever. Prefer `ddflow_gate_skip` with a reason. | |
| model | No | The AUTHOR's model. | |
| approval | No | An agent's way past unmet conditions: 'request' asks the operator, then the approval id they answered. | |
| as_agent | No | Subagent name, this call only. | |
| mutation | No | Test-only fix: JSON {"file","old","new"} disabling it; the test must FAIL. | |
| changelog | No | Optional 'Added|Changed|Deprecated|Removed|Fixed|Security: text', or skip. | |
| regression_test | No | Fix task: the test guarding its bug(s); closes them. |