Kane CLI Project Showcase / Test reliability, fault injection and false greens

chaos-kane

chaos-kane breaks your app's API with Kane CLI and checks what the user was told against what the backend really did, then hands the evidence to your coding agent.

  • Built with Claude Code by Steve
  • Tested with Kane CLI

Demo video by the chaos-kane team

About chaos-kane

AI coding agents say "errors are handled" and nobody checks. chaos-kane is a fault proxy plus Kane CLI. The proxy sits in front of a running web app and breaks one API call: HTTP 500, no answer, a garbage or empty reply, a dropped connection, or a reply lost after the save. Kane drives the real user flow in Chrome and records what the page said. A separate harness then compares three facts: the page text, the browser's own network log, and what the backend really stored. That catches fake successes ("Order placed!" after a 500) and duplicate orders after a retry.

Kane only observes; it never judges. Anything the evidence cannot prove is reported as "unable to verify", never as a pass.

It is for anyone letting an agent write checkout, booking or sign-up flows. Results: our demo shop survived 1 of 7 injected failures before one fix and 7 of 7 after. On Conduit, the RealWorld reference app (not our code), it survived 0 of 5 (a blank page on a 500, a 404 page on a bad reply) and 4 of 5 after a small fix.

It learns which request to break from a baseline run, so a login is left alone. `chaos-kane audit` recomputes any saved verdict from its evidence, free and offline.

More about chaos-kane

How the agent and Kane talk: when something fails, chaos-kane writes fix-brief.md (the evidence and what a correct fix looks like) for any coding agent. A stop hook runs Kane when the agent tries to finish and blocks it until the checkout survives; an MCP server (chaos_check, chaos_doctor, chaos_scenarios) lets any agent run the check itself. A baseline compare fails CI only on new failures.

What Kane caught: fake success on a 500, a duplicate order after a lost reply, and on Conduit a blank page and a 404 page where an error should show. Both were verified live inside a Claude Code session: the stop hook blocked a deliberately broken checkout with Kane's evidence and let the fixed one through, and a chaos_check call through the MCP server completed in about 2.5 minutes (the baseline and a 500 both survived).

Run it: Node 22, Chrome, npm install -g @testmuai/kane-cli, kane-cli login, then clone the repo and run npm run doctor, then npm run chaos (about 120 to 240 credits; --dry-run shows the cost first). npm run audit -- reports/replay-before is free and offline.

Next: one-command wiring into more agents, and turning a failure into a permanent test.

Community-submitted project. The description and results come from the chaos-kane team's Kane CLI hackathon submission and have not been verified by TestMu AI.

Test your own app the way chaos-kane 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"