Compiles README steps into executable Kane CLI browser checks, unpacks .evidence archives, and splits documentation drift from code regressions until Exit 0.
ClaimCheck turns product Markdown into executable browser tests and closed-loop repairs for engineering teams, DevRel, and coding agents tired of silent README rot. Who it is for: Maintainers and developers whose quickstarts break when someone renames a UI button or introduces an API regression that mocked unit tests miss. What Kane CLI does in the flow: 1. Compile: ClaimCheck parses numbered and bulleted onboarding steps from README.md with 1-based line numbers and emits a runnable *_test.md spec. 2. Execute: In local Chrome CDP mode, ClaimCheck streams `npx @testmuai/kane-cli@0.10.5 testmd run` with `--headless --agent --bug-detection continue --assertion-failure-mode continue --no-adaptive-heal`. 3. Unpack .evidence: It extracts `run.yaml`, `failure.yaml`, `steps/*/step.json`, `annotated.png`, `*-network.har`, `*-console.ndjson`, and `*-actions.ndjson` from the sealed zip archive. 4. Diagnose & Repair: - Doc Drift: A renamed control ("Create Secret Key" vs "Generate API Token" on line 6) generates a line-anchored README.md PR diff. - Code Regression: A backend fault (POST /api/sandbox/export returning HTTP 500) is packaged with the HAR trace, console log, and selector into a coding-agent repair prompt. 5. Verify Closure: Applies the fixes against the built-in target console (/sandbox) and re-runs checks from Exit 1 to Exit 0.
Agent <-> Kane CLI Loop: ClaimCheck spawns `@testmuai/kane-cli@0.10.5` via a child process, streams live NDJSON execution events to the UI, locates the sealed `.evidence` archive in `~/.testmuai/kaneai/sessions`, and feeds the parsed failure context into two outputs: a unified Markdown PR diff for stale docs and a structured repair prompt (failing route, HTTP 500 body, DOM selector, acceptance check) ready for coding agents like Claude Code, Cursor, or Windsurf. What Kane Caught in the Included Target App (/sandbox): - `baseline-fail.evidence` (Exit 1): Caught UI label drift ("Create Secret Key" instead of "Generate API Token" on README line 6) and a `POST /api/sandbox/export` HTTP 500 serializer regression. - `repaired-pass.evidence` (Exit 0): Confirmed closure after patching both the doc wording and API route. How to Run: - Online: Open https://claimcheck-nu.vercel.app to compile specs, inspect the bundled `.evidence` archives (or drag-and-drop your own `.evidence` zip), inspect frames with the 2.0x reticle, and test the Vellum Cloud Console target at /sandbox. - Local live Chrome CDP: `git clone https://github.com/Pizzylee001/ClaimCheck.git && npm install && npm test && npm run dev` with `LT_USERNAME` and `LT_ACCESS_KEY` set. What's Next: GitHub Action runner that comments line-anchored doc PR suggestions and failure `.evidence` links directly on pull requests.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →