From broken session to proven fix
Proof takes what a user did when your app broke, has Kane CLI reproduce it in a real browser, lets three coding agents race to fix it, and opens a PR only for the fix Kane can show working.
Checkout 500 error placing order after coupon applied
Fixed in prod- Captured15 events
- Reproduced3/3 Kane runs
- Minimized5 steps
- FixedCodex
- ProvenRed on revert
- PR opened#5
- Green in prodReply written



Runs on the tools your team already uses
Most bug reports end at “cannot reproduce”. Proof makes Kane CLI the referee at every stage, so the agents that write a fix never grade their own work.
How it worksSix stages, each one checked in a real browser
A failure only counts when Kane hits the user’s own signature, the same failed request or console error. Passing only counts when that failure is gone.
POST /api/checkout 50001Capture
A script tag records clicks, inputs, console errors and failed requests. Users can add a note.
POST /api/checkout 500111sPOST /api/checkout 500139sPOST /api/checkout 500152s02Reproduce
The session becomes a Kane objective. It has to fail the same way three times, or it is marked flaky.
03Minimize
Kane proves every remaining step is needed. The result becomes a locked regression test.
+2 -0Passed+1 -0Winner+2 -0Passed04Fix tournament
Claude Code, Codex and a cheap model fix it in separate worktrees. Smallest diff that Kane passes wins, ties go to the faster agent.
05Triple proof
The winning patch is reverted and Kane must fail again, proving the fix is what fixed it.
06Ship and verify
The PR carries videos, the minimal repro and a Kane evidence pack. Kane re-runs it on prod.
Anti-cheatNobody gets to weaken the test
Agents are good at making tests pass. Proof locks the repro before any agent sees the code, and every judge run re-checks the hash.
--- mode: testing max_steps: 30 tags: [regression, proof] --- # Checkout 500 error placing order after coupon applied <!-- Generated by Proof from incident inc-mwuj2fe0-53d4. Hash-locked: do not edit. --> ## Reproduce inc-mwuj2fe0-53d4 Follow these steps exactly, in order. Do not add, remove or change anything that is not in a step. If an error appears, do not retry or work around it. Click "Add to cart" for "Tea Tin" (opens /cart). Type "WELCOME20" into the "Discount code" field. Click "Apply" (opens /cart). Click "Checkout" (opens /checkout). Click "Place order". Verify the order confirmation page appears.
Locked before agents run
The minimal repro is written as a Kane _test.md and its sha256 recorded. Agents get the steps, not a file they can edit: judges read the trusted copy.
Protected paths disqualify
Touching the regression suite, unit tests or config is an instant loss, whatever Kane says.
Red again on revert
The winning patch is un-applied and Kane must fail with the same signature, or the fix is not credited.
Run it yourselfThe same loop, on your machine
This site is a recording. Proof runs locally with your own Kane CLI login. A full run takes about 30 minutes and uses your Kane credits and agent subscriptions.
01Install the tools
Node 24+, pnpm, Google Chrome, ffmpeg and Kane CLI. The fix race also uses the claude and codex CLIs. Proof reuses their logins, so there are no API keys to set.
terminalnpm install -g @testmuai/kane-cli kane-cli login
02Get Proof and the demo shop
The demo-bug tag is the shop before the fix, so the coupon bug from the example run is still there.
terminalgit clone https://github.com/crypticsaiyan/proof && cd proof pnpm install && node packages/sdk/build.ts git clone https://github.com/crypticsaiyan/proof-demo-shop ../proof-demo-shop git -C ../proof-demo-shop reset --hard demo-bug (cd ../proof-demo-shop && pnpm install && PORT=3100 pnpm start) &
03Open your own console
Unlike this copy, it is live: each stage shows up as Kane finishes it.
terminalpnpm --filter @proof/server start & # open http://localhost:460004Reproduce, minimize, lock
Kane replays the captured session until it fails the same way 3 times, Proof shrinks it to the fewest steps, then hash-locks the test.
terminalnode packages/cli/src/proof.ts repro fixtures/incidents/checkout-negative-total.json
05Race the agents
Claude Code, Codex and Haiku each fix it in their own worktree. Kane judges every patch, then the winner is reverted and Kane must fail again.
terminalnode packages/cli/src/proof.ts fix inc-checkout-negative-total --repo ../proof-demo-shop
06Ship and verify (optional)
Point ../proof-demo-shop at a fork you can push to and log in to gh. After you merge and deploy, Kane re-runs the locked test on production.
terminalnode packages/cli/src/proof.ts ship inc-checkout-negative-total --repo ../proof-demo-shop --draft node packages/cli/src/proof.ts verify-prod inc-checkout-negative-total --url https://your-deploy.example
On your own app: add a proof.config.json and the capture script tag. Setup in the README.
Follow one bug all the way
Videos, Kane runs, the minimal repro and the tournament from one captured session on the demo shop.