Svels deletes the code your app doesn't need, and Kane CLI proves every cut was safe by walking your real user journeys in a real browser.
AI coding agents only add code, so apps fill up with old components, helpers and packages nobody dares delete: code that looks unused can still load at runtime. Svels is for developers with AI-built apps. Kane CLI does three jobs. Scout: svels scout has Kane explore the app like a new user and write the journeys (*_test.md); each is kept only if Kane authors it and its evidence policy finds real checks. Judge: Svels cuts unused files in batches (delta debugging), and after every cut Kane replays every journey; a cut stands only if all pass. Failures, with Kane's triage, go back to a coding agent for a safer edit. Notary: the final check is judged by a Kane --policy (5 gates) on sealed evidence packs. Demo shop: 15 files, 6 packages and 27 lines cut; Kane caught 3 breaks a static scan would ship. From an empty journeys folder, Kane's own journeys gave the same result, 3/3 verdicts pass. Real projects: AdminLTE 1,724 files, SB Admin 2 1,659, Argon 26 MB, every journey passing. Re-runs replay from Kane's cache for free. We also found a Kane bug (heading-only step reported passed); the Kane team confirmed it and is fixing it: github.com/LambdaTest/kane-cli/issues/250 Try in 20s: npx -y github:imprint-hash/svels demo
How the agent and Kane talk: Svels runs kane-cli testmd run --agent and reads Kane's NDJSON (verdict, failing step, Kane's own bug triage). When Kane fails a cut, Svels undoes it and sends Kane's failing step, triage and every place the code is still used to the coding agent which proposes a safer edit; Kane replays the journeys again. An "automation_bug" triage gets one clean retry before Svels believes it. What Kane caught: deleting themes/light.js blanked the product catalog; deleting promos/welcome10.js made the promo code invalid; the agent's first edit froze the cart badge. All three would have shipped with a static dead-code scan. How to run: npx -y github:imprint-hash/svels demo (no account). On your app: svels scout (Kane writes the journeys), then svels run (dry run + report), then svels run --apply. Live report: https://imprint-hash.github.io/svels/sample-report.html Kane-scouted run report: https://imprint-hash.github.io/svels/scout-report.html What's next: a GitHub Action that runs Svels on every PR and comments Kane's verdict.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →