Update: Witness now checks real pull requests.
Actual Budget is an open-source budgeting app, and 32 of its last 60 merged pull requests were written by AI agents. Every pull request gets a live preview of the app.
Every three hours, Witness picks the open pull requests that touch something our tests cover. Kane CLI uses each preview like a person would, replaying tests written from Actual's own bug reports. If a test fails, the same recording is replayed on Actual's main build to see if the pull request is really to blame.
So far: 40 checks on 36 pull requests, 24 of them from AI agents. No pull request has been blamed for a bug it didn't add.
It got one thing wrong first. Two pull requests failed tests that pass on main, and Witness called them app bugs. They weren't. Both branches were older than the fixes those tests check. Now, when a branch is behind main, Witness also replays the build from the day it split off. If that fails too, the verdict is "update your branch", not "your code broke it".
Also new:
- The Kane team fixed my third report in kane-cli 0.10.9. All three are now fixed.
- Someone asked here whether a retry could see what the first attempt wrote. Inside one run, it could. Fixed the same day.
Pick any open pull request and watch Kane check it live, no login:
https://witness.38-49-216-59.sslip.io
https://github.com/Jennycruzy/witness
Building for the @kane_cli Hackathon by @testmuai
#KaneCLI
@jennyoliver57AI coding agents now fix bugs on their own. But when a test fails, the agent needs one answer first: is the app broken, or is the test?
Kane CLI tests web apps in a real browser and gives that answer. I checked it on 12 real bugs people reported in Actual Budget, CyberChef, IT-Tools and TodoMVC. Kane blamed the test in 6 of them. Each time, the app was broken. An agent that trusts that edits the test until it passes, and the bug ships.
So I built Witness. It replays the same Kane recording on a version of the app known to work. If it passes there and fails on yours, the app changed, not the test.
Witness was right on all 12 bugs and all 3 real test problems. It also caught a test Kane passed while the app was wrong.
With a coding agent:
- Claude Code gets the verdict, fixes the app, and the untouched recording passes.
- I told an agent about one bug. It fixed it and tried to stop. The Witness hook blocked it over a second bug it was never told about. It fixed that too.
- On pull requests it posts the verdict, and the check turns green once the fix lands.
- Every night it replays tests on Actual Budget's nightly build. It found the exact build where a real bug came in, 12 days before it shipped.
I sent my findings to the Kane team. They reproduced all three reports. Two are fixed in kane-cli 0.10.8, and the third fix is on its way.
Every run behind every number is in the repo. See it in under 20 seconds, no account needed:
npx -y github:Jennycruzy/witness demo
https://github.com/Jennycruzy/witness
Built for the #KaneCLIHackathon by @testmuai
#Hackathon #KaneCLI