Skip to content
MINERVA™Studio

What is an AI audit trail, and what makes it good evidence?

By Nick Jang, founder of MINERVA Studio ·

Part of our answers on AI governance

The short answer

An AI audit trail is the record, in order, of who did what to an AI system and what the system itself did. For a model that's inventory changes, ratings, reviews, approvals and who gave them, monitoring results and incidents; for an agent, each action, the policy that allowed or refused it, and who approved anything held.

It's good evidence when it's complete, attributed, time-stamped by a clock you don't control, tamper-evident so a changed entry shows, retained, and checkable from outside.

What an AI audit trail is

An audit trail answers four questions about any moment in an AI system's life: who acted, what they did, when, and on what basis. Some entries are people's decisions, like a rating changed or a deployment approved. Others are the system's own acts: a score crossing a monitoring threshold, a tool call an agent made, a call a policy refused.

It isn't your application logs. Logs help engineers debug, they rotate, and anyone with server access can usually edit them. A trail is for someone who wasn't in the room, a validator, internal audit or a supervisor, and it has to hold up when they ask how you know it's the original. Auditing an AI system covers what the auditor does with it; this page is about the record.

What to record for a model

OSFI Guideline E-23, in effect from 1 May 2027, never says "audit trail". It asks for the pieces. Principle 2.1 wants every model in use or recently decommissioned tracked, and the inventory updated promptly as a model's use, rating or performance status changes. Each of these deserves its own dated, attributed entry:

  • Inventory changes. A model added, modified or retired, against E-23's Appendix 1 fields: owner, developer, version, reviewer, approver, approved uses, limitations, review dates and the rest. See what a model inventory must contain.
  • Ratings, with the reason. Under E-23 the rating drives review depth, documentation and who may approve, so changing it is a decision in its own right.
  • Reviews. E-23 expects review assessments, and the actions taken in response, to be documented. That's the validation report and what followed it.
  • Approvals and who gave them. E-23 allows approval despite known weaknesses if compensating mitigants are in place, so the conditions belong in the entry, not in someone's inbox.
  • Monitoring and incidents. Results against thresholds, breaches, escalations, and how each incident closed.

What to record for an AI agent

An agent acts, so its trail has to show each act, not just decisions about it. A workable entry per tool call (illustrative; your policy decides what's material):

  • which agent, under its own identity, acting for whom
  • the tool, the resource, and the arguments or a hash of them
  • the policy version in force and its verdict (allowed, held for a person, or refused) with the rule that decided
  • for a held call, who approved or rejected it, and when
  • what actually happened

OSFI's July 2026 bulletin on generative and agentic AI names weak traceability of AI-initiated activity as a risk. Its sound practices include logging and reviewing agent activity and tool use, approval checkpoints on high-impact actions, and auditable documentation of how AI outputs feed decisions. Note the word reviewing: a log nobody reads isn't a control. More in AI agent governance.

What makes a trail good evidence

Six properties of an AI audit trail that holds up (our reading; your policy sets the details)
PropertyWhat it meansHow to show it
CompleteEvery decision and material act is in it; gaps are statedReconcile with the inventory; record a missing value as missing
Attributed and in orderEach entry names one person or system identity, in sequenceNamed accounts, no shared logins, an identity per agent, sequence numbers
Time-stamped by a clock you don't controlThe time doesn't depend on the party being checkedRFC 3161 tokens from an outside time-stamping authority
Tamper-evidentA changed or deleted entry showsA hash chain, plus outside witnesses for a full rewrite
RetainedKept long enough, retired systems includedA written retention period covering the trail and its documents
Checkable from outsideSomeone without access to your system can confirm itAn export with the hashes and an open verifier

The frameworks say the same in their own words. NIST's AI RMF wants an inventory of AI systems (GOVERN 1.6), test sets, metrics and tools documented (MEASURE 2.1), and incident tracking and response followed and documented (MANAGE 4.3). ISO/IEC 42001 handles records as documented information under its support clause, and ISO lists traceability among its benefits.

How tamper evidence works, in plain words

Start with a hash: a function such as SHA-256 turns any entry into a short fingerprint, and one changed character changes the fingerprint completely.

  • Hash chaining. Each entry carries the hash of the one before it. Edit an old entry and its hash no longer matches what the next one recorded; delete one and the chain breaks. Anyone holding the entries can recompute it and find the first break.
  • Independent time-stamps. Under RFC 3161, an IETF standard from 2001, you send a time-stamping authority only the hash, never the data, and it returns a signed token binding that hash to a trustworthy time. Stamp your chain's head regularly, ideally with more than one authority, and a chain rewritten later can't reproduce the token.
  • Transparency logs. Certificate Transparency (RFC 9162) runs public, append-only logs built as Merkle trees, with short proofs that an entry is in the log and that a later version still contains the earlier one. Post your chain's head there and a copy sits where you can't change it.

The chain alone has a limit worth saying out loud: whoever controls the whole store could rewrite everything from some point on and recompute the hashes. Outside witnesses catch that. Tamper-evident means a change shows. It doesn't mean nothing can change, and it says nothing about entries nobody wrote.

Where MINERVA fits. MINERVA writes every change to a model or agent, and every agent decision, as a hash-chained row, has the chain's head time-stamped by independent RFC 3161 authorities, and exports it as an evidence packet an examiner checks offline with an open verifier (how verification works). Append-only is a property of the software, so the packet states what a passing check proves and what it doesn't.

Related questions

Does OSFI require an AI audit trail?

No OSFI guideline uses the phrase. E-23 asks, from 1 May 2027, for a current inventory, documented reviews and recorded approvers, and the July 2026 bulletin suggests logging and reviewing agent activity. Put together, that's a trail.

Are AI logs or AI-generated records admissible in court?

That's for counsel and the court; this isn't legal advice. Sections 31.1 to 31.8 of the Canada Evidence Act put the burden of proving an electronic document's authenticity on whoever offers it, and tie the best evidence rule to proof of the integrity of the system that recorded or stored it. Section 31.3 lists ways to prove that integrity, such as evidence the system was operating properly, and section 31.5 lets evidence of recording and storage standards and practices be presented. Under section 2, this part of the Act applies to criminal proceedings and to civil proceedings and other matters within federal jurisdiction.

How long should you keep an AI audit trail?

As long as your retention policy, the law and any legal hold require. E-23 expects decommissioned models to stay in the inventory for a period the institution considers reasonable, and retired models and their documentation to be kept for a set period. It names no number.

Does a hash chain stop someone changing the trail?

No. It makes an edit or a deletion show when the chain is recomputed. Catching a full rewrite by someone who controls the store takes outside witnesses: time-stamps from an independent authority or a copy in a public log.

Sources

New answers are posted on MINERVA on LinkedIn. Follow along, or send the question you’d like answered next to minerva@minerva.studio.

A plain-language explanation, not legal advice. The regulator’s own text is the source; read it, and take advice on how it applies to your institution.

Read next

Answers AI governance

Questions about your own inventory? Ask a person.

An enterprise customer representative replies within one working day.