When a Kane CLI test fails, WITNESS replays the same recording on a build known to work and tells your coding agent what to fix. The fix only counts when that unchanged recording passes on the rebuilt app. Here it checks Actual Budget's open pull requests on their live previews.
Actual Budget has 30,000 stars, and people keep their own money in it. We built it at the commit just before each maintainers' fix. Kane blamed the test in 6 of 8 failing runs. WITNESS said APP_BUG in all 8, Claude Code fixed each bug in one round, and Kane passed the unchanged recording on the rebuilt app.
| Real bug | Kane's label | WITNESS | Agent's fix | Maintainers' fix |
|---|---|---|---|---|
| #8760 A category's menu stops opening after a rename | the test 0.96, 0.98 | APP_BUG | useRefEventListener.ts | #8763, same file, same design |
| #8498 A rule with a category group condition never matches | the test 0.94 to 0.98 | APP_BUG | transaction-rules.ts | #8587, same file |
| #9359 The search is dropped after toggling reconciled rows | the app 0.98 | APP_BUG | Account.tsx | #9360, same file |
Every run, card and diff →
See one real case from start to finish, with every number recomputed from the committed runs. No Kane login, no credits.
npx -y kane-witness demoIn your project, witness init finds your Kane tests and your build, writes witness.json, and installs a Claude Code Stop hook. Your agent cannot say it is done until the pinned, unchanged recordings pass on the rebuilt app. On a fresh session fixing Actual #8760, the hook rebuilt Actual and only let it stop after Kane passed: PROVEN.
On every pull request, the GitHub Action replays the tests on the PR's build and the base build and comments the verdict with the agent's card, as it did on pull request #2.