ddflow_gate_record
Record gate outcomes with evidence (command, exit code, output) and reason for non-pass; use 'unavailable' when a reviewer or tool couldn't run to prevent silent review loss; include the model.
Instructions
Record the outcome of a gate you performed (research, a review, a bug hunt). outcome is one of passed/failed/unavailable/partial/skipped. IMPORTANT: if a reviewer or tool could not run, record 'unavailable' with a reason — recording it as 'passed' is how an entire review silently vanishes. Pass the reviewer's model so family independence can be checked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item id. | |
| gate | Yes | Gate id. | |
| model | No | Model that performed it, e.g. 'gemini-2.5-pro'. | |
| reason | No | Required for failed/unavailable/partial/skipped. | |
| command | No | The command you actually ran. This and `exit_code` are what make an outcome evidence rather than an assertion; a gate listed in `gates.evidence_required` is rejected without them. | |
| outcome | Yes | passed | failed | unavailable | partial | skipped | |
| 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, so the claim can be checked against the file later rather than taken on trust. |