The gate's record of what agents tried, what it allowed and what a person approved is evidence: for an audit, for an incident, for the count that shows a fine-tune worked. Evidence that can be edited quietly is not evidence. From today each decision carries a fingerprint computed from its own content and from the fingerprint of the decision before it in the same session, and each person's answer carries its own. A single call recomputes the whole chain and names the first decision that no longer matches. It runs in our hosted service and in the version a company installs inside its own network.
## Why it matters
When an agent does something it should not have done, the first question is what happened: what it tried, what the gate decided, who approved what and when. The gate keeps that record for every action. But a record kept in a database can be changed by whoever has access to the database, and a record that can be changed without a trace cannot settle an argument, satisfy an auditor or prove that the number of blocked actions really went down after a fine-tune.
## What we did
Every decision is now sealed to the one before it. When the gate decides on an action, it computes a fingerprint (a SHA-256 hash) over everything it decided and why: the action, the way it read it, the facts about the session, the outcome, the rules that fired, the reply the agent received, the version of the rule set and the time. The previous decision's fingerprint is part of the input, so each decision depends on the whole history before it. When a person answers a held action, or a remembered answer does it for them, the answer gets its own fingerprint on top of the decision's.
A single call recomputes the chain of a session from the first decision to the last. If every fingerprint matches, it says so and returns the last one. If not, it names the first decision that no longer matches and why: a decision changed, a decision missing, or an answer rewritten.
## What we checked
- On a test database we took real decisions and tampered with them by hand in three ways: changed an outcome from refused to allowed, deleted a decision from the middle, turned a person's "no" into a "yes". Each time the check pointed at the right decision.
- In production, a session with an allowed action, a held action refused by a person and a refused action checks clean: three decisions, all sealed.
- The replies agents receive did not change.
## What it does and does not do
- **It shows a change; it does not prevent one.** Someone with full access to the database could recompute every fingerprint from the start. That is why the check returns the last fingerprint: kept outside the database (in a ticket, in a write-once store, with an auditor), it makes a rewrite of the whole chain visible too.
- **Decisions stored before 19 November 2026 have no fingerprint.** They are counted apart and not checked.
- **Where it runs:** in our hosted service, and in the version a company runs inside its own network on its own database, where an existing installation gains the new fields when it restarts, without touching the records it already holds. The gate used as a library inside an application already wrote its log this way, with an optional secret key on top.
## Technical detail
Each decision's fingerprint is SHA-256 over the previous fingerprint of the session (64 zeros for the first) and a canonical JSON of the decision's content, with the time in UTC. A person's answer is hashed over the decision's fingerprint, the answer, its time and who gave it. The check walks the session in order and also refuses a gap in the sequence numbers. Storing a decision costs one extra indexed read of the session's last fingerprint, inside the lock the session already takes.
This update is not available.