Example runs/inc-mwuj2fe0-53d4
Example run. Recorded from real Proof and Kane CLI runs on a demo shop. This copy is read-only: nothing runs here.Run it yourself

Checkout 500 error placing order after coupon applied

Fixed in prodkiln-and-kettle·critical·33 Kane runs, 685 credits
  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

Triple proof

Same failure before the fix and after reverting it
BeforeKane failed111s

3/3 runs of the full session failed on main with the user’s signature. Kane run

AfterKane passed92s

Codex’s fix. Locked repro passes, 2/2 regression tests green. Kane run

Fix revertedKane failed73s

Fails again: POST /api/checkout 500. Kane run

Minimal repro

locked 7f978f5b43
15 events → 9 steps → 5 steps

Shrunk with 11 Kane checks, confirmed 2/2 on main, saved as inc-mwuj2fe0-53d4_test.md

  1. Click "Add to cart" for "Tea Tin" (opens /cart)
  2. Type "WELCOME20" into the "Discount code" field
  3. Click "Apply" (opens /cart)
  4. Click "Checkout" (opens /checkout)
  5. Click "Place order"
  6. Verify the order confirmation page appears.

Fix tournament

Codex: smallest passing diff
Claude Code +2 -0Repro passed, suite 2/2, unit pass
Passed
Codex +1 -0Repro passed, suite 2/2, unit pass
Winner
Haiku (cheap) +2 -0Repro passed, suite 2/2, unit pass
Passed

Smallest passing diff wins, ties go to the faster agent. Agents get the steps but cannot edit the locked test.

What the user saw

sdk

“I used my welcome code on the tea tin and now I cannot place my order. It just says something went wrong.”

POST /api/checkout 500[checkout] failed: Internal error
Captured session, 15 events
  1. nav /
  2. click "◐" (Stoneware Mug)
  3. nav /product/stoneware-mug
  4. click "Kiln & Kettle"
  5. nav /
  6. click "Add to cart" (Tea Tin)
  7. nav /cart
  8. input Discount code = "WELCOME20"
  9. click "Apply"
  10. nav /cart
  11. click "Checkout"
  12. nav /checkout
  13. input Full name = "Maya Chen"
  14. input Email for receipt = "maya@example.com"
  15. click "Place order · -$2.01"

Blast radius

2 of 5 variants affected
Matcha Whisk instead of Tea Tinproduct
Affected
Ceramic Dripper instead of Tea Tinproduct
Safe
Tea Tin added twicequantity
Safe
No code: skip Discount code and Applycode
Safe
Reload /cart after Apply before Checkoutother
Affected

Production

Kane passed

The locked repro, re-run by Kane on the live site. Kane run

Reporter

Written, not sent

Hi there, you reported: "I used my welcome code on the tea tin and now I cannot place my order. It just says something went wrong.". It is fixed. Here are your exact steps, working now on the live site.

Open the reporter’s page

Activity

58 events
Reply to the reporter written, not sent (set PROOF_NOTIFY_WEBHOOK to deliver it)
Kane re-ran the repro on production: GREEN (https://proof-demo-shop.vercel.app)
Triple proof: red before, green after, red again on revert (same failure signature)
Winner: Codex, +1/-0 lines across 1 file(s)
Kane verdict for Codex: PASS (repro green, 2 regression test(s) green, unit green, review: root cause), diff +1/-0
Kane verdict for Claude Code: PASS (repro green, 2 regression test(s) green, unit green, review: root cause), diff +2/-0
Kane verdict for Haiku (cheap): PASS (repro green, 2 regression test(s) green, unit green, review: root cause), diff +2/-0
Codex finished in 52.7s; Kane judging
Haiku (cheap) finished in 16.5s; Kane judging
Claude Code finished in 14.1s; Kane judging
Tournament: Claude Code vs Codex vs Haiku (cheap) (worktrees off main@d238955)
Repro locked: tests/regressions/inc-mwuj2fe0-53d4_test.md sha256 7f978f5b43ca
PR opened: https://github.com/crypticsaiyan/proof-demo-shop/pull/5
Evidence pack merged (3 Kane runs) and redacted, validate: valid
Triple proof: red before, green after, red again on revert (same failure signature)
Winner: Codex, +1/-0 lines across 1 file(s)
Kane verdict for Codex: PASS (repro green, 2 regression test(s) green, unit green, review: root cause), diff +1/-0
Kane verdict for Haiku (cheap): FAIL (masks the symptom: The diff clamps `discount` to `subtotal` in `priceCart`, so a fixed coupon larger than the cart still gets applied, just capped, and the state that produced the oversized discount is untouched. The diff does not show the 500 crash path, so it is unverified that a negative total was what crashed checkout.), diff +3/-0
Kane verdict for Claude Code: PASS (repro green, 2 regression test(s) green, unit green, review: root cause), diff +2/-0
Codex finished in 42.5s; Kane judging
Haiku (cheap) finished in 18.8s; Kane judging
Claude Code finished in 13.2s; Kane judging
Tournament: Claude Code vs Codex vs Haiku (cheap) (worktrees off main@970f56d)
Repro locked: tests/regressions/inc-mwuj2fe0-53d4_test.md sha256 7f978f5b43ca
PR opened: https://github.com/crypticsaiyan/proof-demo-shop/pull/4
Evidence pack merged (3 Kane runs) and redacted, validate: valid
Blast radius: 2/5 variants hit the same bug (Matcha Whisk instead of Tea Tin; Reload /cart after Apply before Checkout)
Mapping blast radius: proposing variants of the minimal repro
Triple proof: red before, green after, red again on revert (same failure signature)
Winner: Haiku (cheap), +2/-0 lines across 1 file(s)
Kane verdict for Codex: FAIL (regression suite red: checkout-happy-path_test.md failed), diff +1/-0
Kane verdict for Haiku (cheap): PASS (repro green, 2 regression test(s) green, unit green, review: root cause), diff +2/-0
Kane verdict for Claude Code: FAIL (regression suite red: percent-coupon_test.md failed), diff +2/-0
Codex finished in 42.5s; Kane judging
Claude Code finished in 18.7s; Kane judging
Haiku (cheap) finished in 18s; Kane judging
Tournament: Claude Code vs Codex vs Haiku (cheap) (worktrees off main@970f56d)
Repro locked: tests/regressions/inc-mwuj2fe0-53d4_test.md sha256 7f978f5b43ca
Minimal repro: 15 session events -> 9 steps -> 5 steps (11 Kane checks)
Minimize: confirming 5 steps -> 2/2 still fail
Minimize: confirming 4 steps -> 1/2 still fail (flaky, stepping back)
Minimize: 3 steps -> bug gone (need these)
Minimize: 3 steps -> bug gone (need these)
Minimize: 3 steps -> bug gone (need these)
Minimize: 4 steps -> still fails (keep)
Minimize: 4 steps -> bug gone (need these)
Minimize: 4 steps -> bug gone (need these)
Minimize: 5 steps -> still fails (keep)
Model hint: steps 3,4,5,6,9 look sufficient; Kane will check
Delta-debugging 9 steps with Kane
Reproduced: Kane failed the same way 3/3 runs
Signature matched. Confirming with 2 more independent Kane runs
Attempt 1: Kane failed, MATCH (same failed request: POST /api/checkout 500)
Objective: 9 steps + check
The same user added a written report
Drafting Kane objective from 15 session events
CRITICAL: Checkout 500 error placing order after coupon applied (new cluster)
sdk: session with errors (15 events)

Kane runs

2 reproduce · 2 confirm · 11 minimize · 9 judge · 3 revert · 5 blast · 1 prod
Show all 33 runs
RunKindKaneSame bugTimeCredits
Attempt 1reproduce failed Yes 111s25.9 Kane Video
Confirm 2/3confirm passed Yes 139s30.7 Kane
Confirm 3/3confirm passed Yes 152s33.5 Kane
5 steps [3,4,5,6,9]minimize failed Yes 129s24.3 Kane
4 steps [3,5,6,9]minimize passed No 67s21.1 Kane
4 steps [3,4,6,9]minimize passed No 69s20.6 Kane
4 steps [3,4,5,6]minimize failed Yes 170s23.5 Kane
3 steps [3,5,6]minimize failed No 68s24.5 Kane
3 steps [3,4,6]minimize passed No 68s17.0 Kane
3 steps [3,4,5]minimize failed No 61s23.6 Kane
confirm 1/2: 4 steps [3,4,5,6]minimize failed No 79s23.8 Kane
confirm 2/2: 4 steps [3,4,5,6]minimize failed Yes 88s15.1 Kane
confirm 1/2: 5 steps [3,4,5,6,9]minimize failed Yes 94s20.7 Kane
confirm 2/2: 5 steps [3,4,5,6,9]minimize passed Yes 120s25.0 Kane
Haiku (cheap) round 1judge passed No 87s20.9 Kane Video
Claude Code round 1judge passed No 91s20.8 Kane Video
Codex round 1judge passed No 79s18.8 Kane Video
Revert Haiku (cheap) fixrevert failed Yes 122s19.3 Kane Video
Matcha Whisk instead of Tea Tinblast failed Yes 87s24.8 Kane
Ceramic Dripper instead of Tea Tinblast passed No 90s21.8 Kane
Tea Tin added twiceblast failed No 54s14.4 Kane
No code: skip Discount code and Applyblast passed No 56s16.2 Kane
Reload /cart after Apply before Checkoutblast failed Yes 76s20.6 Kane
Claude Code round 1judge passed No 88s17.0 Kane Video
Haiku (cheap) round 1judge passed No 74s15.4 Kane Video
Codex round 1judge passed No 83s12.8 Kane Video
Revert Codex fixrevert failed Yes 114s15.1 Kane Video
beforereproduce failed Yes 113s24.3 Kane Video
Claude Code round 1judge passed No 98s21.1 Kane Video
Haiku (cheap) round 1judge passed No 98s18.9 Kane Video
Codex round 1judge passed No 92s16.0 Kane Video
Revert Codex fixrevert failed Yes 73s16.1 Kane Video
Productionprod passed No 83s20.7 Kane Video