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

Plumb

Design rules in plain English, checked in a real browser by Kane CLI. The failed step goes back to your coding agent, which fixes the site until the rules pass.

  • Built with Kiro (code), opencode with gpt-6.1-sol (demo site and fixes) by Prabakaran Sivakumar
  • Tested with Kane CLI

Demo video by the Plumb team

About Plumb

Plumb turns design rules into Kane CLI flows and keeps a coding agent working until a real browser agrees the rules hold.

Who it is for: developers and design leads who let AI agents build pages. A rule is a short markdown file: a statement, plain English browser steps and the usual fix. Plumb ships 12 house rules (theme switch, nav submenus, sticky header vs anchors, hero, console errors and more) and you can add your own.

What Kane does in the flow: Plumb compiles each rule to a Kane test and runs them with kane-cli testrun, a Kane policy as the gate and --override-start-url. Kane's failed step, its reason and its suggested change become a fix brief. plumb loop hands the brief to an agent, then checks again. Kane replays saved flows, so a check that cost 387 credits the first time cost 43 the last time.

Real run: an agent (opencode, gpt-6.1-sol) built a four page site. First check 6 of 12 rules passing, after attempt one 11 of 12, after attempt two 12 of 12. Plumb also checked its own web app (7 of 8, then 8 of 8).

Guard: before each attempt Plumb hashes the rules, tests and policy and restores them if the agent edits them.

Run it: git clone the repo, npm run demo. It shows the recorded runs with no Kane account. Built with Kiro and opencode.

More about Plumb

Closed loop: kane-cli testrun (NDJSON) -> report and fix brief -> agent (opencode, Codex, Kiro CLI or any command) -> kane-cli testrun again. Also ships a Stop hook (exit 2 plus the brief), an MCP server (plumb_check, plumb_status, plumb_brief, plumb_rules) and Kiro and Claude Code installers.

Kane features used: testrun, --agent NDJSON, --override-start-url, policies (blocking rules pass, no rule without a check, heal warning), evidence packs (screenshots, step results, console log), replay and adaptive heal.

Measured with Kane CLI 0.10.4: write and run a 3 step rule 47.7 credits and 92 s, replay 1.9 credits and 16 s, a failing rule stops at step 1 for 15 to 19 credits and is written again next time. The demo loop used 624.6 credits in total.

Limits: a model drives the browser so judgement rules can vary between runs. Numbers are single runs on small pages. Kane startup race: once, one of three parallel rules was not judged because Kane was still choosing a project. Plumb now reruns such a rule alone.

Tests: 53 node tests use real Kane event streams as fixtures. Studio: Vite, React, TypeScript, strict CSP, light and dark themes. Apache-2.0.

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

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