For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

Evidence Packs

Every kane-cli run produces an evidence pack: a single sealed .evidence file containing everything about the run — the test definition, a result summary, per-step screenshots (plus annotated copies highlighting what the agent acted on), browser console and network logs attributed to each step, run logs, and on failures a per-step failure record with the error, page state, and pointers into the logs.

A pack is a self-contained zip. You can open it in the hosted viewer, share it with a teammate, archive it in CI, validate it, or merge several packs into one.

What's inside a pack

Opened in the viewer (or unzipped), a pack contains:

  • The test definition — what was asked of the agent.
  • A result summary — status, duration, per-step outcomes, tags, who ran it (user name/email), a share link, and the environment (browser resolution, OS version).
  • Per-step screenshots — the page as the agent saw it, plus an annotated copy highlighting the element the agent acted on.
  • Browser console and network logs — captured for the whole run and attributed to the step that produced them.
  • Run logs — the CLI and runner logs for the execution.
  • Failure records — on failed runs, a per-step record with the error message, the page state at failure, and references into the console/network logs.

For a mobile run, the result summary records the device in the run environment, for example the device model and OS version.

note

The pack is the only place run artifacts live. There is no separate per-run log directory on disk.

Where packs live

Every run except testrun run seals a pack in its session directory:

~/.testmuai/kaneai/sessions/<session-id>/evidence/<execution_id>.evidence

Runs you keep are additionally copied into the project store in your working directory:

<cwd>/.testmuai/evidence/<execution_id>.evidence

What lands in the project store depends on the surface:

SurfaceCopied to .testmuai/evidence/?
kane-cli run / TUI sessionOnly when the session is named (--name, or the save prompt at exit)
kane-cli testmd runAlways
kane-cli testrun runAlways (the pack is created directly in the store)

An interactive TUI session maps to one pack: it accumulates every run in the session and seals when you /exit or start over with /new.

If kane-cli crashes mid-run, the next start automatically sweeps incomplete or orphaned packs. Packs belonging to live concurrent processes are untouched. There is nothing to clean up by hand.

The kane-cli evidence commands

CommandWhat it does
evidence serveServe one or more sealed packs to the hosted viewer from a localhost-only server
evidence validateCheck a pack's integrity and completeness against a profile
evidence mergeCombine several packs into one

Publishing to the dashboard

Runs that upload to Test Manager attach their sealed pack automatically. Replayed testmd runs and testrun executions publish their packs to your project as well, so the dashboard shows execution evidence even for cache-replayed runs that never re-author.

Next steps

Test across 3000+ combinations of browsers, real devices & OS.

×
Schedule Your Personal Demo
Book Demo

Help and Support

Related Articles