Kane CLI Project Showcase / Test reliability, fault injection and false greens
WITNESS
WITNESS has Kane CLI replay a failing test on a working build, so your coding agent knows if the app or the test is broken. The Kane team fixed 3 Kane bugs we reported.
Built with Claude Code by OLUEBUBE CHUKWU
Tested with Kane CLI
Demo video by the WITNESS team
About WITNESS
When a Kane CLI test fails, a coding agent must choose: fix the app, or fix the test. If it trusts the wrong answer, it rewrites the test, the test goes green and the bug ships.
WITNESS has Kane replay the exact same recording on a build known to work. If it passes there and fails on your build at a check, the app is broken, and the agent gets a card: fix the app, not the test, with the failing step and what Kane saw. The agent fixes the source, WITNESS rebuilds, and Kane replays the unchanged, pinned recording. Only a pass ends the loop.
For: teams whose coding agents (Claude Code, Cursor, Codex) write tests and fix failures on their own.
Kane CLI does every check: it runs each test in a real Chrome, replays the same recording on both builds, and proves each fix.
Proven on 3 real Actual Budget bugs (30k stars), built from source just before the maintainers' fix: a single failing run's label pointed at the test in 6 of 8 runs; with Kane's second run on a working build, all 8 were called right: app bug. Claude Code fixed all three in the same file the maintainers changed, and Kane passed the unchanged recording.
Everything we learned went back to Kane: we reported three Kane CLI bugs (#232, #233, #241), and the Kane team reproduced and fixed all three.
What we built: the WITNESS CLI on npm (kane-witness), a Claude Code Stop hook and skill, a GitHub Action that comments on pull requests, and a live site. Try it with no login: npx kane-witness demo
More about WITNESS
How the agent and Kane CLI talk: Kane's result decides every step. A failing Kane run goes to WITNESS, which replays the same recording on a reference build (main, the last release or a nightly). The verdict (APP_BUG, TEST_PROBLEM, ENV, BEHIND_MAIN) becomes a card for the agent. The Claude Code Stop hook pins every test and recording (sha256) and will not let the agent finish until Kane passes the unchanged recording on the rebuilt app. If the agent edits the test instead of the app, the stop is blocked. The GitHub Action posts the same verdict and card on pull requests (see PR #2 in the repo).
What Kane caught:
3 real Actual Budget bugs (#8760, #8498, #9359), each fixed by the agent in the maintainers' file and proven by Kane.
A bench of 43 cases with the answers committed before the first run: on 28 real app bugs, Kane's single-run label on kane-cli 0.10.9 pointed the agent at the test 5 times; with the second Kane run, 0.
40 checks of 36 open Actual Budget pull requests on their live previews. No pull request was blamed for a bug it did not add.
Real bugs in five open-source apps, web and desktop: Actual Budget, CyberChef, IT-Tools, TodoMVC, MarkText.
Three Kane CLI bugs we reported, reproduced and fixed by the Kane team: #232 (triage labelled real app bugs as test bugs, fixed in 0.10.8), #233 (a list check passed on a blank todo, fixed in 0.10.8), #241 (bug memory repeated a root cause marked wrong, fixed in 0.10.9).
How to run it:
20 seconds, no login: npx kane-witness demo (npm: https://www.npmjs.com/package/kane-witness)
On your app: npm i -g kane-witness, then witness init in your app's folder (finds your Kane tests, your build and the reference branch, and installs the Claude Code Stop hook)
In CI: the WITNESS GitHub Action (README, "Install")
Judges: README section "Judges: one minute per score" and the attached 2-page PDF.
What's next: a WITNESS check on every Actual Budget pull request, and the bench re-run on every new kane-cli release (the watcher already runs hourly).
Community-submitted project. The description and results come from the WITNESS team's Kane CLI hackathon submission and have not been verified by TestMu AI.
Test your own app the way WITNESS was tested
Every project in the showcase had to run Kane CLI to be eligible. Kane CLI runs a flow you describe in plain English in a real browser, and saves the steps, screenshots, logs and verdict as evidence.
npm install -g @testmuai/kane-clikane-cli loginkane-cli run --url https://your-app.example "Sign up and verify the dashboard loads"More projects in test reliability, fault injection and false greens
Browse all projects

