CLI · Evidence
Inspect evidence¶
Every transaction receives a time-ordered run ID and a durable capsule under <root>/.agentdiff/runs/.
Inspect a capsule¶
Summary output includes the intended task, command, process return code, safety outcome, blast radius, runtime mode, creation time, and capsule-integrity state.
Run: 20260811T110755Z-e45c0d69a41e
Task: Update the parser
Status: denied (deny)
Blast radius: 81/100
Return code: 0
Capsule integrity: true
Inspect as JSON¶
Prefer JSON for CI, regression analysis, or a future evidence viewer. Do not parse the presentation-oriented summary text.
Verify before trusting¶
verify checks the capsule checksum manifest and fails when a recorded file is missing or no longer matches its digest.
Capsule contents¶
The exact set varies by backend and run, but transaction capsules include evidence such as:
| File | Purpose |
|---|---|
before.json / after.json |
Secure filesystem manifests |
metadata.json |
Run identity, task, command, and timestamps |
policy.json |
Versioned policy used for evaluation |
runtime.json |
Process/runtime observations |
result.json |
Mutations, decisions, score, and outcome |
events.jsonl |
Append-oriented runtime evidence |
integrity.json |
Checksum manifest for capsule files |
recovery-events.jsonl |
Recovery audit events when rollback runs |
Note
Integrity is tamper-evidence, not a signature or remote attestation. Anyone who can rewrite the capsule and its checksum manifest can produce a new internally consistent capsule.