ddflow_gate
Manage quality gates for a work item: check status, list, run, record, verify, or skip gates, and run CI or tests. Use it to track gate outcomes and required evidence.
Instructions
Quality gates of a work item. Set action; required arguments in brackets: status(id), list, run(id,gate), record(id,gate,outcome), verify(id,gate), skip(id,gate,reason), ci, tests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Item whose worktree to mutate in. | |
| op | No | ci: run | status (default). | |
| ref | No | Commit to check (run). | |
| base | No | Compare against this ref instead of the item's base. | |
| full | No | Whole suite (run). | |
| gate | No | Gate id. Must be a command gate. | |
| item | No | The item whose worktree and base to use. | |
| model | No | REVIEWER's model, e.g. 'gemini-2.5-pro'. | |
| since | No | With refuted: since this ISO date. | |
| action | Yes | What to do; see the tool description for each action's arguments. | |
| reason | No | Why this step does not apply HERE. 'n/a' is not a reason: the next person reads this to decide whether you were right. | |
| command | No | The command you ran. With `exit_code` it makes an outcome evidence; a gate in `gates.evidence_required` is rejected without them. | |
| outcome | No | passed | failed | unavailable | partial | skipped | |
| refuted | No | List the gates passed on refutation instead. | |
| timeout | No | run: seconds this run may take (at most [gates].max_run_timeout_s). | |
| approval | No | An operator approval id (Q...) for this exact override; a refusal names it. | |
| as_agent | No | Subagent name, this call only. | |
| evidence | No | What you ran and what it said. Required by some gates. | |
| exit_code | No | That command's exit code. | |
| output_file | No | Path to its full output; a digest is recorded. | |
| reviewed_sha | No | Commit reviewed (roborev review <sha>); must be the branch. | |
| reviewer_model | No | Like `model`; says it IS the reviewer. |