signoff-cli

v4.8.0
io.github.ayuanxx-max/signoff-cli Checked 5 hours ago Published 19 days ago

Five 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.

ParameterTypeDescription
fullbooleanrun 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.

ParameterTypeDescription
fixbooleanapply 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`.

ParameterTypeDescription
rangestringexplicit git range, e.g. origin/main..HEAD
sinceInstallbooleanaudit 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`.

ParameterTypeDescription
daysnumberlook back N days (default 120)
gatestringlimit the board to one check
taskstringlimit to one task group key, e.g. report
wouldBlockbooleanread-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.

ParameterTypeDescription
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.

ParameterTypeDescription
actionstring
bystringreviewer id, required for record
limitnumber
modelstring
notestring
verdictstring

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.

ParameterTypeDescription
budgetnumber
claimstring
expectstring
repeatnumber
replaystringreplay an evidence json instead of running a new dispute
runarraythe 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.

ParameterTypeDescription
minnumberoccurrences before something counts as a pattern (default 2)
sincenumberlook back N days
topnumber

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.

ParameterTypeDescription
patch *stringpath to a unified diff
runarray
scopearray