Skip to main content Switch to mobile version prusik 0.252.0 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.252.0 Copy PIP instructions
Agents do the work; prusik checks the receipt. Prusik is an independent verification layer for AI coding agents. Agents write the code; prusik proves the work — that tests really executed, changes stayed in scope, and every "done" has evidence behind it. It's named after the climbing knot: slides freely while you work, grips instantly under load.
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 2,800+ tests, including regression tests pinned to 155 findings, each one fixed and proof-closed (CI).
Prove your agent's tests actually ran (30 seconds, zero config)
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.
In CI: one step, as a GitHub Action
The repo doubles as a composite Action — prove as a PR gate with no workflow scripting:
- uses: getprusik/prusik@v0.252.0 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.
Adopt at your own pace — every rung reversible
prusik prove in CI — zero footprint, works with any agent or none; your first false-clean pays for the install.
prusik scan — read-only static detectors over the repo (binding mismatches, unreachable tests); nothing written.
prusik init on a branch — the full harness, 47 files, every one manifest-tracked; prusik doctor scores the setup in 10 seconds.
prusik uninstall — manifest-exact removal any time; your own edits stay. A trial costs a branch, not a commitment.
The loop: findings close on proof — and reopen themselves
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 as of 2026-11-11: 74 findings filed by two design-partner products, 67 verified-closed in the field, 7 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:
Writable paths by phase — a write outside the phase's set is denied when attempted, with the worktree redirect in the message
One writer on the shared tree — concurrent sessions (including ad-hoc, sprint-less ones) can't stomp each other; a TTL lease serializes main while worktrees stay parallel
Evidence at every advance — a phase exits on captured tool output (tests executed, files checked), never on a report
Load-bearing acceptance tests — prove_red criteria must FAIL without the change; a verify that was green all along is vacuous and rejected
Honest residuals — a leftover red needs a machine-verified category (proven pre-existing via git-stash A/B, or environment-gap), not a prose excuse
Bounded fix-rounds — review loops cap and escalate to a recorded human decision instead of spinning
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.
For the team lead — and the auditor
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. When --junit (or a criterion's junit:) is given, executed/failed/skipped come from the JUnit XML reports the run itself wrote — fresh, well-formed, DOCTYPE-free — which makes Gradle and Maven suites provable.
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.
Composes with your stack — including other agents
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.
Claude Code-coupled today. The hook contract ships one adapter (Claude Code). The gate policy itself is host-neutral behind an adapter seam; a second runtime lands when a real adopter needs it.
Depth is not gateable. Schemas catch structure; critic roles add judgment in isolated contexts — but shallow thinking still needs a human reading design/ sometimes.
Runner parsing is Python/JS-deep. Evidence extraction reads pytest and vitest (tests) and mypy, tsc, ruff, eslint (lint/types) from their own output. Other runners (JUnit/Gradle, go test, cargo test) are unparseable today — which means unproven, and unproven blocks; support lands when an adopter needs it, not speculatively.
Python-AST-privileged discovery. JS/TS/Go are regex-based (good enough for scoping); Rust/Java/Ruby unsupported until tree-sitter lands (recurrence-gated).
No UI, no production runtime. CLI + hooks by design; pair with the tools above for dashboards and runtime observability.
Free forever, and what will cost money
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:
prove (all evidence kinds, present and future), scan, the CI Action
The full harness: init, phase gates, writable-path enforcement, the single-writer lease, prove-red, baselines, critics, watchdog, triage
The feedback loop: findings, proof-gated closure, auto-reopen, proof-transfer on update
Per-repo instruments: trust-report, metrics, catches, overhead, effort (including measured token usage), digest, eval scorecard, SARIF export
update / doctor / disable / uninstall: adopt, stay current, leave cleanly
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.
Org-level rollup of per-repo dossiers into one evidence-backed view
Benchmarking against the field: your catch rates compared with other fleets
Fleet cost visibility: what agents consume across repos, by role and model
Hosted, signed attestation with a tamper-evident chain and retention
Org administration: policy distribution, adoption-drift visibility across a fleet, priority support
If it only makes sense across many repos, or requires shared infrastructure or population data, it is the product.
No feature currently free ever moves behind the paid line.
No telemetry is ever added to the free engine as a funnel for paid insights.
The paid layer consumes the same ledgers and dossiers the free tier produces. You are never locked in: your data is yours, readable without us.
Pricing is public the day it exists.
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 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/ — 2,800+ tests incl. regression tests pinned to findings .claude/ — self-host: prusik's own harness config License
Apache 2.0. See LICENSE and NOTICE.
Author: Rajasekhar Yakkali
Both files in this release have provenance metadata.
Apache-2.0 View SPDX License List
claude-code ai-agents autonomous sdlc agent-orchestration code-review llm verification
Development Status 4 - Beta
Intended Audience Developers
Operating System OS Independent
Programming Language Python :: 3
Topic Software Development :: Build Tools
Software Development :: Quality Assurance
Release files for prusik 0.252.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.8 MB
Release files / prusik-0.252.0.tar.gz
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 18, 2026.
Release files / prusik-0.252.0-py3-none-any.whl
Security for prusik 0.252.0
Both files in this release have been uploaded with provenance metadata.
With provenance prusik-0.252.0.tar.gz Nov 18, 2026
With provenance prusik-0.252.0-py3-none-any.whl Nov 18, 2026
Attestation for prusik-0.252.0.tar.gz
Attestation for prusik-0.252.0-py3-none-any.whl
A note on package security
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.
Release history Release notifications | RSS feed
Nov 21, 2026 2 release files Full provenance
Nov 20, 2026 2 release files Full provenance
Nov 19, 2026 2 release files Full provenance
Nov 18, 2026 2 release files Full provenance
Nov 17, 2026 2 release files Full provenance
Nov 16, 2026 2 release files Full provenance
Nov 15, 2026 2 release files Full provenance
Nov 14, 2026 2 release files Full provenance
Nov 12, 2026 2 release files Full provenance
Nov 11, 2026 2 release files Full provenance
Nov 2, 2026 2 release files Full provenance
Nov 1, 2026 2 release files Full provenance
Oct 31, 2026 2 release files Full provenance
Oct 30, 2026 2 release files Full provenance
Oct 29, 2026 2 release files Full provenance
Oct 28, 2026 2 release files Full provenance
Oct 27, 2026 2 release files Full provenance
Oct 26, 2026 2 release files Full provenance
Oct 25, 2026 2 release files Full provenance
Aug 25, 2026 2 release files Full provenance
Aug 21, 2026 2 release files Full provenance
Aug 18, 2026 2 release files Full provenance
Aug 17, 2026 2 release files Full provenance
Aug 16, 2026 2 release files Full provenance
Aug 15, 2026 2 release files Full provenance
Aug 14, 2026 2 release files Full provenance
Aug 7, 2026 2 release files Full provenance
Aug 4, 2026 2 release files Full provenance
Aug 3, 2026 2 release files Full provenance
Jul 28, 2026 2 release files Full provenance
Jul 27, 2026 2 release files Full provenance
Jul 18, 2026 2 release files Full provenance
Jul 17, 2026 2 release files Full provenance
Jul 16, 2026 2 release files Full provenance
Jul 15, 2026 2 release files Full provenance
Jul 14, 2026 2 release files Full provenance
Jul 13, 2026 2 release files Full provenance
Jul 12, 2026 2 release files Full provenance
Yanked reason: Incomplete: missing brief templates, use 0.197.4+
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




