# How do you get a signed record of what an automation changed?

> Have the automation read each change back from the system of record, then sign the result: what changed, how each change was checked, and when. OpenAdapt signs this receipt for a checked run. Anyone with the public key can check it offline, and it can carry a trusted timestamp and a second signature.

- Canonical: https://openadapt.ai/guides/signed-record-of-what-automation-changed
- Updated: 2026-11-23

## A log isn't the same as a receipt

A log or trace records what the automation did and said: the steps, the prompts, the success message. It can't show a save that went wrong behind the screen. A receipt records what the system of record held after the run, checked by reading it back.

## What a receipt holds

- The outcome, and which checks ran: the right record before the save, and the saved record after it.
- Counts: steps, repairs and model calls.
- Fingerprints (digests) of the program and of the run's report, so a changed file no longer matches.
- The time, to the hour, and the software version.

A receipt is built from a fixed list of fields. It holds no screenshots, typed values, parameters, URLs or free text. Session tokens and credentials are removed from the run's report before it is signed.

## How anyone can check one

1. The receipt is signed with an Ed25519 key, offline by default.
2. A trusted timestamp (RFC 3161) shows the receipt existed at that time, and a second signer can countersign it.
3. If you choose, its fingerprint is logged in the public Sigstore Rekor log, and the entry can be checked offline later.
4. Anyone with the public key checks the signature and the timestamps offline.

### Technical details

The engine commands keep their original names: `openadapt-flow local-seal run` signs, `openadapt-flow countersign add` adds trusted timestamps and a countersignature, `openadapt-flow countersign verify` prints what was checked, and `openadapt-flow local-seal anchor` logs the fingerprint in Rekor. `openadapt verify effect` returns a receipt for one confirmed write by any agent or script.

## Questions

### Does a receipt contain patient or customer data?

No. It holds outcomes, counts, checks and fingerprints, never the values typed or the screens.

### Is a receipt a legal certification?

No. It is a technical record that a check ran and what it found. It isn't a notarial act or a qualified electronic seal.

### Does the receipt grade the run?

No. It records what changed and how each change was checked.

Related: [How do you check what an AI agent actually saved?](https://openadapt.ai/guides/check-what-an-ai-agent-saved) · [Security](https://openadapt.ai/security)

## Sources

1. OpenAdapt fault test, openadapt-flow benchmark/effect_e2e, 2026: faults injected into our own engine on a test record system, 90 runs; 72 left the record wrong. A check of the screen alone passed 54 of those 72; a read-back over the app's REST API passed 9 of them; the full database read caught all 72. A coverage test over a fixed fault list, not a real-world error rate.
