Deterministic verification and evidence auditing for AI coding agents: sealed plans, hash-chained evidence, and an independent completion gate
pip install plan-auditor==2.6.0 Copy PIP instructions
Download numbers live on the package pages themselves, where they are always current: PyPI | npm
An AI agent says "done." This tool makes "done" mean "here is the command output that proves it."
Ask a coding agent to change something and it reports success with confident prose. Sometimes it never ran the tests. Sometimes it ran them once, failed, and edited the test until it went green. What you are left with is narration, and narration looks identical to a result until you re-run everything yourself.
Verification runs in a separate process with its own check implementation, so the implementing agent's claims carry no weight — only sealed command output does.
There is no LLM in the verification path, and no network call.
pipx install plan-auditor # isolated CLI, recommended pip install plan-auditor # into the current environment / virtualenv Python 3.10 or newer, no third-party runtime dependencies. The npm package is a thin Node launcher for the same CLI and needs Python on PATH. The examples call the interpreter python; on a system that only ships python3, use a virtualenv that provides python. In CI, add - uses: Furox-Art/plan-auditor@main with path: . — see integrations.
Release status: 2.4.3 is current on both registries. PyPI publishes every artifact with a PEP 740 provenance attestation; npm has no provenance attestation and its attestations endpoint returns 404 for one. Measured per channel in docs/release-status.md.
tests/test_readme_quickstart.py runs these commands on every CI run and compares the transcript to real output without normalising hash values, so it cannot drift. Copy the two files verbatim — request-source.json is the input to the request_sha256 below.
mkdir plan-auditor-demo && cd plan-auditor-demo mkdir .plan-auditor .plan-auditor/plan.json, and request-source.json beside it — the host-owned statement of what you asked for, sealed on activation so the agent cannot restate it:
{ "task": "Prove README.md exists and prints its first line", "created": "2026-07-24T00:00:00", "requirements": [{ "id": "REQ-001", "description": "README.md must exist in the project root and print its first line.", "priority": "must" }], "steps": [{ "id": 1, "title": "README.md exists and is readable", "covers": ["REQ-001"], "status": "pending", "verify": [ { "type": "file_exists", "path": "README.md" }, { "type": "run", "cmd": "python -c \"print(open('README.md', encoding='utf-8').read().strip())\"", "expect_exit": 0 } ] }] } { "format_version": 1, "task": "Prove README.md exists and prints its first line", "requirements": [{ "id": "REQ-001", "description": "README.md must exist in the project root and print its first line.", "priority": "must", "acceptance_checks": [ { "type": "file_exists", "path": "README.md" }, { "type": "run", "cmd": "python -c \"print(open('README.md', encoding='utf-8').read().strip())\"", "expect_exit": 0 } ] }] } 2. Run the gate.
plan-auditor request init . --file request-source.json plan-auditor plan verify . plan-auditor run . 1 # Before claiming completion, authenticate the evidence chain. A keyless chain # is only tamper-evident — anyone with write access can rebuild it — so the # gate never treats it as proof. Generate the key OUTSIDE the workspace and # point the environment at it: python -c "import os, pathlib; d = pathlib.Path.home()/'.plan-auditor'; d.mkdir(exist_ok=True); (d/'plan-auditor-hmac.key').write_bytes(b'plan-auditor: ' + os.urandom(48))" export PLAN_AUDITOR_HMAC_KEY_FILE="$HOME/.plan-auditor/plan-auditor-hmac.key" plan-auditor integrity init . plan-auditor audit . Real output. A lone ... marks fields omitted for length; every other line is verbatim, and every JSON level that is not elided lists exactly the keys the tool emits.
audit re-runs every check in a fresh subprocess, and only exit code 0 means the work is proven. Progress lines are English human-readable output; the JSON verdict is the stable machine interface, so parse "outcome".
Fifteen layers, arranged so a weaker signal can never overrule a stronger one. Two facts carry the design: L10 (scripts/audit_check.py) is the only component that can mark a step verified, and L13 (gate.py) is the only one that emits a final PASS/FAIL/UNKNOWN. Everything else feeds those two.
A failure at subsumption level N cannot be overridden by a PASS from any higher level. Per-layer detail, profiles (light/standard/strict), run modes (serial/parallel-warn/parallel-strict) and LLM tiers (NO_LLM, SMALL_LOCAL, STRONG_LOCAL, REMOTE) are in docs/architecture.md.
The skill is SKILL.md plus scripts/, references/ and hooks/, either from a checkout or from a pip install, which ships them under plan_auditor_skill/. Copy them into your host's skills directory — ~/.claude/, ~/.commandcode/, ~/.config/opencode/ or ~/.codex/, each with a skills/plan-auditor/ subdirectory. hooks/gate_hook.py is the single authoritative hook gate; there are no per-host adapter files, so wire each host's blocking stop or lifecycle hook to that one command. Per-host paths and CI wiring: docs/integrations.md.
Entry points: the plan-auditor CLI (request, plan, evidence, integrity, supervisor, task, agents, run, validate, audit, doctor); the core python scripts/audit_check.py (validate, run, audit, status, snapshot, rollback); and plan-auditor-formalize, plan-auditor-formal (verify, export-pddl, make-check) and plan-auditor-migrate-seal.
Check types are run, exec, pytest, regex and file_exists; regex and file_exists are non-behavioural and cannot verify a step alone. Exit codes are 0 proven, 1 failed, 2 blocked, 3 UNKNOWN — and 3 withholds completion rather than passing it. The npm launcher mirrors them and fails closed. Runnable example: examples/fib/.
No rendered documentation site exists yet. mkdocs build --strict is a required CI check, so the Markdown is known to build, but nothing serves it; build it with python -m pip install mkdocs-material && mkdocs serve. Files GitHub already renders: SKILL.md · CONTRIBUTING.md · CHANGELOG.md · SECURITY.md
agent-skills ai-agents ai-verification audit-log auditing ci ci-cd cli coding-agents completion-gate continuous-integration developer-tools evidence formal-methods formal-verification hallucination-detection llm-agents model-checking pddl plan-execution provenance quality-assurance software-testing static-analysis strips supervisor supply-chain-security tamper-evident test-automation trust-but-verify verification
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.




