Using Claude Code, Cursor, or another coding agent? Paste this into your prompt to run cross-browser and real-device tests, debug sessions, and wire up CI on the TestMu AI cloud:
Requires kane-cli 0.6.1 or later (
kane-cli --version). On 0.6.0 these commands fail after a fresh install — upgrade.The loop
The vocabulary
Assurance vs generate
kane-cli has two ways to author tests, for two different jobs:
kane-cli generate— quick test cases from a plain-language description. One prompt in, scenarios and cases out. Great for exploring coverage of a feature you can describe in a sentence.- The assurance lifecycle — tests derived from your actual requirement documents, with every claim cited, every proposal reviewed, and a permanent, auditable link from each test back to the criteria it verifies. Use it when you need to answer “what exactly is covered, and how do we know?”
generate.
The store: .context/
The assurance commands work over a local store in your project directory, created on first ingest:
- It is append-only: nothing is ever deleted or rewritten. Edits create new versions; mistakes are reverted with compensation records.
kane-cli context explaincan replay the full history of any node. - It is yours and local: sources, use-cases, designs, and review verdicts live in your project, not on a server. The extract and design agents run against the KaneAI service using your login, but the store they commit to is on your disk.
- Keep
.context/out of git merges. The store is single-writer and not git-mergeable — two branches appending records will corrupt it on the next read. Gitignore it; share by re-ingesting sources. kane-cli context fsckverifies the whole store;kane-cli context rebuildregenerates the read caches from the verified records.
What costs credits
context extract, design tests, and maintain reconcile (which embeds them) call the KaneAI agent and consume credits (kane-cli balance to check; each agent turn’s cost is reported as it happens). Everything else — list, view, review, explain, cover, fsck — is local and free.
Next steps
- Building the context graph — ingest, extract, review.
- Designing tests — from a use-case to runnable
*_test.mdfiles. - Coverage — proven vs owed, and how designed tests join execution.
- Maintaining the suite — reconcile a changed source.
- Automation — running all of this headless in CI or from an agent.