A new open-source tool called ProofRun addresses a critical trust gap in AI coding workflows by providing cryptographic verification that code checks actually ran.
The tool solves a fundamental problem: when an AI coding agent claims "all tests pass," developers have no way to verify whether tests actually ran or if the agent is making an educated guess based on code changes.
ProofRun binds every check result to a fingerprint of the exact code state, including the git commit plus a hash of all uncommitted changes. If even a single byte changes after a test run, the status automatically switches from PASS to STALE.
How verification works
The system operates entirely offline without any LLM calls or network requests. When developers run proofrun run test -- pytest, it executes the real subprocess and captures the actual exit code and duration.
Results are tied to four definitive statuses: PASS, FAIL, STALE, or NOT RUN. There's no ambiguous "probably fine" state that relies on AI inference.
The tool compares actual command argument arrays rather than string matching, preventing agents from satisfying a pytest -k "foo bar" declaration with a superficially similar but different command.
ProofRun deliberately avoids parsing test output, judging code quality, or auto-fixing issues. It focuses solely on verification that declared checks actually executed.
Built with adversarial AI review
The project itself demonstrates the verification principle it promotes. ProofRun was written by an AI coding agent under human direction, but every change undergoes independent review by a second AI agent before merging.
This adversarial review process has caught critical bugs, including a command comparison vulnerability that allowed checks to silently run zero tests while reporting PASS, and a symlink attack vector that could have allowed attacker-planted signing keys to be adopted as trustworthy.
The tool is available now on GitHub with installation via curl or Go build from source. Configuration uses a simple YAML file declaring checks as command arrays rather than shell strings.
ProofRun represents a shift toward verifiable AI agent claims rather than relying on trust alone in development workflows.
💬 Discussion
Sign in to join the discussion.
Sign in →No comments yet — be the first.