When the spec changes, your green suite lies. Kane CLI proves it in Chrome, Codex fixes the app, and the same hash-locked test proves the fix.
Spec Delta: when the spec changes, your green suite lies. What it does: `node bin/spec-delta.mjs` closes the loop between a spec, Kane CLI and a coding agent. When SPEC.md changes, it runs `kane-cli maintain reconcile` so Kane designs the tests the change calls for. It runs them in Chrome with `kane-cli testrun run`. It then sends each failure to the agent with the failed step, Kane's verdict, the screenshot from the evidence pack and the spec diff. After the fix, it reruns the same hash-locked test files and proves the result with `kane-cli cover`. A guard snapshots the spec, the tests and the variables before the agent runs, and reverts any change to them, so the agent can only fix the app. Demo: Stayline, a small booking app. The refund cutoff moves from 24h to 48h. The old suite stays green. Kane designs 47h, 48h and 49h boundary tests, and the 47h test fails in Chrome: booking #8 was refunded 130 €. Codex changes the cutoff in src/policy.js and adds unit tests. The same test (sha 2af819b3f98e) passes, and coverage goes to 10/10 criteria proven. The tags spec-v1-green, spec-v2-red and spec-v2-green show each state, and `npm run demo` replays red, fix and green. Agent used: Codex CLI (OpenAI). What Kane does: it designs the test suite from the spec (reconcile), runs every test in a real Chrome, produces the verdict and screenshot that the agent reads, and proves acceptance-criteria coverage before and after the fix.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →