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.
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`.
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.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →