# Our AI agent's audit log is hash-chained, so nobody can edit a record without it showing. But if someone asks us to prove the agent never took a particular action, or that the last hour of records wasn't quietly dropped, does the chain prove that? What would?

**Short answer:** A hash chain alone doesn't. It shows that the records you still have are intact and in order, but deleting the newest records, or a recorder that simply stops writing, leaves no gap inside the chain and still checks out. Revision -11 of the IETF Agent Audit Trail draft (November 21, 2026) adds the missing piece as two optional record types. Heartbeat records, written at a cadence declared in the session's first record (heartbeat_interval_s), turn silence into something visible: a quiet stretch materially longer than the interval points to a stopped recorder or cut-off tail. A completeness statement is a signed, chained record that declares a scope (agent ids, session ids, a time range) and an as_of instant, with the count of in-scope records and a Merkle root over them; a verifier recomputes both from the records it's given. Only inside a statement that verifies may you treat a missing record as evidence the action didn't happen. The statement is still the signer's claim, but any later in-scope record that surfaces proves it false. AAT is an individual Internet-Draft, not an IETF standard.

## Checklist
1. Don't argue from absence on a hash chain alone: it proves retained records weren't altered, not that none were dropped from the end or never written.
2. Declare a heartbeat cadence in the session's first record (heartbeat_interval_s, in seconds) and have the recorder write lifecycle heartbeat records on schedule, so a silent stretch is bounded and visible.
3. When you need to say 'the agent never did X', issue a completeness statement: scope (agent_ids, session_ids, from/to), as_of, record_count and set_digest, chained and signed like any other record.
4. Add an external_timestamp (an RFC 3161 time-stamp) to completeness statements, so nobody can claim one was signed earlier than it was.
5. Have the recorder, not the agent, sign records and statements: since -10, records at trust level L2 and above must come from a component independent of the agent, with its own key.
6. Treat a log custodian whose completeness statement was ever shown false as untrusted for absence claims from then on, as the draft recommends.

## Can a hash-chained audit log prove no records are missing?
- In the Agent Audit Trail format each record carries prev_hash, the SHA-256 of the previous record, so changing or removing a record in the middle breaks every later link. That's tamper evidence for what's kept. Section 8.4 of the draft points out the gap: silence, meaning a recorder that stops emitting or the deletion of the most recent records, leaves no interior gap and can pass every chain check.
- Section 8.5 goes further: neither the chain nor heartbeats lets a verifier reason about absence, that no record of some action exists. A clean chain with no record of a payment says the payment isn't in these records, not that it never happened.

## What are heartbeat records in an AI agent audit log?
- A heartbeat is an ordinary chained record with action_type lifecycle and action_detail.event heartbeat (Section 7.7 now lists it). The session's genesis record declares heartbeat_interval_s, and the recorder should write a heartbeat at that cadence even when the agent is idle.
- A verifier that knows the cadence can read any gap materially longer than the interval as evidence of recorder silence or tail truncation over that period. The draft's framing: heartbeats turn an unbounded, invisible absence into a bounded, detectable one, limiting the window in which records could have been suppressed to one interval. They don't say what happened in that window.

## What is a completeness statement in the IETF Agent Audit Trail draft?
- Added in revision -11, a completeness statement is a chained lifecycle record (event completeness_statement) in which a recorder or log custodian asserts that, for a declared scope, its log holds every record it produced as of a declared instant. The scope object can name agent_ids, session_ids and a from/to time range; an omitted member doesn't restrict that dimension. It must carry as_of, record_count and set_digest, a Merkle root over the in-scope records ordered by timestamp and prev_hash, built with the same RFC 6962-style leaf and node rules as the draft's batch anchoring (sha-256-merkle unless stated otherwise).
- To check it, a verifier takes the records the custodian hands over for that scope, recomputes the count and the Merkle root, compares both with the statement, and verifies the statement itself as a signed, chained record.
- The absence rule is strict: a missing record is evidence of non-occurrence only within the scope and up to the as_of instant of a statement that verifies. Outside any verified statement, absence establishes nothing, and a verifier must not infer non-occurrence from it. Records written after as_of are outside the claim even if they fall inside the scope.

## What changed in IETF Agent Audit Trail drafts -10 and -11?
- A completeness statement is an assertion, not something the format can make true. Section 14.7 explains why it's still worth having: if any record later surfaces that falls inside the statement's scope, at or before as_of, and chains and verifies to the same custodian, the record and the statement together prove the claim was false, so the statement becomes evidence against its own signer. external_timestamp ties the statement to an RFC 3161 time authority so it can't be back-dated.
- Revision -10 (November 17, 2026) tightened who signs. At trust level L2 and above, records must be written by a component independent of the agent (a gateway, sidecar or external monitor) that signs with its own key, and each record's principal.authority_ref must point to an authorization artifact the agent didn't sign itself. At those levels, an agent can't vouch for its own authority or its own log.
- Status: AAT is an individual Internet-Draft (draft-sharif-agent-audit-trail-11) by one author, not adopted by an IETF working group and not a standard. Heartbeats and completeness statements are both optional, and the draft expires May 25, 2027 unless revised.

## Ask Rightshold (free, no key)
Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code (one-click setup: https://www.rightshold.com/start?ref=seo), then ask: "We closed out yesterday's review period for our payments agent. Record a receipt for the completeness statement we issued: scope, as_of, record count, the Merkle set digest and the SHA-256 of the signed statement record."

```json
{
  "tool": "record_action",
  "arguments": {
    "action_type": "audit_log.completeness_statement",
    "outcome": "success",
    "occurred_at": "2026-11-22T13:00:00Z",
    "client_event_id": "payments-agent:completeness:2026-11-21",
    "summary": "AAT -11 completeness statement for agent_ids [urn:agent:payments-01], from 2026-11-21T00:00:00Z to 2026-11-21T23:59:59Z, as_of 2026-11-22T00:15:00Z; record_count 4182; set_digest <hex Merkle root>; signed by recorder key <signer_kid>; RFC 3161 timestamp attached",
    "action_sha256": "<sha256 of the signed completeness statement record>"
  }
}
```
- Needs an API key. Send the digest, count and a summary; keep the log itself in your own systems.
- Use one client_event_id per statement, so a retry doesn't create a second entry.
- A receipt held outside your log gives a second, independent date for the statement that anyone can check without an account.
- A receipt records what you submitted and when. Rightshold doesn't verify Merkle roots or confirm that a log is complete.

_Rightshold isn't affiliated with the IETF or the draft's author. Details are from draft-sharif-agent-audit-trail revisions -10 (November 17, 2026) and -11 (November 21, 2026) and the draft's IETF Datatracker page, read November 22, 2026. Internet-Drafts are works in progress and can change or expire; check the latest revision before building on it._

## Sources
- [IETF: draft-sharif-agent-audit-trail-11 (November 21, 2026)](https://www.ietf.org/archive/id/draft-sharif-agent-audit-trail-11.txt)
- [IETF: draft-sharif-agent-audit-trail-10 (November 17, 2026)](https://www.ietf.org/archive/id/draft-sharif-agent-audit-trail-10.txt)
- [IETF Datatracker: Agent Audit Trail draft history](https://datatracker.ietf.org/doc/draft-sharif-agent-audit-trail/)

## Related
- [What does the IETF Agent Audit Trail draft require in each record?](https://www.rightshold.com/answers/what-does-the-ietf-agent-audit-trail-draft-require-in-each-ai-agent-log-record)
- [Make an AI agent's audit log append-only so even an admin can't silently delete entries](https://www.rightshold.com/answers/how-to-make-an-ai-agents-audit-log-append-only-so-even-an-admin-cant-silently-delete-entries)
- [Logging every AI agent tool call for audit](https://www.rightshold.com/answers/how-to-log-every-ai-agent-tool-call-for-audit)
- [Audit trail of which human authorized an AI agent action](https://www.rightshold.com/answers/how-to-audit-which-human-authorized-an-ai-agent-action)

_Not legal advice. Updated 2026-11-22. JSON: https://www.rightshold.com/answers/how-can-an-ai-agents-audit-log-prove-that-no-records-are-missing.json_