Kane CLI Project Showcase / Agent done-gates and closed fix loops
LoopClose
A self-healing deploy gate that stays closed until Kane CLI proves the release flow in a real browser and feeds NDJSON verdicts back to the coding agent.
- Built by agung suryokusumo
Tested with Kane CLI
Demo video by the LoopClose team
About LoopClose
LoopClose is a zero-bloat deploy gate built with Antigravity for developers and teams shipping with AI coding agents. Most coding agents declare "done" the moment code compiles, without proving the rendered browser flow actually behaves safely.
LoopClose refuses to allow deployment unless a real browser verifies the release candidate and attaches an evidence link. The app is intentionally minimal: one static HTML gate (app/index.html), one agent-controlled build flag (app/config.js), and one cross-platform Python driver (loop.py).
In the flow, Kane CLI drives headless Chrome against the live release gate, asserts the rendered DOM state, and streams machine-readable --agent NDJSON back to the coding agent so verification directly controls whether the build is patched or allowed to ship.
More about LoopClose
Quick notes on how the loop works under the hood:
loop.py runs `kane-cli run ... --agent --headless`, saves the NDJSON output under proof/, and reads the final `run_end` event from stdout (status, credits_consumed, gate text, and test_url). When it sees the seeded bug, it patches app/config.js, serves fresh uncached files from its built-in HTTP server, and runs Kane again. A try/finally block always resets app/config.js back to the fixed build when it exits.
Three real Kane CLI runs are committed in proof/:
01-bug-confirmed.ndjson (15.10 credits): catches the seeded bug where verdict=failed still opens the gate.
02-fix-verified.ndjson (10.60 credits): after flipping LOOPCLOSE_BUG to false, Kane hits the same failed URL and confirms the gate stays closed.
03-deploy-unlocked.ndjson (10.70 credits): with `--verify-open`, loop.py passes Run 2's Test Manager link into `?verdict=passed` and Kane verifies the gate unlocks.
On the live page (https://akuraposo.github.io/loopclose/app/), you can also test the interactive Guest Checkout (WELCOME10) and Sign Up sandbox in good or broken mode. On the fixed build, only https:// share links from lambdatest.com or testmuai.com can unlock the deploy gate; anything else gets blocked.
To run locally (Windows/macOS/Linux):
python loop.py (or python loop.py --verify-open)
python -m unittest test_loop.py -v (9 unit + Playwright Chromium tests, no Kane credits used)
Next step is wrapping this as a GitHub Action pre-merge check that verifies Test Manager links before production deploys.
Community-submitted project. The description and results come from the LoopClose team's Kane CLI hackathon submission and have not been verified by TestMu AI.
Test your own app the way LoopClose 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 agent done-gates and closed fix loops
Browse all projects
Hermes Agent (presets also for Claude Code, Codex, Gemini CLI, Kiro)kane-loopYour AI coding agent isn't done until Kane CLI passes every plain-English user flow in a real Chrome. kane-loop sends each real failure back to the agent until all pass.
MuseShipCheckDeploy-readiness checker for public GitHub repos: ten checks, a score and a grade.