The machine evidence ledger: what a hash chain proves and what it misses
A machine evidence ledger is an append-only record in which every entry carries a hash that depends on the entry before it, so that editing any record breaks the chain from that point on.
The problem
Machine evidence is only useful if a reviewer can tell it was not rewritten after the fact. A hash chain answers part of that: change a record and every link after it stops matching, and verification names the sequence number.
The repository’s attestation guide states the part a chain does not answer. It does not detect removal. An administrator with write access to the database can rewind the ledger, drop the last records, append afresh, and hand over a ledger that verifies perfectly. This is a property of chains in general, not a defect of one implementation, and the guide says so.

How it works here
- One account, one ledger, one writerEach account’s evidence lives in its own ledger file; the shared operator ledger is separate and is not tenant data. Exactly one writer touches a ledger file, because two writers would fork the chain.
- Verify the chain
assurance art14 verifyandGET /v1/ledger/verifywalk the whole chain; the MCP toolledger_verifydoes the same read. A ledger whose chain does not verify is never reported clear: fleet reports over it readneeds_review.Capability: evidence.ledger_verify - Check a file you were handed
assurance evidence verifyandPOST /v1/evidence/verifyre-check an export or bundle and store nothing. Exit 0 verified, 1 does not verify, 2 unreadable, 3 nothing inconsistent was found but something asked for is not established.Capability: evidence.verify - Anchor the headA signature over the ledger head, made by a key the database holder does not have, turns a rewind into a visible contradiction.
assurance attest signrecords it in an attestation log;assurance attest verify --ledgerasks whether the ledger still holds every signed head.Capability: attest.signattest.verify - Report completeness honestlyAn export checked without a trusted public key reports completeness as not checked and exits 3, never as a pass. With a signed head but no skeleton it is also exit 3. An anchor covers nothing appended after it.
- Back up, then prove the restore
assurance ops cycletakes a backup of every ledger into a new directory and verifies it at once; the manifest records each ledger’s length and head link hash. The operations guide says a backup is only a backup once a restore has been shown to work, and prescribes a drill on a scratch copy.Capability: ops.cycleops.status - Export for someone else
assurance tenant exportwrites the ledger, a whole-ledger evidence bundle and the attestation log into a manifest-hashed directory, andassurance tenant verify-exportre-hashes it.Capability: tenant.exporttenant.verify_export
What you get
You get a ledger that detects editing on its own, and detects removal once a head has been signed and kept outside the database. The artefacts are the ledger file, an evidence bundle, an attestation log and a backup manifest.
A third party can check an export without installing the product: scripts/verify_export_standalone.py uses only the Python standard library, reads end to end, opens no network connection, and is deliberately narrower than the product verifier. It exits 0 only with a trusted public key and a signed head that the signer read from the ledger; otherwise it says completeness was not checked.
What it does not establish
- That a chain with no signed head is complete. Without an anchor, deletion of the tail is undetectable and completeness is reported as not checked.
- That records appended since the last attestation are intact; they rest on the chain alone until the next signature.
- That the records were true when written. Custody is not content.
- That a hosted export is anchored. It embeds an anchor only if the operator signed a head read from that account’s own ledger; until then its completeness is not checked.
- That a restored backup is current: anything appended after the backup is lost, and the guide says to record that.
Who acts
Software appends, hashes, verifies and reports. People decide when to sign, who holds the key and how often to anchor: the attestation guide says to sign on a cadence matching how much history you are willing to lose the ability to defend. Restore drills and retention are the operator’s decisions; the product deletes nothing automatically.
Status
The verification surfaces are available on the CLI, the HTTP API and MCP. Backup and export tooling is operator tooling on the CLI only, by design. Hosted counter-signing needs a service key that no deployment has today.
| Capability | CLI | HTTP API | MCP |
|---|---|---|---|
| Verify the evidence chain | availableart14 verify | availableGET /v1/ledger/verify | availableledger_verify |
| Check an evidence file you were handed; stores nothing | availableevidence verify | availablePOST /v1/evidence/verify | availableevidence_verify |
| Attest the current head of a ledger | availableattest sign | availablePOST /v1/ledger/attest | by design |
| Check an attestation log | availableattest verify | availablePOST /v1/ledger/attest/verify | availableattest_verify |
| Print the attestations, checking nothing | availableattest log | availableGET /v1/ledger/attest/log | availableattest_log |
| Run one operator cycle (intel refresh with --live, watch, anchor, backup + verify) and append its record | availableops cycle | by design | by design |
| Export one account's ledger, evidence bundle and attestation log into a manifest-hashed directory | availabletenant export | by design | by design |
| Re-hash a tenant export against its manifest and re-verify the copied chain | availabletenant verify-export | by design | by design |
Available means the command, route or tool exists in this build. By design means the surface is absent on purpose, for the reason given on the capabilities page. Planned is a known gap.
Questions
- Does a hash chain stop someone deleting records?
- No. A chain detects editing. Deleting the newest records and rebuilding the chain from the start yields a ledger that verifies. Only a signed head, made by a key the database holder lacks and kept elsewhere, exposes it.
- What does verifying an unsigned export tell me?
- That the file is internally consistent. Completeness is reported as not checked, with exit 3, because anyone holding the file could rebuild a consistent chain with entries left out.
- Where does tenant data live?
- In a ledger per account. The shared ledger belongs to the operator and is not tenant data.
- Does the product delete old ledgers?
- No. The only code path that removes a tenant’s files is an explicit delete run by a named operator after a verified export.