Kane CLI Project Showcase / Test reliability, fault injection and false greens

Spec Delta

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.

  • Built with Codex by IMADEDDINE HAMZAOUI
  • Tested with Kane CLI

Demo video by the Spec Delta team

About Spec Delta

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.

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

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