decision_check
Verify repository state against accepted decision records, surfacing violations, heuristic hits, and unchecked conditions. Use base or changed-only to isolate new findings, with exit codes indicating pass, fail, or unknown.
Instructions
The working tree against every accepted guard of accepted decision records: violations (VIOLATED, statically verified), possible (heuristic hits), reviews (governed code changed), triggers (revisit conditions hold), ok (with scope and limits), waived, unknown. changed_only=true (or base=REV) counts only new findings (exit 1). exit 3 (unknown): nothing violated but something was not checked - never ok. Refreshes a stale index first when a guard needs the graph. Never edits code or records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | A git revision (e.g. 'origin/main'): findings in files changed since it are new/touched, the rest pre-existing. | |
| refresh | No | Update a stale index first when a no_edge guard needs the graph. | |
| changed_only | No | The same against HEAD (the agent's own changes). |