Every stage verified by Kane CLI

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.

See an example runRun it yourself$ proof repro session.json
proof / incidents / inc-mwuj2fe0-53d4
Double discount when SAVE10 applied twiceFlakyCheckout 500 error placing order after coupon appliedFixed in prod

Checkout 500 error placing order after coupon applied

Fixed in prod
  1. Captured15 events
  2. Reproduced3/3 Kane runs
  3. Minimized5 steps
  4. FixedCodex
  5. ProvenRed on revert
  6. PR opened#5
  7. Green in prodReply written
BeforeKane failed
Before: last frame of Kane's run
AfterKane passed
After: last frame of Kane's run
Fix revertedKane failed
Fix reverted: last frame of Kane's run

Runs on the tools your team already uses

kane-cliClaude CodeCodexGitHubVercel

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.

click Checkout
input Full name "Maya Chen"
input Email for receipt "maya@example.com"
click Place order · -$2.01
POST /api/checkout 500

01Capture

A script tag records clicks, inputs, console errors and failed requests. Users can add a note.

Run 1: POST /api/checkout 500111s
Run 2: POST /api/checkout 500139s
Run 3: POST /api/checkout 500152s
VerdictConfirmed 3/3

02Reproduce

The session becomes a Kane objective. It has to fail the same way three times, or it is marked flaky.

15events
9steps
5steps

03Minimize

Kane proves every remaining step is needed. The result becomes a locked regression test.

Claude Code +2 -0Passed
Codex +1 -0Winner
Haiku (cheap) +2 -0Passed

04Fix 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.

Redbefore
Greenafter
Redon revert

05Triple proof

The winning patch is reverted and Kane must fail again, proving the fix is what fixed it.

PR #5 with Proof CardPending
Kane on productionPassed
Reply with the reporter’s stepsWritten

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.

tests/regressions/inc-mwuj2fe0-53d4_test.mdsha256 7f978f5b43ca
---
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.

37Kane runs so far
15 → 5Session events to repro steps
3Agents raced to fix it
3 of 3Runs that failed the same way

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.

  1. 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.

    terminal
    npm install -g @testmuai/kane-cli
    kane-cli login
    
  2. 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.

    terminal
    git 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) &
    
  3. 03Open your own console

    Unlike this copy, it is live: each stage shows up as Kane finishes it.

    terminal
    pnpm --filter @proof/server start &
    # open http://localhost:4600
    
  4. 04Reproduce, 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.

    terminal
    node packages/cli/src/proof.ts repro fixtures/incidents/checkout-negative-total.json
    
  5. 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.

    terminal
    node packages/cli/src/proof.ts fix inc-checkout-negative-total --repo ../proof-demo-shop
    
  6. 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.

    terminal
    node 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.