Kane CLI Project Showcase / Agent done-gates and closed fix loops

Kane-Check

A small web app that publishes its own contract, with Kane CLI flows that walk it in a real browser and a fix loop that reruns Kane after a coding agent edits the code.

  • Built with Cursor cloud agent built the app; Grok Bot fixed it from Kane's failure by Snowden Zeng
  • Tested with Kane CLI

Demo video by the Kane-Check team

About Kane-Check

Kane-Check is a three-gate release seal. You open Preflight, Build and Verify in order, type the passphrase and seal a PASS verdict. The server publishes the same rules at /api/contract (gate order, passphrase, PASS label, a fingerprint), and the page checks that contract on load.

Kane CLI does the verification. Two plain-English flows in kane/ run in headless Chrome: release_gate_test.md walks the three gates and seals PASS, and health_probe_test.md checks /api/health and /api/contract. The unit tests only cover the server, so Kane is the only thing that checks the page in a browser.

Built solo. No dependencies: Node 18+ and Python 3. Run with `npm start`.

More about Kane-Check

How the agent and Kane CLI talk: I changed how the seal button unlocks, on purpose, to stand in for an agent edit that goes wrong (commit "agent: change seal unlock rule in refreshGates"). The five unit tests still passed, because they only test the server. Kane CLI's release_gate flow failed at the step that checks the seal button is enabled: Kane recorded seal_verdict_button_enabled = false, and its screenshot shows all three gates done with the button still disabled. The agent read that failure and reverted the rule (commit "agent: fix seal unlock rule after Kane failure"). The same Kane flow then passed 5 of 5 steps.

Kane runs, all real, all in the repo under kane-evidence/: green release_gate 5/5 (136 s) and health_probe 2/2 (43 s); red release_gate failed (75 s); fixed release_gate 5/5 (65 s). Raw Kane output, session ids and test-case ids are in kane-evidence/RESULTS.md.

Limits: the regression was injected by a prepared patch (demo/regression.patch), not found by accident, and the fix is a one-line revert. Kane's own closing note on the failed run blamed its reading of the button, which was wrong; the failing step and the screenshot are what show the bug. kane_closed_loop.py (model-driven patching) was not used for this run.

How to run: `git clone https://github.com/Snedz/kane-check && cd kane-check && npm start`, then `bash scripts/run_kane_flows.sh` with Kane CLI logged in. No login or paid service is needed to run the app.

What's next: more flows (mobile, a second page), and running the same check on every save.

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

Test your own app the way Kane-Check 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"