Verify the evidence chain
audit_verifyVerify a workspace's hash-linked evidence chain and confirm any append-only ledger matches entry for entry before trusting the record or after an incident.
Instructions
Verify the workspace's whole hash-linked evidence chain and, when the workspace keeps an append-only ledger, check that the ledger agrees entry for entry. Use it before relying on the record, or after an incident. For the verified flag alone, use describe_workspace; to list recent entries, use audit_tail. A failed check is a normal result, verified false with the errors found, and the check reads every entry, so it takes longer as the chain grows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | Yes | Each problem found. Empty when verified. | |
| entries | Yes | Entries checked on the chain. | |
| verified | Yes | True when every hash link verifies. | |
| ledger_agrees | Yes | True when the ledger matches the chain entry for entry. | |
| ledger_entries | Yes | Entries in the append-only ledger, when the workspace keeps one. |