kane-loop
Skip to main content

Loop

Kane verifies, the agent repairs, Kane verifies again. Runs stream in live from the kane-loop server running on your machine.

Run a check

This page talks to the kane-loop server on your machine. Start it with bun run app, then point it at any URL and describe the check in plain English.

connecting

No live runs yet. Runs appear here the moment your local server executes one — whether you start it from this form or the watcher fires it on a file save.

How the loop closes

  1. 1

    Save a file

    The watcher debounces for 800ms, then fires Kane against the flow.

  2. 2

    Kane fails

    The failing step, its assertion and the trace are written to .kane-loop/failure.md.

  3. 3

    The agent patches

    Claude, Codex, or any command-line agent reads that brief and edits the source. It is told never to touch the flow files — a test weakened until it passes is worse than no test.

  4. 4

    Kane runs again

    Green, or another attempt. After four it bails loudly and hands back to a human.