Reference
CLI reference
Every command Oloproof registers, with what it does. Each one takes --help, which prints the full text these summaries come from.
This page is generated from the CLI by scripts/generate_cli_reference.py. Editing it by hand is pointless: the next run overwrites it, and make check fails while the committed copy is stale.
Commands
| Command | What it does |
|---|---|
| oloproof assurance check | Check the case against the policy and the register, and read each goal's evidence. |
| oloproof audit | Every act a person took in this project, and what each one proves. |
| oloproof check | Check a project before its first run: does it import, answer and get measured? |
| oloproof collect | Receive OpenTelemetry traces, and serve case content to reviewers, here. |
| oloproof compare | Report the paired counts, differences and decisions of two stored runs. |
| oloproof control | A monitor's safety against its honest flag rate over every threshold, with bands that hold at all thresholds at once. With --budget and --min-safety it decides. |
| oloproof credentials list | The names this workspace holds. Never the values. |
| oloproof credentials set | Store a provider key for this workspace, read from the environment or standard input. |
| oloproof data baseline | Pin a record as its suite's baseline; later checks are compared with it. |
| oloproof data check | Count the cases breaking each declared check, record it and compare it with the baseline; exit 1 on a failing check, 4 on one not yet decided. |
| oloproof data list | Every recorded check, oldest first, with its issues and their case ids. |
| oloproof data show | One record: each check's count, rate, state and offending case ids. |
| oloproof diagnose | Re-execute a run's failed cases with gold context, under an intervention. |
| oloproof doctor | Report the Python, platform and provider environment this machine offers. |
| oloproof eval | Check a file of answers you already have, and say what it shows. |
| oloproof evaluators calibrate | Measure a probability judge's stated probabilities against people, and fit a correction. |
| oloproof evaluators list | List every stored evaluator version with the status a decision would read. |
| oloproof evaluators probe | Probe a judge without labels: how often its verdict moves when nothing that matters did. |
| oloproof evaluators retire | Withdraw trust in an evaluator version. Terminal: record a new version to replace it. |
| oloproof evaluators try | Measure a draft evaluator against the labels already recorded, and validate nothing. |
| oloproof evaluators validate | Measure the evaluator against stored human labels and validate it on that evidence. |
| oloproof evidence graph | Write the typed evidence graph, with dangling edges, stale runs and contradictions. |
| oloproof experiment | Decide an online A/B test from its assignment and outcome logs: a sample ratio check, then treatment minus control. Exit 0 on PASS, 1 FAIL, 3 INSUFFICIENT_EVIDENCE, 4 MANUAL_REVIEW. |
| oloproof export | Write a portable bundle for a run, a comparison or an evaluator version. |
| oloproof factorial | Decide the effects a policy's factorial: block declares, from one run per cell of a factorial on one suite, every effect on its family's Bonferroni bounds. Exit 0, 1, 3, or 4. |
| oloproof fairness | Decide group parity from a file of decided cases: the largest gap in a rate between groups, calibration by group and crossed groups. Exit 0 on PASS, 1 FAIL, 3 INSUFFICIENT_EVIDENCE, 4 MANUAL_REVIEW. |
| oloproof gate | Decide the release against the policy, and exit on the decision. |
| oloproof generate attacks | Write adversarial test cases from the template library, seeded and deterministic. |
| oloproof generate cases | Write test cases with a model, from a description and optionally documents. |
| oloproof governance ai-register | Read the Government of Canada AI Register and match its entries to registered systems. |
| oloproof governance azureml | Read an Azure ML model registry (AZURE_ACCESS_TOKEN) and match its models to systems. |
| oloproof governance catalogue-decide | Approve or reject a proposed catalogue version. |
| oloproof governance catalogue-propose | Propose a catalogue version for approval by a second person. |
| oloproof governance catalogue-status | Whether each catalogue in use is approved at its current version, and its sources' state. |
| oloproof governance check | Every requirement of every registered system: met, partially met, not met, n/a or unable. |
| oloproof governance crosswalk | Accept a crosswalk row's rule as evidence for one requirement of one system. |
| oloproof governance draft | A model's draft finding for an assisted entry, logged for review; never a finding. |
| oloproof governance export | The last sealed record as OSCAL, or as a register or technical-file draft. |
| oloproof governance export-tickets | Open corrective actions as Jira issues or ServiceNow records; the key goes in the log. |
| oloproof governance mlflow | Read an MLflow model registry (MLFLOW_TRACKING_URI) and match its models to systems. |
| oloproof governance report | The last sealed record as an HTML report with a portfolio page; print it to PDF. |
| oloproof governance review | A reviewer's action on a finding, appended to the hash-chained log. |
| oloproof governance sagemaker | Read a SageMaker Model Registry (AWS credentials) and match its groups to systems. |
| oloproof governance sources | Fetch each catalogue's official sources and say which changed since the last reading. |
| oloproof governance ticket | Open or close a corrective action on a requirement (DADM 6.3.4). |
| oloproof governance verify | Check a findings record's digest and its signature; exit 3 when either fails. |
| oloproof hazards check | Check the register against the policy, and read each hazard's rules at the latest runs. |
| oloproof human-ai check | Check the decisions file and say what it can answer; exit 2 if it cannot be read. |
| oloproof human-ai gate | Decide each rule of the policy; exit 0 PASS, 1 FAIL, 3 insufficient, 4 manual review. |
| oloproof human-ai report | The accuracy difference, the reliance rates and time to decision; decides nothing. |
| oloproof init | Scaffold a project: an example system, oloproof.yaml and release.yaml. --system module:function writes it around your own function instead; --example NAME copies a tutorial's example project; --example list names them. |
| oloproof inspect | Read a stored run, case, comparison or diagnosis. |
| oloproof job | What became of a managed job, exiting on the gate of the run it produced. |
| oloproof keys adopt | Key this project's withheld categories from now on; every content id changes. |
| oloproof keys export | Write the key for a teammate or a CI secret (OLOPROOF_EXPORT_KEY). |
| oloproof keys import | Hold the project's key here, checked against the fingerprint oloproof.yaml names. |
| oloproof keys show | Print the key's fingerprint, where it is held and what it keys. Never the key. |
| oloproof labels disagreements | Where the judge and people part on labelled cases, grouped by a tag; reported only. |
| oloproof labels export | Write cases to a CSV for people to label: a blind random sample, or cases to review. |
| oloproof labels import | Record every filled-in row of a labelling file as a label, or none of them. |
| oloproof leakage check | Find suite cases that appear in the training data, by exact match; exit 3 if any do. |
| oloproof login | Connect this terminal to a workspace, by approving it in a browser. |
| oloproof mcp | Serve this project to a coding agent over MCP (stdio): read and run, never label or push. |
| oloproof monitor drift | Whether a monitor's judged pass rate dropped below a declared baseline, hour by hour. |
| oloproof monitor status | Each traffic monitor's current window: PASS, FAIL, INSUFFICIENT_EVIDENCE or MANUAL_REVIEW. |
| oloproof notify | Post a run's gate to Slack, PagerDuty or a webhook, read from an environment variable; exits with the gate's code. |
| oloproof passk | pass@k from several attempts per case, with an interval over the suite. Exit 0 on PASS or no bar, 1 FAIL, 3 INSUFFICIENT_EVIDENCE, 4 MANUAL_REVIEW. |
| oloproof plan | What it would take to decide what this run or comparison could not. |
| oloproof prefer | Which of two runs answered better, by a pairwise judge asked in both orders. |
| oloproof proofs import | Keep another solver's result: its property, model digest, solver, outcome and scope. |
| oloproof proofs list | The formal results the project holds. |
| oloproof proofs run | Run z3 on the file and keep its answer: unsat is PROVED, sat is DISPROVED. |
| oloproof push | Send a run's evidence to the workspace. |
| oloproof record export | Write a signed run's decision, evidence digests and limits for a second party to check. |
| oloproof record verify | Check a decision record offline: signatures, digests, and the decision recomputed. |
| oloproof redteam | Attack your sandboxed system round by round: generated attacks, then an attacker model's harder variants of those it resisted; counts per OWASP category. |
| oloproof report | Write a run or a comparison as one offline HTML file, or figures and methods. |
| oloproof review | Label cases one at a time in the terminal, storing each verdict as it is given. |
| oloproof review-rule route | Route a run's items under the review rule the workspace holds in force, ALLOW or BLOCK; an edited or superseded record exits 5. |
| oloproof run | Execute every case against the system and store the evidence. |
| oloproof runner keygen | Make a runner's Ed25519 key pair; print the public key to register with the workspace. |
| oloproof runs | List this project's runs, newest first, each with its answer in words. |
| oloproof scores import | Read another tool's per-case results as runs, and compare two of them. |
| oloproof scores judge | Can you trust the judge? Read its agreement with people's labels against your bar. |
| oloproof seeds | Decide a training recipe over seeds: k checkpoint runs on one suite, the recipe's expected pass rate for one criterion. Exit 0 on PASS, 1 FAIL, 3 INSUFFICIENT_EVIDENCE, 4 MANUAL_REVIEW. |
| oloproof select | Choose among candidate runs: each decided under the policy at 1 - alpha/k, the objective ranked only among those that pass every rule. Exit 3 when no candidate qualifies. |
| oloproof signoff | Record shipping against a blocked gate, with two approvers and a written reason. |
| oloproof simulated-users | Report a simulated user's realism and the shape of its conversations beside real ones. |
| oloproof sweep | Decide the contrasts a sweep file names among its conditions' runs, every claim at 1 - alpha/m so that all hold together. Exit 0, 1, 3, or 4 for a person. |
| oloproof traces evaluate | Evaluate a traffic sample the workspace drew, on the outputs production recorded. |
| oloproof traces list | The newest traces in this project's store. |
| oloproof traces promote | Add a trace to a dataset as a test case, with where it came from. |
| oloproof traces show | One trace, with its input, output, spans and artifacts, as JSON. |
| oloproof trend | Show one suite's runs across system versions, oldest first: each run's stored estimate, interval and judge check, with evaluator changes said in words. Report only: it decides nothing and names the compare command that would. |
| oloproof ui | Open this project's runs in the local workbench, in Docker: no account, no network. |
| oloproof usage | What this project consumed, measured from its own evidence. |
In `oloproof --help`
oloproof --help groups every command into panels, in the order of a first hour, and hides none. A group's subcommands are listed under its name.
- Start here: init, run, inspect, gate, runs
- Compare: compare, trend, select, seeds, experiment, passk, sweep, factorial, control, scores, eval, prefer, plan, diagnose
- Judges and labels: evaluators, labels, review, human-ai, simulated-users
- Share and approve: report, ui, login, push, job, signoff, export, record, audit, usage
- Production traffic: collect, traces, monitor, review-rule, notify
- Assurance: hazards, assurance, evidence, proofs, generate, redteam, governance, fairness
- Setup: doctor, check, mcp, leakage, data, credentials, runner, keys
It ends: New here? oloproof init, then oloproof run, then oloproof inspect latest. Already have scores from another tool? oloproof scores import before.csv after.csv.
Decisions as data
run, gate, inspect, plan and compare print their decisions as JSON with --json, and exit with the same code as without it. The documents are the engine's own records, described in schemas/v1; nothing in them is recomputed.
- oloproof run --json streams one event per line; when a policy decides the run, a run_decided event carries the decisions just before run_finished.
- With no bar, oloproof run --json sends a run_explored event before run_finished instead: the plain words the terminal prints (each metric's estimate and range, or "Not gated: no bar." under CI), with decided always false.
- oloproof gate RUN --json prints the same decisions as one document (gate_verdict.schema.json), with whether the evidence is still current. It does not combine with --summary. With --base-policy or --base-config it adds relaxed: what the pull request relaxed against the base branch's policy, checks and suite, in words.
- oloproof inspect RUN --json prints the run's state, its metrics and its gate, re-decided as gate would (run_inspection.schema.json).
- oloproof plan RUN --power also sizes each undecided score or quantile rule for a 4-in-5 chance, if the values are as you saw them; with --json the sentence is in four_in_five.
- oloproof plan RUN --json prints each undecided rule's sizing and what it would cost. Without an id, oloproof plan --json prints what each rule can decide at the current suite size: each rule's sentences, and for a rate rule the counts that reach each state (bands).
- oloproof compare CANDIDATE BASELINE --json prints the comparison record. With --base-policy or --base-config, a relaxed key is added beside it.
- Under --json, a command that stops on an error prints one error document on standard output (error.schema.json: its kind, message and exit code), as one line of the stream for run. The text still goes to standard error, and the exit code is unchanged.
Each rule carries its state (PASS, FAIL, INSUFFICIENT_EVIDENCE or MANUAL_REVIEW), the state in words, its reasons, the estimate and its range with the engine's formatted figures, the method, the cases it counted, the bar, its release action and, when it could not decide, how many more cases would.
oloproof gate latest --json | jq -r '.decisions[] | "\(.rule_id): \(.state)"'Sent to a pipe or a file with COLUMNS unset, a report's tables print as plain sentences, one per row: the table's title, then each row's first cell and every other column's name and value. Set COLUMNS (for example COLUMNS=200) to keep the tables at that width.
Coding agents and MCP
oloproof init --agent writes .claude/skills/oloproof/SKILL.md and a block in AGENTS.md: how a rule is decided, the golden path, and what an agent must never do (record human labels; lower a bar, add warn_on or turn validation off to get green; log in or push).
oloproof mcp serves the project to an MCP client over stdio (protocol 2025-06-18). Its tools are check, plan, run (on this machine only), gate, inspect, runs, compare and scores_import; each runs the CLI command of that name and returns what it printed, its --json document where it has one, with its exit code. Nothing is decided again by the server. No tool records labels, validates an evaluator, edits a file, logs in, pushes or calls the hosted service, and a path outside the project root is refused. --config picks the project.
{"mcpServers": {"oloproof": {"command": "oloproof", "args": ["mcp"]}}}The workbench in a browser
oloproof ui runs the local workbench in Docker over this project's .oloproof directory, mounted read-only: the image this version pins by digest (--image for another), published on 127.0.0.1 only (--port, default 4317), no account. It opens the browser unless --no-open. Without Docker installed or running it exits 2 and never starts Docker; Ctrl-C removes the one container it started. Exported runs (oloproof export) and live runs appear; see The workbench in a browser.
Exit codes
Every command uses the same codes. Gating CI lists what each means and the order they are reported in when more than one gate is blocked.