Prose guesses on every diff.
Traditional AI PR reviewers read a diff and post prose guesses. Developers end up wading through false positives on harmless refactors because the bot never actually executes code.
A GitHub pull-request reviewer that comments only when a generated pytest passes 3/3 on the base commit and fails 3/3 on the head commit, plus a one-line command to reproduce it. If it cannot prove a behavior change, it stays silent.
Built for: Python engineering teams who want failing-test proof on pull requests instead of noisy LLM commentary.
Traditional AI PR reviewers read a diff and post prose guesses. Developers end up wading through false positives on harmless refactors because the bot never actually executes code.
Following Meta’s JIT catching-test design (Becker et al., FSE 2026), two diff-aware generators write pytests, execute them in isolated git worktrees on base and head, run deterministic assessors, and output a one-line catchpr repro command.
Infers PR intent, generates mutants of base, and discards tests that don’t kill their mutant.
Treats the diff itself as the mutant with no intent assumptions.
Rejects tests with missing/renamed symbols or ImportError, and filters tests that depend on random, wall-clock time, or environment state.
Checks PR-declared intent plus optional --judge abstention.
Sticky PR markdown comments, SARIF, and JSON. Stale sticky comments are deleted when a later push proves clean.
Every finding carries a catchpr repro --base ... --head ... --test-b64 ... line. Supports Mock (default), Groq, or any OpenAI-compatible provider with on-disk caching.
Two diff-aware generators propose pytests for the pull request.
Each candidate runs in isolated git worktrees — it must pass 3/3 on base and fail 3/3 on head.
Assessors drop broken, flaky, or environment-dependent tests.
Only surviving tests become a sticky PR comment with a one-line repro. Otherwise, silence.
catchpr.orchestra is an optional Python module in the same repo. It runs typed agent pipelines with schema-checked handoffs and makes every step bounded, escalated, approved, and logged. It is separate from the PR reviewer above.
Confidence routing
Fast tier tries first.
Low-confidence or failed steps move up.
Strongest enabled tier.
Off until an Anthropic key is approved; skipped until then.
Anything still unsure waits in a review queue, then resumes.
Each attempt retries with backoff under its own timeout. A timed-out attempt cannot make further model calls or trigger a send.
Per-run caps on tokens, dollars, and wall-clock time. Worst-case cost is reserved before each call, so a call that would cross the cap is never sent. Unpriced models are refused.
No email or other side effect runs without an Ed25519-signed token bound to the exact action, target, and payload. Tokens expire and work once; a ledger blocks duplicate sends.
Hash-chained log of hashed inputs and outputs, model, tokens, cost, and latency. verify detects edits; replay re-runs a recorded run offline and reports any difference.
catchpr-orch runs pipelines, lists and resolves reviews, issues approvals, and renders text or HTML traces.
144 tests with about 95% coverage, including injected timeouts, budget overruns, forged or reused tokens, and tampered logs. CI runs Python 3.10 to 3.13.
Limits: runs in a single process, and its network guard is a tripwire, not a sandbox.
PYTHONPATH and runs a single generated test file without installing new dependencies.catchbench.live.Only when a generated test passes 3/3 on the base commit, fails 3/3 on the head commit, and survives the deterministic assessors. Otherwise it stays silent.
No. It is from catchbench mock mode, replaying recorded completions across 40 small Python cases. No live LLM catch rate is claimed yet.
The untrusted PR job runs with contents:read and zero secrets; a separate workflow_run job posts the comment.
Python and pytest only, today.
It is MIT open source and free to run via GitHub Actions. A pilot means help wiring the split workflow and evaluating it on your PR history.
MIT open-source and free to run via GitHub Actions. Want help wiring the split workflow and evaluating it on your PR history? Reach out below.