All commands are offline and CPU-only unless explicitly documented otherwise. Exit codes are a stable contract:
| Code | Meaning |
|---|---|
| 0 | success |
| 1 | generic failure |
| 2 | usage error (bad flags/arguments) |
| 3 | specification validation error |
| 4 | integrity or bundle-verification failure |
| 6 | policy violation |
| 7 | budget exhausted |
| 8 | required execution backend unavailable |
| 9 | run not found |
| 10 | model adapter not configured |
Environment diagnosis: Python version, imports, runs-dir writability, free disk, container runtime (optional). Never touches the network.
Built-in task families with their documented difficulty parameters.
Citations, licenses, and upstream attribution. --json emits a stable
machine-readable shape. Upstream listings are ideas-only attribution; no
upstream code is redistributed by ProofBench.
Strictly validates a specification. Prints the experiment id and the spec hash (sha256 over the canonical spec JSON). Exits 3 with a field-naming error on any problem.
Executes the experiment. If the run directory already holds a checkpoint for the same spec hash, it resumes instead of restarting (idempotent initialization). Prints run id, certified outcome, primary statistics, and the certificate artifact hash on completion.
Resumes an interrupted or incomplete run from state.json. Accepts a run id
(resolved under the runs dir) or a run directory path.
JSON summary: phase, round, accepted params, lineage length, quarantine count, resource accounting, event counts by kind, and whether the event hash chain verifies.
Side-by-side certificate summary of two runs (outcome, mean improvement, CI, p-value, spec hashes, same-protocol flag).
Offline verification of an exported evidence bundle. Prints one PASS/FAIL line
per check; any failure exits 4 with details. See bundle.py for the exact
check list.
Human-readable markdown report (also written into exports).
Writes a self-contained bundle: MANIFEST.json (sha256 per file),
VERIFY.md, spec.json, events.jsonl, state.json, artifacts/.
Refuses to write into a non-empty directory.