signoff-cli
v4.8.0Five gates that make an agent's 'done' provable: run them, read the verdict, audit the record.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
signoff_run
Run the five SignOff gates in the current repo (P1 tests, P2 coverage, P3 queue, P4 ledger, P5 anti-slop). Returns exit code, stdout and stderr; exit 0 means pass.
| Parameter | Type | Description |
|---|---|---|
full | boolean | run the pre-push scope (all stages) instead of the staged scope |
signoff_status
Report whether the repo is guarded: installed hooks, config path, last run, install point.
signoff_doctor
Read-only diagnosis of why the gates are not doing what the user expects; with fix=true it repairs what can be proved.
| Parameter | Type | Description |
|---|---|---|
fix | boolean | apply the provable repairs, then re-check |
signoff_audit
Check whether the commits that landed carry a SignOff trailer; sinceInstall limits the window to after `signoff init`.
| Parameter | Type | Description |
|---|---|---|
range | string | explicit git range, e.g. origin/main..HEAD |
sinceInstall | boolean | audit from the recorded install point |
signoff_report
Read-only board about this repo: verdict (can I ship), blockers with fixes, the seven checks, guard health, task groups, run trend. Same JSON as `signoff report --json`.
| Parameter | Type | Description |
|---|---|---|
days | number | look back N days (default 120) |
gate | string | limit the board to one check |
task | string | limit to one task group key, e.g. report |
wouldBlock | boolean | read-only preview: what would block a commit right now |
signoff_explain
Explain what one gate checks and how it decides: p1, p2, p3, p4 or p5.
| Parameter | Type | Description |
|---|---|---|
gate * | string |
signoff_review
Attest that a diff was reviewed (action=record, needs by), or verify that the diff being shipped is the one that was approved (action=verify, default). Proves binding, not that a human read the code.
| Parameter | Type | Description |
|---|---|---|
action | string | |
by | string | reviewer id, required for record |
limit | number | |
model | string | |
note | string | |
verdict | string |
signoff_dispute
Settle a pass/fail dispute by running the same reproducer N times: supported (exit 0), refuted (1), unresolved (3). A command that cannot run writes no evidence and exits 2.
| Parameter | Type | Description |
|---|---|---|
budget | number | |
claim | string | |
expect | string | |
repeat | number | |
replay | string | replay an evidence json instead of running a new dispute |
run | array | the reproducer command(s), in order |
signoff_patterns
Group repeated gate failures from .signoff/runs.log into patterns, so a failure that keeps coming back is visible instead of being 'fixed' the same way again.
| Parameter | Type | Description |
|---|---|---|
min | number | occurrences before something counts as a pattern (default 2) |
since | number | look back N days |
top | number |
signoff_fix
Preview the bounded repair loop without applying anything: is the baseline red, is the patch inside scope, does it touch a verdict path. Over MCP the patch is never applied.
| Parameter | Type | Description |
|---|---|---|
patch * | string | path to a unified diff |
run | array | |
scope | array |