repro-fix makes a coding agent prove a bug in a real browser with Kane CLI before it may fix it, then re-runs the same frozen test to prove the fix.
repro-fix is an open-source CLI for developers who use AI coding agents and want proof instead of "fixed!". It applies an old QA rule: no fix without a failing test. You give it a plain-English bug report. Claude Code (headless) reads the app and writes a plain-English test objective for Kane CLI. Kane CLI is the referee at every step: 1. Reproduce: Kane runs the objective in real Chrome. It must FAIL. If Kane can't make it fail, no code is touched. 2. Freeze: the test is saved and locked (tool deny rules plus a hash check), so the agent can't weaken it. 3. Feedback: Kane's evidence (what it saw, which check failed, extracted page values) goes back to the agent, which fixes the code. 4. Verify: Kane re-runs the identical test until it passes. 5. Regression: Kane re-runs every earlier saved test, so a new fix can't quietly break an old one. Kane infrastructure errors are never counted as a reproduction. Every run writes a report with the red run, the diff, the green run and links to Kane's recorded sessions.
Anything else to add How they talk: the agent writes a Kane objective; repro-fix runs it with kane-cli and parses the verdict, the failed assertion and the extracted values. That evidence goes into the fix prompt, then the same objective runs again. The agent never sees a test it can edit. What Kane caught on the demo shop (real runs, reports in docs/example-runs): - Expired coupon FALL10 was accepted and gave a $1.60 discount. Red, fixed, green. - Searching "mug" in lowercase showed "No products found". Red, fixed, green, then the coupon test re-ran as a regression check. - Pressing minus on a quantity of 1 went to 0, then negative, and the cart total went negative. Red, fixed, green, plus regression checks. How to run: clone the repo, npm install, npm link, then: repro-fix "<bug description>" --no-commit. Run "repro-fix test" to re-run every saved test. It uses your normal Claude Code login (no API key) and Kane CLI. Live buggy demo: https://brightcart-demo.vercel.app Demo video: https://youtu.be/zFcdp9ccEVA What's next: a GitHub Action that runs the saved Kane tests on every pull request, support for other coding agents, and turning GitHub issues straight into repro runs.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →