Agents do the work; prusik checks the receipt. The independent verification layer for AI coding agents: captured proof (test/lint/type evidence), not an agent's claim.
pip install prusik==0.236.0 Copy PIP instructions
AI agents now write code faster than anyone can review it — and they routinely report success that didn't happen: green suites where nothing ran, tests bent to match a bug, changes far outside what you asked for. Reviewing harder doesn't scale, and an agent's report can never be evidence for its own work — which makes an independent verification layer a structural requirement of the agentic SDLC, not an add-on. Prusik is that layer: it sits outside the agent and verifies from the tools' own output — proof, not opinion.
Free, Apache-2.0, no telemetry, no account, no phone-home — a verification tool you don't have to trust blindly would be a contradiction. The one network call it makes on its own is an update check against public GitHub and PyPI; see SECURITY.md. The prove / scan / feedback layer works with any agent or CI; the full phase-gated harness targets Claude Code today. Backed by 1,900+ tests, including regression tests pinned to 98 findings, each one fixed and proof-closed (CI).
No init, no config, no buy-in — install and prove:
pip install prusik prusik prove -- pytest -q prusik prove --kind types -- mypy src/ prusik prove --min 20 --json -- pytest tests/ The receipt Here's a suite where every test is skip-marked ("needs staging env"). The agent — and your CI — call this green:
$ pytest -q 2 skipped in 0.01s $ echo $? 0 Prusik reads the runner's own output and refuses:
$ prusik prove -- pytest -q [prusik-prove] ✗ NOT PROVEN — exit 0 but only 0 test(s) executed (need ≥1) — nothing actually ran (auto-skip / no collection / wrong path). Exit 0 with no executed tests is a false-clean. $ echo $? 1 The verdict counts tests executed (passed + failed), not tests discovered — a suite that collects 100 and skips 100 is a false-clean, and tools that only check "tests were found" wave it through. Verdicts are deterministic: a pure function of the tool's own exit code and output — same output, same verdict, no model in the loop. Drop prove into CI or a pre-push hook as a one-line anti-fabrication check. That's the whole pitch; everything below is opt-in from here.
The repo doubles as a composite Action — prove as a PR gate with no workflow scripting:
- uses: getprusik/prusik@main with: source: prove command: "pytest -q" fail-on-findings: "true" # NOT PROVEN fails the check It posts the verdict as a PR comment (editing its own comment on re-runs, not spamming the thread), and can run scan / verify-loop / findings the same way — non-gating decision support by default, a gate when you say so.
flowchart LR A[friction hit
in the field] --> B["prusik feedback
ticket opened"] B --> C[fix ships with a
regression test] C --> D{"verify runs green
in YOUR repo?"} D -- yes --> E[verified-closed] D -- no --> B E -- regresses later --> F[auto-REOPENS] F --> B File a finding with prusik feedback. It becomes a git-tracked ticket whose closure is derived from its verify history — a fix counts as done only when a verify command runs green in your repository, with real tests executed. There is no stored status flag to drift: state is recomputed from the verify history on every read, so a ticket cannot sit closed against a red verify. Engine fixes backed by a shipped regression test close by proof-transfer on prusik update (and go red again on a downgrade). If a closed finding regresses, it reopens itself. Nobody's word is ever the record.
Field record to date: 43 findings filed by design-partner products, 43 verified-closed in the field, zero open — including same-day cycles from field incident to shipped fix to proof-closed ticket.
prusik init scaffolds a phase-gated harness for Claude Code agent teams: writable-path enforcement, cross-session write serialization, schema-validated artifacts, adversarial critic roles, deterministic triage, a watchdog, and the ledger. One feature, end-to-end:
/brief-new email-receipts # 5-field wizard; writes briefs/email-receipts.md /sprint-start email-receipts # brief-critic PASS required before scoping /sprint-advance triage --feature email-receipts # pure-code solo vs team routing /sprint-advance reviewing # regression + conventions gates /sprint-advance integrating # integrator merges; full-suite gate /sprint-complete email-receipts # success criteria verified, with evidence At every step prusik enforces, mechanically:
What it costs you, honestly: ceremony is proportional, not flat. Small changes take the trivial lane (sprint --lane trivial — bug fixes, docs, config skip the scoping/planning critics but keep the correctness floor); full ceremony is reserved for features where blast radius lives. Every gate's friction is itself measured — prusik catches reports each gate's true-catch vs false-block ratio from your own ledger, so a gate that never earns its keep is visible and yours to disable. And prusik disable pauses everything, reversibly, the moment it's in your way.
The same ledger that gates the work is your audit trail. Every gate block, phase transition, evidence capture, and finding closure is an append-only event:
prusik metrics --json # defect-prevention scorecard: what was flagged/caught/blocked (factual event counts) prusik catches # per-gate true-catch vs false-block ratio — is each gate earning its friction? prusik trust-report --html report.html # per-repo dossier: fidelity probe + catches + prevention, shareable prusik scan --sarif # findings as SARIF 2.1.0 → GitHub code-scanning Every number is a recorded event — not a modeled "bugs prevented" estimate. prusik eval scorecard goes further: it injects known defects (scope drift, premature push, fabricated done) and proves this config's gates catch them, exiting non-zero if any signal regressed.
cd your-project prusik init # refuses on a dirty tree; scaffolds 47 files, all manifest-tracked prusik doctor # score your harness across 5 subsystems, 10 seconds, concrete next step prusik status # current phase / sprint state prusik update # sync templates + auto-close findings your new version fixed prusik disable # pause hooks without removing files (reversible) prusik uninstall # manifest-based: removes only what prusik wrote, your edits stay Everything init writes is tracked in a content-hashed manifest, so uninstall is exact and your customizations survive. Run trials on a branch; removal is verifiable, not hopeful.
Run prusik --help for the complete list. Highlights beyond the table above: discovery (deterministic inventory + dep-graph), watchdog (heartbeat/staleness incidents), affected-tests (fail-fast selection), cross-check (parallel-builder symbol collisions), plan-reach / blast-verify / blast-recall (blast-radius predicted → consumed → measured), absence-check / narrative-check / delta-check (recall detectors: promised-but-absent deliverables, unproven prose claims, silently-dropped tests), infra-check, criterion resolve, permissions audit, serve (local brief-authoring form), ci-comment.
Engine vs opinions. Prusik ships the enforcement engine; your standards come from convention packs and sprint-config.yaml. The FSM's phases declare writable globs, denied commands, exit artifacts with schema validation, and budgets — all enforced by hooks, all yours to tune.
Evidence, precisely. For tests, "real work" means executed = passed + failed, parsed from the runner's own summary — skips and collection counts never satisfy a gate. For lint/types it's files-checked from the tool's own scope report. Unparseable output proves nothing, and unproven blocks.
The ledger is the memory. .sprint/ledger.jsonl is append-only: every transition, block, capture, incident, and completion. digest turns it into outcome stats (escalation rate, prediction error, gate blocks by phase); metrics and catches turn it into the value story. Self-tuning happens by reading the ledger, not by trusting recollection.
Prusik operates at one layer: build-time process discipline and evidence. IDE agents and assistants (Copilot Workspace, IBM Bob, Cursor, or Claude Code itself) do the work; prusik checks the receipt — it composes with all of them and competes with none. The behavior_regression and project_policy hooks invoke any command that exits non-zero on failure: your pre-commit pipeline, a browser smoke suite, an architectural gate, another reviewer.
Everything that proves work in one repository is free forever. What will cost money is the org-level layer across many repositories: you pay for the fleet answer, never for the proof.
Free forever, Apache-2.0. Everything shipped in the prusik package today and its successors:
If it runs offline in one repo and answers "can I trust this repo's agent work?", it is free, forever, no exceptions added retroactively.
The product: the fleet layer. Not available yet.
If it only makes sense across many repos, or requires shared infrastructure or population data, it is the product.
Prusik develops itself with prusik: the repo's own .claude/ wires the same hooks, the same gates, the same ledger. The regression tests pinned to 98 findings in this suite are the moat that closed real adopter tickets — the loop in this README is the loop that built it.
prusik/ — engine discovery_plugins/ — per-language graph builders issue_plugins/ — per-tracker sync templates/ — copied into target projects by `prusik init` benchmarks/ examples/ — sample-repo fixtures for detectors + evals tests/ — 1,900+ tests incl. regression tests pinned to 98 findings .claude/ — self-host: prusik's own harness config License Apache 2.0. See LICENSE and NOTICE.
All 2 files in this release have provenance metadata.
claude-code ai-agents autonomous sdlc agent-orchestration code-review llm 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 Nov 1, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Yanked reason: Incomplete: missing brief templates, use 0.197.4+




