When an AI agent issues a refund, deletes a record or sends a message, the only witness is the log. No person watched the decision. The model cannot explain itself in a way an auditor would accept. What remains is a record of what was asked, what rule applied, who approved it and what happened.
That record is about to carry a lot of weight. Auditors will use it to test controls. Regulators will ask for it after an incident. Insurers will price cover from it. Customers will ask for it in contract reviews. And every one of those readers has the same problem: the record was written by the organisation whose behaviour it describes, on systems that organisation controls.
This post is about closing that gap. It explains how to build a record of AI decisions that an outside party can verify without trusting the people who wrote it, using three techniques that are well established in other fields: hash chains, digital signatures and write-once storage. In Fail closed we argued that a decision whose record cannot be written should not run. Here is what the record is.
What an ordinary log proves
Start with what most systems have: rows in a database or lines in a log file. They record events in order with timestamps. For debugging, they are fine.
As evidence, they prove very little. Anyone with write access can change a row, delete one or insert one, and nothing in the remaining data shows it. Database administrators, attackers with stolen credentials and well-meaning engineers fixing a bad record all look the same afterwards. An outside reader of such a log has to trust the operator completely. That is not evidence. It is testimony.
Good evidence has to answer four questions, each harder than the last:
- Is the record in the order it was written, with nothing changed?
- Who wrote each entry?
- Is anything missing?
- Can someone outside the organisation check all of this alone?
Each technique below answers one more of them.
Layer 1: the hash chain
A cryptographic hash function turns any input into a short fingerprint. Change one byte of the input and the fingerprint changes completely, and it is not feasible to find a different input with the same fingerprint. SHA-256 is the common choice.
A hash chain uses this to link events together. Each event's hash covers its own fields and the hash of the event before it. So event 2's hash depends on event 1, event 3's on event 2, and so on.
Now an edit is visible. Change the amount in event 2 and its hash changes, which breaks event 3's link, which breaks event 4's, and so on to the end. A verifier walks the chain, recomputes every hash and reports the first place it breaks.
In practice, a few design details matter:
- What goes into the hash. Everything that matters for the decision: the tenant, a sequence number, the event type, the decision it belongs to, the full payload, the previous hash and the timestamp. Fields outside the hash can be changed silently.
- Canonical form. The same event must always produce the same bytes before hashing, or two honest systems will disagree. That means a fixed field order and encoding.
- One chain per tenant. Customers' records should not be entangled, and a verifier for one customer should not need another's data.
- Append only. Events are never updated or deleted. A correction is a new event that refers to the old one.
A hash chain has a limit that is easy to miss. It proves integrity to anyone who cannot recompute it. But whoever can write to the database can also edit an event and then recompute every hash after it. The chain is intact again, and the edit is invisible. A chain on its own proves order and integrity to the operator. It proves nothing to someone who does not trust the operator.

Layer 2: signatures
A digital signature binds data to a private key. Anyone with the matching public key can check that the data was signed by that key and has not changed since. Without the private key, a valid signature cannot be produced.
Signing each event closes the recompute problem. If every event's hash is signed when the event is written, an attacker who edits an event and recomputes the chain also needs to re-sign every event after it. Without the signing key, they cannot.
Three design choices make signatures work as evidence.
Sign the hash, inside the write. The signature covers the event's hash, which already covers every field and the previous hash. And it is produced in the same database transaction that writes the event. If signing happens afterwards, there is a window in which an event exists unsigned, and a crash in that window leaves it unsigned forever: a gap every auditor will ask about.
Fail closed when signing fails. If the signing service is unavailable, the transaction rolls back: no event, no change. The decision is refused and the action does not run. This is a direct application of the principle that an action nobody can later prove was checked should not happen.
Protect the key properly. A signature is only as strong as its private key. A key in a configuration file is fine for development, but anyone with access to the server can use it. For evidence an outside party relies on, the key belongs in a managed key service or hardware security module, where it can be used to sign but never read. Ed25519 is a good default algorithm: small keys and signatures, no choice of hash or encoding to get wrong, and support in key services and in every standard cryptography library.
Keys also need to rotate. When they do, the verifier must keep every public key that has ever signed, with the period it was in use, so older events still verify and a retired key cannot be used to sign events dated after its retirement.
The gap signatures leave
Signatures answer the second question, who wrote each entry, and they make silent edits impossible without the key. They leave two problems.
The first is the key holder. Whoever controls the signing key can still rewrite history and sign it again. If that is the operator, an outside party is still trusting the operator.
The second is truncation. Each signature covers the past, not the future. Someone who deletes the newest events leaves a shorter log in which every remaining event checks out perfectly. Nothing in the chain says it used to be longer.
Both are answered the same way: by putting a copy of the record somewhere the operator cannot change.

Layer 3: sealing to write-once storage
Object storage services offer a retention lock, often called WORM, for write once, read many. In compliance mode, an object cannot be changed or deleted until its retention date, by anyone, including the account owner. Amazon S3 Object Lock in compliance mode is the best-known example. The distinction from governance mode matters: governance mode can be lifted by a sufficiently privileged role, so it still depends on the operator's own permissions.
Sealing writes batches of events to that storage on a schedule.
Each seal is one object holding a run of events, with a header that records the first and last sequence numbers, the count, the hash before the first event and the hash of the last. Nothing in it depends on when it was written, so the same events always produce the same bytes. A retry is safe, and anyone can rebuild a seal from an export and compare.
Before writing, sealing checks that the batch continues the chain from the last seal and that every hash recomputes. If not, it refuses, because sealing a tampered chain would put the tampering beyond anyone's reach.
Verification then compares the database with the seals. Seal records must follow on from each other. The newest sealed object is read, its checksum compared, its own chain checked and every event in it compared with the database. Because each hash covers the one before, the newest seal pins every event before it. Deleted or rewritten sealed events are caught, even if the attacker holds the signing key.
Two properties of sealing are deliberate. It runs after the decision commits, so a storage outage never stops an agent; failed seals are retried and reported, and the events wait, signed, for the next run. And the events written since the last seal, the unsealed tail, are reported openly as unsealed rather than hidden. The tail is the honest limit of the scheme: it is bounded by the seal interval, a few minutes, and the verifier says how long it is.
Layer 4: verification without us
The final question is whether someone outside the organisation can check all of this without help. That is what makes evidence different from a report.
Three things make it possible:
- An export. The full log for a tenant as JSON lines: a header with the event count, the key ids and the seal records, then one line per event with exactly the fields that were hashed and the signature.
- Public keys, supplied separately. The verifier takes the public keys as their own files, never from the export. Whoever could rewrite the log could also rewrite a key inside it.
- An independent verifier. A small, standalone program, short enough for an auditor to read in full, with no dependency on the operator's code, database or services. It recomputes the chain, checks every signature against the supplied keys, and checks the export against seal objects the auditor downloads from the locked storage directly.
Here is the shape of a single exported event, simplified:
{
"seq": 1842,
"type": "decision.made",
"decision_id": "dec_7f3a",
"payload": {
"agent": "support-bot",
"tool": "refund",
"params": { "order_id": "ord_2291", "amount_minor": 24000 },
"outcome": "ask_human",
"reasons": ["refund-needs-approval"],
"policy_version": 14
},
"prev_hash": "9c07…",
"hash": "e2b3…",
"created_at": "2026-11-27T10:42:07.118Z",
"signature": "…",
"signing_key_id": "kms:…",
"signature_alg": "ed25519"
}A second implementation of the verifier is a feature, not duplication. If the operator's own check and an independent one agree on the same tampered data, the auditor has reason to trust both.
Why this matters for governance
Every major framework for AI governance expects records, and increasingly expects them to be trustworthy. The EU AI Act requires high-risk AI systems to allow automatic recording of events over their lifetime, so that their operation can be traced. ISO/IEC 42001 asks for documented evidence that controls operate. The NIST AI Risk Management Framework's Measure and Manage functions depend on reliable data about how systems behave. AIUC-1, a standard written for AI agents, is built to support certification and insurance, both of which depend on evidence a third party can rely on. Telemetry standards such as OpenTelemetry carry the operational view; the evidence log carries the accountable one.
A mapping from records to these frameworks helps an audit. It is not a certification or legal advice, and it should say so. But a record that can be verified independently changes the conversation with auditors from "show us your logs" to "here is the export, the keys and the tool; check it yourself". Our guide to AI agent governance covers the frameworks, and Governance across jurisdictions shows how one record can serve several regimes.
Why it matters for risk and insurance
Evidence is also the raw material for measuring and pricing risk. A risk score for an agent is only as good as the record it is computed from. Measuring agent risk explains how Riskbound Watch builds an explainable score from the decision log, and our guide to AI agent monitoring covers what to track. An insurer asked to cover an agent's actions will want the same record, in a form it does not have to take on trust. Insuring autonomous agents describes how Insure turns the record into an indicative price and an insurer pack, with cover through partner insurers still ahead, and our guide to AI liability insurance covers the basics.
How Riskbound implements it
In Riskbound, every decision, approval and result is an event in an append-only, per-tenant hash chain, written in the same transaction as the decision itself. Each event is signed at append time with Ed25519; signing failures refuse the decision. Retired public keys are kept so older events still verify. Sealing to S3 Object Lock in compliance mode, on a schedule, closes the truncation and key-holder gaps for sealed events. A verify endpoint reports the first broken event and why, the signature counts and the seal status, including the unsealed tail. A standalone verifier checks an export with public keys and seal objects the auditor supplies.
The core is open source under Apache 2.0, so the scheme can be read and tested, not just described. Signing with a managed key service and sealing to locked storage are part of the Enterprise edition. The decisions being recorded come from Riskbound Control, described in Designing a control plane for AI agents.
Our thesis explains why we think a verifiable record is the foundation for both governance and insurance of AI agents. The manifesto states the principles, our comparison pages show how this differs from ordinary observability, and the about page explains how we work with design partners.
An agent's decisions will be questioned. The only choice is whether, when they are, the answer is a record someone can check, or a promise someone has to believe.



