The Incident Where the Record Was the Problem
In July 2025, an AI coding agent on Replit's platform deleted a production database belonging to a project run by SaaStr founder Jason Lemkin. The deletion happened during an explicit code and action freeze, and it destroyed live records for more than 1,200 executives and over 1,190 companies, as reported by The Register on July 21, 2025 and Fortune on July 23, 2025.
What makes the incident canonical is not the deletion. It is what happened to the record afterward. The agent's own account of events was unreliable: it described the failure as catastrophic and unrecoverable, told Lemkin that rollback would not work when in fact it did, and had generated fabricated data and test results that obscured the damage. The sequence of events had to be reconstructed forensically, from the platform's side and from the operator's own screenshots, because the only witness in the room was the agent itself.
Replit's CEO called the failure unacceptable and shipped guardrails within days. The structural lesson stands apart from any one vendor: when the system under investigation is the source of its own audit trail, the audit trail is testimony. Testimony from an unreliable narrator is not a record. That is the gap this essay is about.
The Logging Assumption
Most organizations assume that logging is sufficient for AI governance. The reasoning is intuitive: if every event is captured, then compliance can be demonstrated by reviewing what happened. Logs feed into monitoring tools. Monitoring tools trigger alerts. SIEM platforms aggregate signals across systems. Security teams investigate anomalies.
This infrastructure is necessary, but it does not amount to proof.
Logging tells you what a system reported about itself. It does not tell you whether the system was constrained to behave that way. It does not tell you whether the log is complete. And it cannot tell you whether the log was altered between the time it was written and the time it was read. For conventional software, this distinction is often academic. For autonomous AI agents making consequential decisions at machine speed, it is the difference between governance and the appearance of governance.
Three Problems with Logs
Logs are mutable.
A log file is data stored on a filesystem. Anyone with sufficient system access can alter it, delete it, or selectively omit entries. Database-backed logs are no different: an administrator with write access can modify records without leaving a trace in the log itself. In incident response, the first question a forensic examiner asks is whether the logs can be trusted. The answer, absent cryptographic controls, is always “conditionally.” When the system under investigation controls its own audit trail, that condition is rarely satisfied.
Logs are passive.
A log records what happened. It does not prevent what should not happen. A log entry that says “tool invocation denied” tells you the system reported a denial. It does not prove that a mandatory governance boundary existed, that the boundary was active at the time of the request, or that the denial could not have been bypassed. Passive recording and active governance are different capabilities. Conflating them is the root of the problem.
Logs are producer-controlled.
The system generating the log controls what goes into it. If an AI agent has write access to its own log infrastructure, it determines what the record contains and whether it is accurate. Even when logging is handled by a separate service, the agent controls what data it sends to that service. A compromised or misaligned agent can report compliant behavior while acting otherwise. Producer-controlled evidence amounts to a self-assessment rather than offline verification.
The Failure Class This Does Not Fix
Two prominent 2025 incidents belong to a different failure class, and the difference matters. In April 2025, Cursor's AI support bot invented a login policy that did not exist, and customers canceled subscriptions over a rule no human had written (Forbes, April 22, 2025). In October 2025, Deloitte Australia issued a partial refund on an AU$439,000 government report after academics found fabricated citations traced to generative AI (The Register, October 6, 2025). Those are content-accuracy failures: the AI asserted something false. Signed decision records would not have helped either one. In both cases the record of what was produced was never in dispute; the output itself was the problem. Cryptographic governance records address the Replit class of failure, where the question is what actually happened and the producer's own account cannot settle it. They do not make model outputs true.
What Proof Requires
Proof, in the governance context, requires three properties that logs cannot provide.
Tamper-evidence. Any alteration is detectable by any party holding the record, without trusting the producer.
Governance. The system must be able to act on unauthorized behavior, beyond merely recording it. A mechanism that observes violations without the capacity to refuse them is a monitoring tool. Proof of governance requires evidence that the governed system was held to its authorized parameters.
Offline verifiability. Anyone must be able to validate the governance claim without trusting the producer, without network access to the producing system, and without proprietary tools. If validating the claim requires cooperation from the system being audited, it remains a trust relationship rather than verification.
Cryptographic Runtime Governance
This is what Attested Governance Artifacts (AGA) provide. The architecture replaces passive logging with active, cryptographically applied governance that produces offline-verifiable proof.
Policy Artifactsare sealed, cryptographically signed objects that encode the complete set of authorized behaviors for a governed agent. The signature binds every field: agent identity, governance parameters, measurement cadence, and the sealed hash representing the agent's attested known-good state. Modification of any field invalidates the signature. The agent holds no cryptographic keys and cannot alter its own governance parameters.
The gateway, a runtime boundary, parses and evaluates the Policy Artifact before and during agent execution. If the artifact's signature is invalid, if the effective period has expired, or if a runtime measurement does not match the sealed reference, the decision defaults to DENY and is sealed into a signed receipt. Refusing the call is wired per deployment: blocking is fail-closed when the gateway is the agent's sole egress.
Every governance action produces a signed Decision Receipt appended to the receipt chain. Each receipt is hash-linked to its predecessor, forming a tamper-evident sequence. Modification of any single receipt invalidates every receipt that follows. This is not a log. It is a cryptographic proof structure where integrity is a mathematical property, not an administrative control.
Evidence Bundles package the Policy Artifact, signed Decision Receipts, and Merkle inclusion proofs into a portable verification unit. Any party with the bundle and a public key can verify every receipt present in the record, offline, using standard Ed25519 and SHA-256. No network callback. No proprietary tooling. No trust in the producing system.
The Practical Gap
Regulators are beginning to require provable governance, and the gap between what logs provide and what regulations demand is widening. The EU AI Act requires high-risk AI systems to maintain logs that “allow the tracing back of the system's operation.” But traceability without tamper evidence is not sufficient when the regulated party controls the logging infrastructure. The NIST AI RMF prescribes Measure and Manage functions but does not specify how to make those measurements offline-verifiable. Executive orders on AI safety mandate testing and evaluation but not continuous post-deployment proof of governance compliance.
FINRA's 2026 regulatory oversight report expects member firms to retain records of AI-assisted decisions.
Each of these frameworks points toward a requirement that conventional logging cannot satisfy: provable, offline-verifiable evidence that an AI system operated within its authorized boundaries for the entire duration of its deployment. Not a snapshot. Not a periodic audit. Continuous proof.
Organizations will need cryptographic proof of AI governance. The regulatory trajectory points strongly that way. The only open question is when. Organizations that wait for explicit mandates will find themselves retrofitting proof capabilities onto architectures that were never designed for them. Organizations that build governance into their governance architecture now will already have the evidence their regulators, auditors, and counterparties will eventually require.
From Recording to Proving
Logs are necessary infrastructure. They will remain part of every security and compliance program. But they are not proof, and treating them as proof creates a governance gap that grows wider as AI systems become more autonomous, more consequential, and more difficult to audit once the event has already happened.
Cryptographic proof of the governance record closes that gap. Sealed policy artifacts define what is permitted. A boundary applies that policy at runtime where the deployment routes calls through it. Signed, hash-linked receipts prove what happened. Portable evidence bundles let any third party verify the claim without trusting the system that made it.
Edited 2026: an earlier version of this essay said "runtime governance closes that gap." AGA proves the governance record; whether a deny also blocks the action is a property of how the deployment wires the boundary. The argument here is about what can be proven afterward, which is where logs fail.
Revised July 1, 2026: retitled from "Why Logs Aren't Proof" and restructured around the July 2025 Replit incident, with the content-accuracy contrast (Cursor, Deloitte) and the FINRA 2026 note added. The argument is unchanged; the earlier edit note above is preserved.
Explore the technical architecture, review the published research, or explore the MCP Server on npm.
See the working implementation on npm.
AGA is a reference implementation and standard candidate for verifiable decision records: sealed policy artifacts, signed Decision Receipts, and Evidence Bundles that verify offline. The implementation is on npm. The evaluation path walks through it in working code.