Kane CLI Project Showcase / Payments, checkout and commerce correctness

Tickmark

GST and US sales tax invoices checked the way your client reads them: Kane CLI reads each invoice in a real browser, code re-adds every number, and Claude Code fixes it.

  • Built with Claude code by N DIVIJ
  • Tested with Kane CLI

Demo video by the Tickmark team

About Tickmark

Tickmark is an invoice maker and checker for India (GST) and the US (sales tax), for freelancers, small businesses and the developers who build billing software. Its tax rules are plain-English Markdown rulebooks (CGST rule 46, nexus, taxable lines, exemption certificates) that anyone can read and edit.

Kane CLI is the verifier. It opens every invoice and user journey in a real Chrome and checks each rule as its own assertion. Kane is great at reading and unreliable at arithmetic, so Kane only reads the numbers and dates, and code re-adds every sum and counts every due date. Kane's reader is exported to Playwright once, so that math check then runs offline for 0 credits.

Agent: Claude Code. A Stop hook runs the Kane gate whenever Claude tries to finish. If Kane fails a check, Claude gets the bug title, root cause, evidence, suggested fix and recording, fixes the app code, and Kane re-checks.

Results: on 5 planted tax bugs Kane caught 5/5, unit tests 2/5. On a real invoice from a 531-star open-source GST app we didn't write, Kane confirmed the GST was right and caught the invoice contradicting itself (payment due within 7 days, due date 15 days out).

Also: an MCP server (check_document, check_invoice_against_contract, verify_project), tickmark audit for any invoice or contract PDF, and green CI.

More about Tickmark

How the agent and Kane talk: a Claude Code Stop hook (cli/tickmark.mjs hook) runs the gate when Claude tries to finish. Unchanged invoices are skipped by a content-hash cache. A real product bug blocks Claude with Kane's report; a check Kane marks inconclusive is shown once to a human instead of blocking; after 3 failed attempts it hands over. A real transcript is in docs/evidence/closed-loop.md: Claude applied a teammate's refactor, Kane caught Mumbai clients getting CGST+SGST instead of IGST, Claude fixed it, Kane passed it.

What Kane caught: 5/5 planted bugs vs 2/5 for unit tests (docs/evidence/prove.md); arithmetic errors in a vendor PDF; on the open-source app, a terms vs due-date contradiction and a missing signatory line (docs/evidence/real-world.md). We also list what Kane missed: it passed the 7-vs-15-day contradiction until we moved date math into code, and passed a flow on a bug our script reproduces. See Honest limits in the README.

Run it: npm install, npx playwright install chromium, npm run demo (15 s, no account). With Kane: npm run gate, npm run audit -- examples/us-vendor-invoice.pdf, npm run prove.

What's next: an npm package (npx tickmark audit invoice.pdf), EU/UK VAT and e-invoicing rulebooks, a GitHub Action that comments Kane's verdict on PRs, and the gate packaged for apps that aren't invoices.

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

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