Kane CLI Project Showcase / Bug reproduction and regression hunting
firstbad
git bisect with Kane CLI's real browser as the judge: it names the first bad commit and proves your agent's fix.
Built with Claude Code CLI (headless claude -p), the only agent run live by Heisbei
Tested with Kane CLI
Demo video by the firstbad team
About firstbad
firstbad finds the commit that broke a user flow and gets it fixed. It is for teams whose coding agents land many small commits that nobody clicked through. You describe one check in plain English (what to do on the page, which value to store, what it should be), give a known-good ref and say how to serve your app. firstbad proves the check fails on the bad ref and passes on the good one, then drives git bisect run with Kane CLI as the oracle, in a disposable git worktree so your checkout is never touched. Bisect visits only some commits. A pick that won't build or never loads is skipped without a Kane run, one that shows a third value is skipped too, and the first bad commit is re-tested with its parent.
Which agent: Claude Code CLI in headless mode (claude -p, limited to reading and editing files). The agent command is pluggable, but only Claude Code has been run live. Its brief is the check, the value Kane stored and the culprit's diff. Kane re-runs the same check on the patched tree, and only a pass is committed, on a new local branch with the report.
What Kane does: it drives a real headless Chrome and stores the value on the page, one time-limited run at a time. That value, compared in code by firstbad, decides every step that reaches a browser, with no human or LLM in between. Kane's own pass or fail does not: with a store-only objective it reports passed even on a page showing the wrong total.
More about firstbad
How to run it: npm install -g @testmuai/kane-cli, kane-cli login --oauth, then clone the repo, npm ci, npm run build, node dist/cli.js demo. The demo generates a 40-commit shop history (the same SHAs every time, since author and dates are fixed) with one planted checkout regression and one unrelated broken stretch, then runs hunt, confirm, fix and proof end to end. Judges use their own TestMu AI login for Kane (kane-cli 0.10.9 or later). Every Kane run spends real credits; the recorded run took 11 runs and about 200 credits. Built and run on Windows 10; the macOS and Linux paths have never been run. No Claude Code? node dist/cli.js demo --agent none reverts the culprit and checks the revert with Kane (tested with a stub Kane only, with no recorded live run). Fallback if Kane cannot run: the committed recorded live run in docs/demo/recorded-run/ (report and full terminal transcript, local paths scrubbed; no evidence packs).
What Kane caught in the recorded live run (25 Nov 2026): the bad ref stored $20.00 and failed, the good ref stored $18.00 and passed. Three commits were skipped because the page never loaded (0 Kane runs, 0 credits). Six bisect verdicts narrowed it to fc2879c "refactor(cart): extract price helpers", confirmed with the culprit FAIL ($20.00) and its parent PASS ($18.00). Claude Code's fix passed on attempt 1 and was committed on branch firstbad/fix-fc2879c in the local demo repo. 11 Kane runs, 188.77 credits as reported by Kane, 200.53 by the balance change. Every Kane run links to its Test Manager share page in the report.
How the agent and Kane talk: firstbad writes the Kane objective itself (do the steps, then store the value; nothing is asserted), reads the stored value from Kane's run_end line in --agent NDJSON, compares it in code, and maps each run to git bisect's exit codes (0 good, 1 bad, 125 skip, 128 abort). The agent never decides pass or fail; the value Kane reads from the patched tree does.
Category: 02 WORKFLOW "Workflows with a spine" (the page's own "git bisect on autopilot" idea), with an agent loop driven only by what Kane reads from the page.
Tech stack: TypeScript (strict, ESM) on Node.js 20+, git bisect run, Kane CLI 0.10.9 (--agent NDJSON run_end), Claude Code CLI (headless), cross-spawn, Vitest. Zero-dependency demo shop on node:http.
What's next: cheaper re-verification by replaying Kane's recorded test where replays prove faithful, and a GitHub Action that runs a hunt when a flow check starts failing.
Community-submitted project. The description and results come from the firstbad team's Kane CLI hackathon submission and have not been verified by TestMu AI.
Test your own app the way firstbad 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 bug reproduction and regression hunting
Browse all projects

