Network Working Group N. Sahu Internet-Draft kriya native Intended status: Informational 29 November 2026 Expires: 2 June 2027 Signed, Hash-Chained Action Receipts for AI Agents draft-sahu-agent-action-receipts-01 Abstract This document specifies a format for action receipts: compact, individually signed JSON records that state that a specific AI agent attempted a specific action at a specific time, under a specific policy decision, and what the outcome was. Receipts are linked into an append-only hash chain so that deletion, insertion, reordering, or modification of any previously recorded receipt is detectable by a verifier that holds only the records and the signer's public key. The format is deliberately small and self-contained. Verification requires no network access, no service operated by the producer of the receipts, and no state beyond the records themselves and a trust anchor obtained out of band. This document specifies the record fields, the canonical byte sequence that is signed, the chain linkage rule, an optional per-chain sequence number, the verification procedure, a signed head assertion for deployments that can anchor one, and test vectors. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 2 June 2027. Sahu Expires 2 June 2027 [Page 1] Internet-Draft Agent Action Receipts November 2026 Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Relationship to Existing Work . . . . . . . . . . . . . . 4 2. Conventions and Definitions . . . . . . . . . . . . . . . . . 5 3. Receipt Object . . . . . . . . . . . . . . . . . . . . . . . 5 4. Canonical Byte Sequence . . . . . . . . . . . . . . . . . . . 7 4.1. Interoperability Constraints . . . . . . . . . . . . . . 8 5. Signature . . . . . . . . . . . . . . . . . . . . . . . . . . 9 6. Chain Linkage . . . . . . . . . . . . . . . . . . . . . . . . 9 7. Sequence Numbers . . . . . . . . . . . . . . . . . . . . . . 9 8. Verification . . . . . . . . . . . . . . . . . . . . . . . . 10 9. Head Assertions . . . . . . . . . . . . . . . . . . . . . . . 11 10. Extensions . . . . . . . . . . . . . . . . . . . . . . . . . 13 11. Security Considerations . . . . . . . . . . . . . . . . . . . 13 12. Privacy Considerations . . . . . . . . . . . . . . . . . . . 15 13. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 16 14. Implementation Status . . . . . . . . . . . . . . . . . . . . 17 15. Open Issues . . . . . . . . . . . . . . . . . . . . . . . . . 18 16. Normative References . . . . . . . . . . . . . . . . . . . . 18 17. Informative References . . . . . . . . . . . . . . . . . . . 19 Appendix A. Test Vectors . . . . . . . . . . . . . . . . . . . . 22 A.1. Vector 1: Genesis Receipt . . . . . . . . . . . . . . . . 22 A.2. Vector 2: Chained Receipt . . . . . . . . . . . . . . . . 23 A.3. Vector 3: Detection of Modification . . . . . . . . . . . 23 A.4. Vector 4: Head Assertion . . . . . . . . . . . . . . . . 23 Changes Since -00 . . . . . . . . . . . . . . . . . . . . . . . . 24 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 25 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 25 Sahu Expires 2 June 2027 [Page 2] Internet-Draft Agent Action Receipts November 2026 1. Introduction Software agents built on large language models now take consequential actions on behalf of organizations: they deploy code, modify databases, send messages, install dependencies, and initiate payments. Organizations deploying such agents are increasingly required to answer, after the fact, a narrow and concrete question: what did this agent do, under whose authority, and can that answer be checked by someone who does not trust the party providing it. Existing telemetry does not answer that question. Application logs, distributed traces, and vendor audit consoles are written by, and mutable by, the same operator whose conduct is in question. A record that the operator can silently edit is evidence of intent, not evidence of fact. Regulatory instruments increasingly assume the existence of something stronger: [EU-AI-ACT] requires automatic recording of events over the lifetime of high-risk systems, and [ISO24970] specifies an information model for AI system logging, but neither prescribes an interoperable record format with integrity properties, and neither can be satisfied by a format that only its author can check. This document specifies such a format. It has three properties, in ascending order of what they cost to provide: 1. Attributable. Each record carries a detached signature over its own canonical bytes, verifiable against a public key. 2. Tamper-evident as a sequence. Each record commits to the exact bytes of the record before it, so that removing, inserting, reordering, or editing any earlier record invalidates the chain at a determinate position. 3. Independently verifiable offline. Verification is a pure function of the records and a trust anchor. It requires no network, no service, and no cooperation from the party that produced the records. The third property is the design constraint that shapes the rest of the format. Deployments in regulated, disconnected, or air-gapped environments cannot rely on a transparency service being reachable, and auditors in adversarial settings cannot rely on one being honest. This document therefore specifies a format whose base verification is self-contained, and identifies (in Section 15) how external anchoring composes with it where such anchoring is available. Sahu Expires 2 June 2027 [Page 3] Internet-Draft Agent Action Receipts November 2026 1.1. Relationship to Existing Work Signed records of agent actions are an active area with a substantial body of concurrent independent work. Neither hash-chaining such records, nor signing them with Ed25519, nor verifying them offline is novel to this document, and this section states plainly what is shared and what is not. Records that are individually signed and linked to their predecessor are specified in [I-D.farley-acta-signed-receipts] (optionally, as a commitment mode) and required in [I-D.marques-asqav-compliance-receipts], which profiles it for regulatory use. [I-D.msebenzi-evidence-action] specifies an append- only chained evidence record recomputable without trusting the producing runtime, and [I-D.sharif-agent-audit-trail] specifies a newline-delimited JSON audit record with an equivalent linkage member. [I-D.noa-scitt-ai-agent-receipt] and [I-D.mih-scitt-agent-action-capsule] specify richer records that may be registered with a transparency service while retaining an offline verification mode, and [I-D.emirdag-scitt-ai-agent-execution] specifies a per-record chain with sequence numbers alongside an independent custodian of the log. Against that body of work this document is distinguished by one construction and one constraint. The construction: the chain link is the digest of the previous record _as transmitted_, over its exact octets including its signature and including any member the verifier does not recognize (Section 6). In the revisions cited here, every other linkage digests a re-canonicalization of the previous record, or of that record with its signature removed. Digesting the transmitted octets means chain verification is independent of agreement about canonicalization, requires no canonicalizer at all, and covers extension members that a re-canonicalized digest would exclude. The constraint: base verification is specified as a pure function of the records and a trust anchor, with no anchor, log, service, or timestamp authority anywhere in the required path, because the deployments this format serves may have none. This document specifies a record format, not an audit architecture. [I-D.kuehlewind-audit-architecture] describes an architecture for auditing agent delegation and interaction without specifying a wire format; the format here is intended to be usable as one concrete realization of records within such an architecture. [I-D.he-agentproto-verifier-evidence] addresses a complementary question: not what a record states, but what a verifier checked and did not check when it reports a verdict from such records, including whether a completeness claim has any basis beyond the party that Sahu Expires 2 June 2027 [Page 4] Internet-Draft Agent Action Receipts November 2026 produced the records. Section 11 of this document states that the chain shows that no recorded receipt was removed, and says nothing about actions the signer declined to record; [I-D.he-agentproto-verifier-evidence] is the verifier-side statement of the same limit. [RFC9943] specifies an architecture for supply-chain integrity, transparency, and trust, including transparency services that issue receipts for registered signed statements. That architecture and this format are complementary: the records specified here are self- anchored by default, and a transparency service can additionally anchor chain heads where one is available and trusted. Section 15 discusses this. 2. Conventions and Definitions The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. The following terms are used: Action: An operation an agent attempts that a deployment has chosen to record, such as executing a command, invoking a tool, or writing a file. Receipt: One signed JSON object recording one action, as specified in Section 3. Receipt log: An ordered sequence of receipts produced by one signer, serialized as newline-delimited JSON. Signer: The entity holding the private key. In deployments motivated by this document the signer is the enforcement point co- located with the agent, not the agent itself. Verifier: An entity that checks receipts. A verifier holds no private keys and needs no network access. 3. Receipt Object A receipt is a JSON object [RFC8259]. The following members are defined. Sahu Expires 2 June 2027 [Page 5] Internet-Draft Agent Action Receipts November 2026 +============+=========+==========+===============================+ | Member | Type | Presence | Description | +============+=========+==========+===============================+ | step_id | string | REQUIRED | Identifier for this action, | | | | | unique within the log. | +------------+---------+----------+-------------------------------+ | action_id | string | REQUIRED | Identifier for the kind of | | | | | action, for example a tool | | | | | name or a namespaced decision | | | | | identifier. | +------------+---------+----------+-------------------------------+ | params | any | REQUIRED | Structured detail about the | | | JSON | | action. See Section 12. | | | value | | | +------------+---------+----------+-------------------------------+ | success | boolean | REQUIRED | Whether the action succeeded. | +------------+---------+----------+-------------------------------+ | ts_ms | number | REQUIRED | Time of the action as an | | | | | integer count of milliseconds | | | | | since 1970-01-01T00:00:00Z, | | | | | host-asserted. | +------------+---------+----------+-------------------------------+ | seq | number | OPTIONAL | Per-chain sequence number, as | | | | | specified in Section 7. | +------------+---------+----------+-------------------------------+ | actor | object | OPTIONAL | Attribution, with members | | | | | agent (string) and user | | | | | (string), in that order. | +------------+---------+----------+-------------------------------+ | prev_hash | string | OPTIONAL | Chain link, as specified in | | | | | Section 6. Absent on the | | | | | first receipt of a log. | +------------+---------+----------+-------------------------------+ | public_key | string | REQUIRED | The signer's Ed25519 public | | | | | key, 32 octets, lowercase | | | | | base16 [RFC4648]. | +------------+---------+----------+-------------------------------+ | signature | string | REQUIRED | Detached Ed25519 signature, | | | | | 64 octets, lowercase base16 | | | | | [RFC4648]. | +------------+---------+----------+-------------------------------+ Table 1: Receipt members Sahu Expires 2 June 2027 [Page 6] Internet-Draft Agent Action Receipts November 2026 A receipt MAY contain additional members. A verifier MUST ignore members it does not recognize, and MUST NOT include them in the signed byte sequence. This rule is what permits the format to be extended without invalidating deployed verifiers; an example extension is given in Section 10. The members public_key and signature are carried in the receipt but are not themselves part of the signed byte sequence, for the obvious reason. 4. Canonical Byte Sequence The signature is computed over a canonical byte sequence derived from the receipt. The sequence is the UTF-8 encoding of a compact JSON serialization (no whitespace between tokens) of an object containing exactly the signed members, constructed as follows. The signed members appear in this fixed order, which is NOT lexicographic: 1. step_id 2. action_id 3. params 4. success 5. ts_ms 6. seq, omitted entirely if absent 7. actor, omitted entirely if absent 8. prev_hash, omitted entirely if absent Within params, and recursively within every JSON object nested inside params, member names MUST be sorted in ascending order by their Unicode code points. Array element order is semantic and MUST be preserved. Within actor, the members appear in the fixed order agent, then user; they are NOT sorted. Omission is total: an absent seq, actor, or prev_hash contributes no member name, no value, and no separator. A receipt with no actor therefore signs identically to how it would have signed had the member never been defined. Sahu Expires 2 June 2027 [Page 7] Internet-Draft Agent Action Receipts November 2026 Numbers MUST be serialized without exponent, without a leading plus sign, and without insignificant trailing zeros. Strings MUST be serialized using the shortest form permitted by [RFC8259], escaping only those characters that [RFC8259] requires to be escaped, using lowercase hexadecimal in \uXXXX escapes. | Note on two constructions. The outer member order above is fixed | and non-lexicographic, while params is sorted. This asymmetry | reflects deployed practice rather than aesthetics, and it is | stated normatively here so that independent implementations agree | byte-for-byte. | | This document does not adopt [RFC8785] (JCS), and states that as a | decision rather than an open question. The construction above | permits a signer to emit a record in one pass without a | canonicalizer; it is what deployed implementations sign, and what | two independently written implementations have verified byte-for- | byte against the published vectors (Section 14); and adopting JCS | would invalidate every receipt already in the field in exchange | for no change in security properties. The choice affects only the | signature: chain linkage per Section 6 is computed over | transmitted octets and requires no canonicalization under either | construction. 4.1. Interoperability Constraints Implementations that construct or verify the canonical sequence MUST be able to reproduce these cases identically, and deployments SHOULD avoid the two constructions below until a future revision resolves them: * Non-ASCII member names inside params. Sorting by Unicode code point and sorting by UTF-8 byte sequence agree for all code points; implementations that sort by UTF-16 code unit do not agree for code points above U+FFFF. * Non-integer numbers anywhere in the signed members. Shortest- round-trip formatting of binary floating-point values differs between implementations. Deployments SHOULD represent quantities as integers in a stated minor unit, or as strings. Sahu Expires 2 June 2027 [Page 8] Internet-Draft Agent Action Receipts November 2026 5. Signature The signature is a detached Ed25519 signature as specified in [RFC8032], computed over the canonical byte sequence of Section 4, encoded as 128 lowercase base16 characters [RFC4648]. The public key is encoded as 64 lowercase base16 characters. A verifier MUST reject a receipt whose public_key or signature is not of the exact expected length or contains characters outside the set 0-9 and a-f. Ed25519 is deterministic, so a receipt signed by any conforming implementation produces byte-identical signature octets. A verifier therefore need not know which cryptographic module produced a receipt in order to verify it. 6. Chain Linkage A receipt log is a sequence of receipts serialized as newline- delimited JSON: one receipt per line, no line containing an unescaped newline. The first receipt of a log MUST NOT contain prev_hash. Every subsequent receipt MUST contain prev_hash, whose value is the SHA-256 digest [RFC6234] of the exact octets of the immediately preceding line, excluding its terminating newline, encoded as 64 lowercase base16 characters [RFC4648]. The digest is computed over the octets as serialized, including public_key and signature and including any member a verifier does not recognize. A verifier MUST NOT re-serialize, reformat, or normalize a line before computing its digest; doing so defeats the check. Because prev_hash is part of the canonical byte sequence, each signature transitively commits to every earlier line in the log. 7. Sequence Numbers A receipt MAY carry a seq member: a non-negative integer, part of the signed byte sequence at the position specified in Section 4. Sequence numbers are a per-log profile: if any receipt in a log carries seq, every receipt in that log MUST carry it. The first receipt of a log using the profile MUST carry the value 0, and each subsequent receipt MUST carry a value exactly one greater than its predecessor. Sequence numbers answer a question that linkage cannot. The chain proves that the presented lines are exactly what was written, in the order written; it says nothing about whether the writer assigned each record the position it claims. Two records claiming the same Sahu Expires 2 June 2027 [Page 9] Internet-Draft Agent Action Receipts November 2026 position (a fork rendered sequential), or a numbering that skips a position, are well-formed and validly linked as far as the chain is concerned. With seq in the signed set, each receipt commits to its position, so a verifier detects a gap and a duplicate position as distinct, determinate conditions, and records carry an order that survives being separated from their file. Repetition of an action and repetition of a record are likewise distinct. An action genuinely performed twice yields two receipts with distinct step_id values and consecutive seq values. A record replayed at the source yields a repeated step_id (reported per Section 8) or a repeated seq, or both. The two signals are independent and a verifier evaluates both. A verifier implementing only the signed set of revision -00 of this document will reconstruct the canonical byte sequence of a seq- bearing receipt without its seq member, and will therefore report a signature failure. This is the intended failure direction: a receipt whose position claim cannot be checked is reported, never silently accepted with that claim unprotected. 8. Verification Given a receipt log and a trust anchor, a verifier performs the following. The procedure requires no network access and no state beyond its inputs. For each line, in order: 1. Parse the line as JSON. If parsing fails, record a failure at this position and stop treating subsequent prev_hash values as meaningful. 2. Check that the required members of Section 3 are present and of the specified types. 3. Reconstruct the canonical byte sequence per Section 4 from the parsed members. 4. Verify the signature over that sequence using public_key. 5. For the first line, check that prev_hash is absent. For every subsequent line, check that prev_hash equals the SHA-256 digest of the previous line's octets. 6. Check that step_id has not appeared on an earlier line of the log, and report a repeat at the later position. An intact chain whose recorder emitted the same identifier at two positions is Sahu Expires 2 June 2027 [Page 10] Internet-Draft Agent Action Receipts November 2026 evidence of record replay at the source, which linkage alone cannot detect: a replay written to the log is a new, validly signed, validly linked position. 7. Check that public_key matches the trust anchor for the expected signer. If any receipt in the log carries seq, additionally check the conditions of Section 7: the profile is in use on every line, the first value is 0, and each value increments by exactly one. A gap and a repeated position MUST be reported as distinct conditions, each at a determinate line. A verifier MUST report a failure at a determinate position rather than discarding the offending line, and MUST NOT report an overall success if any line failed. A line that is not a well-formed receipt MUST surface as a failure and MUST NOT be silently skipped: an unparseable or unsigned line inserted into a log is precisely the event the format exists to make visible. Step 7 is not optional. Steps 1 through 6 prove that a log is internally consistent and was produced by the holder of some key; only step 7 connects that key to an identity the verifier cares about. See Section 11. 9. Head Assertions A chain can be truncated at its head: removing the most recent N receipts leaves a shorter but internally consistent log (Section 11). Detecting this requires state outside the log. This section specifies the minimal such state as a signed object, the head assertion, for deployments that have somewhere to anchor one. Base verification per Section 8 remains self-contained and does not require it. A head assertion is a JSON object with the following members, serialized in this order: Sahu Expires 2 June 2027 [Page 11] Internet-Draft Agent Action Receipts November 2026 +================+========+=======================================+ | Member | Type | Description | +================+========+=======================================+ | chain_id | string | SHA-256 digest of the exact octets of | | | | the log's first line, 64 lowercase | | | | base16 characters. The identifier is | | | | derived, not assigned: any holder of | | | | the log computes it, and no registry | | | | or coordination exists. | +----------------+--------+---------------------------------------+ | count | number | The number of receipts in the log at | | | | the time of assertion. | +----------------+--------+---------------------------------------+ | head_hash | string | SHA-256 digest of the exact octets of | | | | the log's last line, 64 lowercase | | | | base16 characters. | +----------------+--------+---------------------------------------+ | asserted_ts_ms | number | Time of the assertion, host-asserted, | | | | with the caveats of Section 11. | +----------------+--------+---------------------------------------+ | public_key | string | As in Section 3. Not part of the | | | | signed bytes. | +----------------+--------+---------------------------------------+ | signature | string | As in Section 3. Not part of the | | | | signed bytes. | +----------------+--------+---------------------------------------+ Table 2: Head assertion members The signature is a detached Ed25519 signature over the UTF-8 encoding of the ASCII prefix "agent-receipt-head-v1:" followed immediately by the compact JSON serialization of an object containing exactly chain_id, count, head_hash, and asserted_ts_ms, in that order, under the serialization rules of Section 4. The prefix is a domain separation tag: bytes signed as a head assertion begin with a literal that no receipt's canonical byte sequence can begin with, so a signature can never be valid as both. Sahu Expires 2 June 2027 [Page 12] Internet-Draft Agent Action Receipts November 2026 The assertion MAY be signed by the chain's own signer, in which case it states "my log had this head and this count at this moment", or counter-signed by an independent party, in which case it additionally witnesses that state. Either way its value lies entirely in where it is kept: an assertion stored alongside the log truncates with it. It may be bound to a timestamp token [RFC3161], committed to an external ledger [I-D.fassbender-scitt-time-anchor], registered with a transparency service [RFC9943], or exchanged with a counterparty; comparable constructions for append-only logs appear in [I-D.melegassi-opsawg-mvps-logging]. This document does not specify the anchoring transport. To check an assertion against a log, a verifier recomputes chain_id from the first line and head_hash from the last line, compares count against the number of lines, verifies the signature over the prefixed bytes, and checks the key against a trust anchor. A verifier holding an assertion with count N detects every presentation of that chain truncated below N. 10. Extensions Additional members MAY be added to a receipt. Members that are not in the signed set of Section 4 are ignored by verifiers implementing this document, which allows deployments to carry correlation identifiers, source labels, or transport metadata without coordination. A member that must be integrity-protected cannot be added this way; it requires a profile that extends the signed set, and such a profile MUST specify its position in the canonical order. An example of an extension that requires no change to the signed set is a second signature over the same canonical bytes using a different algorithm, carried in additional members alongside the Ed25519 signature. A verifier that does not implement the second algorithm ignores those members and still obtains a correct Ed25519 verdict; a verifier that does implement it MUST reject a receipt in which those members are present but incomplete or inconsistent, since a partially-present second signature is indistinguishable from an attempt to strip it. 11. Security Considerations This format provides tamper-evidence, not tamper-proofing. The distinction is load-bearing and implementers are cautioned against describing it otherwise. Sahu Expires 2 June 2027 [Page 13] Internet-Draft Agent Action Receipts November 2026 A compromised signer can produce arbitrary receipts. The private key signs whatever it is given. An adversary who obtains the key, or who executes code with the signer's privileges, can produce a well-formed log of events that never happened, or re-sign an edited history from any point forward. Nothing in this document detects that. What the format provides is that such an adversary must possess the key: a party who holds only the records cannot alter them undetectably. Actions that were never recorded leave no trace. The chain proves that no recorded receipt was removed. It says nothing about actions the signer declined to record, whether by omission, misconfiguration, or suppression before signing. Claims of the form "this log shows everything the agent did" are not supported by this format; claims of the form "this log has not been altered since it was written" are. A log can be truncated at its end. Removing the most recent N receipts leaves a shorter but internally consistent chain, and no property of the presented records reveals the omission. This is a general limit of self-anchored chains rather than a property of this format: detecting head truncation requires state outside the log. The minimal such state is the signed head assertion specified in Section 9. Deployments that require truncation detection MUST anchor head assertions outside the log. This document deliberately does not make them part of base verification, because the deployments it targets may have no reachable anchor at all. Key binding is out of scope. A valid signature proves the record was signed by the holder of the key in public_key, and nothing more. A verifier that omits step 6 of Section 8 verifies only that an adversary is internally consistent. Trust anchors MUST be obtained through a channel independent of the log. Timestamps are asserted, not attested. The ts_ms member is the signer's clock reading. It is not evidence of time and MUST NOT be relied on where an adversary controls the host. Where bounded time is required, an external timestamp token [RFC3161] over chain heads provides an upper bound. One writer per chain. The linkage rule assumes a single writer appending to one log. Concurrent writers produce forks that verify individually but break the chain. Each signer SHOULD maintain its own log; merging across signers is a verifier-side concern and MUST NOT be done by rewriting lines. Sahu Expires 2 June 2027 [Page 14] Internet-Draft Agent Action Receipts November 2026 Canonicalization is an attack surface. An implementation that reconstructs the canonical sequence differently from the signer will report spurious failures; one that is lenient where the signer is strict may accept two distinct receipts as equivalent. The constraints in Section 4 exist for this reason and implementations SHOULD test against the vectors in Appendix A. Keys are separated by use, not by tag. The canonical byte sequence of a receipt carries no domain separation prefix, a compatibility constraint inherited from deployed records; the head assertion of Section 9, which has no deployed base, carries one. A receipt's canonical bytes always form a JSON object whose first member is step_id, which no other construction in this document can produce, but that is an incidental property and not a defense against an unrelated protocol that signs attacker-influenced JSON with the same key. A key used to sign receipts MUST NOT be used to sign anything other than receipts and head assertions as specified here. A future incompatible revision may introduce an explicit prefix for receipt signatures. Sequence numbers are the signer's claims about its own ordering. A compromised signer numbers fabricated records perfectly. What seq detects is narrower and still useful: source-side replay or misnumbering by a recorder that is honest but wrong, forks rendered sequential, and loss of order when records are separated from their file. It does not strengthen the trust model of this section. 12. Privacy Considerations The params member is the one most likely to carry sensitive content, and deployments control what it contains. Receipts are evidence that an action occurred and how it was decided; they need not, and generally SHOULD NOT, contain the content the action operated on. Deployments SHOULD record identifiers, digests, counts, and decisions rather than payloads, prompts, message bodies, file contents, credentials, or personal data. This is not merely advice about hygiene. Receipts are designed to be retained for long periods, exported to auditors, and verified by parties outside the organization that produced them, so content placed in params propagates further and lives longer than content in ordinary logs. Where a receipt must commit to content, it SHOULD carry a digest of that content rather than the content itself. Where a deployment must retain a value rather than replace it with a digest, and disclose it to some verifiers but not others, a per-field selective-disclosure construction such as [I-D.mih-scitt-agent-action-capsule-sel-disc] can be applied to the Sahu Expires 2 June 2027 [Page 15] Internet-Draft Agent Action Receipts November 2026 params value. Such a construction changes the value of params and not the set of signed members, so it composes with this format without altering the signature or the chain: the chain link is computed over the transmitted octets whatever those octets contain. Chain linkage members MUST NOT be made concealable by any such profile. The actor member attributes an action to a named agent and user. Unless bound to an external identity system, these values are self- asserted by the signer and constitute attribution, not authentication. Deployments SHOULD treat them accordingly, and MAY omit actor entirely where attribution is not required. 13. IANA Considerations This document requests registration of the following media type in the "Media Types" registry. Type name: application Subtype name: agent-receipt+json Required parameters: N/A Optional parameters: N/A Encoding considerations: binary; the content is UTF-8 encoded JSON. Security considerations: See Section 11 of this document. Interoperability considerations: See Section 4 of this document. Published specification: This document. Applications that use this media type: AI agent governance, audit, and compliance tooling. Fragment identifier considerations: N/A Person and email address to contact for further information: The author of this document. Intended usage: COMMON Author/Change controller: IETF Whether the action_id member warrants an IANA registry of namespaces is left open; see Section 15. Sahu Expires 2 June 2027 [Page 16] Internet-Draft Agent Action Receipts November 2026 14. Implementation Status [[RFC Editor: please remove this entire section, and the reference to RFC 7942, before publication.]] This section records the implementation status of the format at the time of writing, in the spirit of [RFC7942]. The format is implemented and deployed in commercially available software for macOS that records governed agent actions on end-user devices and in enterprise fleets. Four verifier implementations exist within that product line: a compiled implementation used by the producing software and by a standalone command-line auditor that holds no keys and makes no network calls; a second implementation in TypeScript using platform cryptography, used for browser-side verification; a self-contained HTML export that re-verifies its own embedded receipts with no network access; and the command-line auditor's bundle and range verification modes. A public conformance vector suite accompanies this document at https://github.com/governex/agent-action-receipts-vectors: sixteen receipt logs and a signed head assertion, each with machine-checkable expected outcomes stated in a manifest. The vectors were generated by the shipping implementation and verified by an independently written Python implementation maintained with the suite. The original thirteen vectors of that suite have additionally been verified by an implementation from a second organization. Aleksei Safonov, Independent Researcher and Maintainer of T-Trace/OpenPoC, ran a from-scratch verifier against the suite at a pinned commit and reported thirteen of thirteen in agreement, no disagreements, and no unsupported cases, including both boundary cases: the deliberately clean verification of the truncated chain, and the receipt whose signatures all pass while the chain over transmitted octets breaks. The continuous-integration workflow for that verification checks out only the pinned manifest and vector data and does not import or execute any code from the suite, which makes it a second implementation rather than a second execution of the first. The compatibility report (https://github.com/safal207/T- Trace/blob/main/docs/governex-action-receipts-compatibility.md), verifier source (https://github.com/safal207/T- Trace/blob/main/openpoc/action_receipt_compat.py), workflow (https://github.com/safal207/T-Trace/actions/workflows/governex- action-receipts.yml), and review record (https://github.com/safal207/ T-Trace/pull/18) are public. In the implementer's own words, the result is interoperability evidence only: it does not prove this specification correct, does not prove capture completeness, and does not imply endorsement in either direction. Sahu Expires 2 June 2027 [Page 17] Internet-Draft Agent Action Receipts November 2026 The head assertion of Section 9 has also been built, independently, by Zhang Jialiang (TLotU), maintainer of an open-source agent- behavior audit layer (https://github.com/TLotU-lab/cyberseccat- fence). Jialiang reported, by email on 2026-10-01, a signed head assertion constructed from this document's text and anchored externally with an OpenTimestamps calendar submission, and an independent verifier run against two constructed hostile bundles: a truncated bundle (one receipt dropped) that failed head-assertion recomputation, and an injected bundle (an unrecognized field added to one receipt) whose own signature stayed valid while the following receipt's chain linkage broke, with the two checks kept separable in the verifier's output. Two limits were stated alongside the report: a controlled signing key can forge assertions, a ceiling this document's Section 11 already states; and the completeness claims of that implementation hold only for network egress. This report is not yet backed by a public artifact; kriya native has asked for the sample bundle and verifier output to be published, and this paragraph is to be updated with those links once they arrive. 15. Open Issues This section is intended to be removed before publication as an RFC. * Fragment presentation. Sequence numbers (Section 7) give records an order that survives separation from their file, but the verification procedure still requires presentation from the genesis receipt. Whether to specify range verification - a fragment bounded by a head assertion at each end - is open. * The action_id namespaces. Whether cross-organization interoperability requires a registry, or whether unregistered reverse-DNS-style namespacing is sufficient. A useful precedent is a Specification Required registry that governs shared meaning while requiring verifiers to accept unregistered values, as used in [I-D.mih-scitt-agent-action-capsule]. * Algorithm agility. Whether to specify a general signature- algorithm member rather than fixing Ed25519, and how such a member would interact with Section 4. * Relationship to logging standards. A mapping annex from these fields to the information model of [ISO24970], to make the format usable as an implementation of that model. No published work in this space appears to have made such a mapping. 16. Normative References Sahu Expires 2 June 2027 [Page 18] Internet-Draft Agent Action Receipts November 2026 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997, . [RFC4648] Josefsson, S., "The Base16, Base32, and Base64 Data Encodings", RFC 4648, October 2006, . [RFC6234] Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)", RFC 6234, May 2011, . [RFC8032] Josefsson, S. and I. Liusvaara, "Edwards-Curve Digital Signature Algorithm (EdDSA)", RFC 8032, January 2017, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, May 2017, . [RFC8259] Bray, T., Ed., "The JavaScript Object Notation (JSON) Data Interchange Format", STD 90, RFC 8259, December 2017, . 17. Informative References [EU-AI-ACT] European Parliament and Council of the European Union, "Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act), consolidated text of 27 July 2026", June 2024, . [I-D.emirdag-scitt-ai-agent-execution] Emirdag, P., "AI Agent Execution Profile of SCITT", Work in Progress, Internet-Draft, draft-emirdag-scitt-ai-agent- execution-00, 11 April 2026, . [I-D.farley-acta-signed-receipts] Farley, T., "Signed Decision Receipts for Machine-to- Machine Access Control", Work in Progress, Internet-Draft, draft-farley-acta-signed-receipts-02, 28 June 2026, . Sahu Expires 2 June 2027 [Page 19] Internet-Draft Agent Action Receipts November 2026 [I-D.fassbender-scitt-time-anchor] Fassbender, J., "Bitcoin-Anchored Temporal Proof for Transparency Services", Work in Progress, Internet-Draft, draft-fassbender-scitt-time-anchor-05, 26 August 2026, . [I-D.he-agentproto-verifier-evidence] He, J. S., "Exercise and Completeness Evidence for Agent Protocol Verifier Results", Work in Progress, Internet- Draft, draft-he-agentproto-verifier-evidence-03, 31 October 2026, . [I-D.kuehlewind-audit-architecture] Kühlewind, M. and H. Birkholz, "An Architecture for Auditing AI Agent Delegation and Interactions", Work in Progress, Internet-Draft, draft-kuehlewind-audit- architecture-00, 18 May 2026, . [I-D.marques-asqav-compliance-receipts] Marques, J. A. G., "Compliance Profile of Signed Action Receipts for AI Agents", Work in Progress, Internet-Draft, draft-marques-asqav-compliance-receipts-08, 31 August 2026, . [I-D.melegassi-opsawg-mvps-logging] Costa, L. M., "The MVPS Operational Log Format: Append- Only, Hash-Chained, Externally-Anchored Audit Logs", Work in Progress, Internet-Draft, draft-melegassi-opsawg-mvps- logging-00, 28 May 2026, . [I-D.mih-scitt-agent-action-capsule] Mih, S., "An Agent Action Capsule Profile for SCITT", Work in Progress, Internet-Draft, draft-mih-scitt-agent-action- capsule-04, 28 August 2026, . Sahu Expires 2 June 2027 [Page 20] Internet-Draft Agent Action Receipts November 2026 [I-D.mih-scitt-agent-action-capsule-sel-disc] Mih, S., "Selective Disclosure Profile for Agent Action Capsules", Work in Progress, Internet-Draft, draft-mih- scitt-agent-action-capsule-sel-disc-00, 19 June 2026, . [I-D.msebenzi-evidence-action] Msebenzi, M., "The evidence.* Family: Post-Hoc, Independently Recomputable Evidence Records for AI Agent Actions", Work in Progress, Internet-Draft, draft- msebenzi-evidence-action-00, 28 July 2026, . [I-D.noa-scitt-ai-agent-receipt] Toraman, T., "A SCITT Profile for AI-Agent Action Receipts", Work in Progress, Internet-Draft, draft-noa- scitt-ai-agent-receipt-01, 15 August 2026, . [I-D.sharif-agent-audit-trail] Sharif, R., "Agent Audit Trail: A Standard Logging Format for Autonomous AI Systems", Work in Progress, Internet- Draft, draft-sharif-agent-audit-trail-01, 19 August 2026, . [ISO24970] ISO/IEC JTC 1/SC 42, "Artificial intelligence — AI system logging", ISO/IEC FDIS 24970, 2026, . [RFC3161] Adams, C., Cain, P., Pinkas, D., and R. Zuccherato, "Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)", RFC 3161, August 2001, . [RFC7942] Sheffer, Y. and A. Farrel, "Improving Awareness of Running Code: The Implementation Status Section", BCP 205, RFC 7942, July 2016, . [RFC8785] Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, June 2020, . Sahu Expires 2 June 2027 [Page 21] Internet-Draft Agent Action Receipts November 2026 [RFC9943] Birkholz, H., Delignat-Lavaud, A., Fournet, C., Deshpande, Y., and S. Lasker, "An Architecture for Trustworthy and Transparent Digital Supply Chains", RFC 9943, June 2026, . Appendix A. Test Vectors The vectors inline here are illustrative. The full machine-checkable suite - sixteen receipt logs and a signed head assertion, with a manifest of expected outcomes covering tampering, reordering, interior deletion, replayed records, sequence-number gaps and repeats, and the deliberately clean truncated chain - is published at https://github.com/governex/agent-action-receipts-vectors and is generated with the same test key. The signing key below is a test key and MUST NOT be used for any other purpose. It is a 32-octet Ed25519 seed consisting of the octet 0x01 repeated 32 times. seed: 0101010101010101010101010101010101010101010101010101010101010101 public_key: 8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c A.1. Vector 1: Genesis Receipt Canonical byte sequence (UTF-8, no trailing newline; line-wrapped here for presentation only): {"step_id":"01J8Z7QX9K","action_id":"kriya.gate.decision","params" :{"class":"publish","rule_id":"npm-publish","tier":"approve"},"suc cess":true,"ts_ms":1755300000000,"actor":{"agent":"claude-code","u ser":"alice"}} Note that params appears sorted (class, rule_id, tier) in the canonical sequence while the serialized line below carries the members in their original order, and that prev_hash is absent entirely. Serialized line: {"step_id":"01J8Z7QX9K","action_id":"kriya.gate.decision","params" :{"rule_id":"npm-publish","tier":"approve","class":"publish"},"suc cess":true,"ts_ms":1755300000000,"actor":{"agent":"claude-code","u ser":"alice"},"public_key":"8a88e3dd7409f195fd52db2d3cba5d72ca6709 bf1d94121bf3748801b40f6f5c","signature":"ab6afa750440d38f72dc5601f 45b1df918de60049b2accbb438dd909222f42755a534ee67e2eb1397f9d3ca6bd0 bf67f1ec078ecc60c08c92438acd2b7dc5802"} Sahu Expires 2 June 2027 [Page 22] Internet-Draft Agent Action Receipts November 2026 SHA-256 of that line's octets, which is the prev_hash of vector 2: 18a2a79ac5e4dcc31172783a0f33efc1518d426c5cf0ccd24982d41c9aa3ee4c A.2. Vector 2: Chained Receipt Canonical byte sequence: {"step_id":"01J8Z7QXB2","action_id":"kriya.gate.approval","params" :{"approver":"alice","decision":"approved","rule_id":"npm-publish" },"success":true,"ts_ms":1755300012000,"actor":{"agent":"claude-co de","user":"alice"},"prev_hash":"18a2a79ac5e4dcc31172783a0f33efc15 18d426c5cf0ccd24982d41c9aa3ee4c"} Serialized line: {"step_id":"01J8Z7QXB2","action_id":"kriya.gate.approval","params" :{"rule_id":"npm-publish","approver":"alice","decision":"approved" },"success":true,"ts_ms":1755300012000,"actor":{"agent":"claude-co de","user":"alice"},"prev_hash":"18a2a79ac5e4dcc31172783a0f33efc15 18d426c5cf0ccd24982d41c9aa3ee4c","public_key":"8a88e3dd7409f195fd5 2db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c","signature":"891dc8 8a6dc93507faca8d52eceb0baf107f325a1b3bb5c60e3e357cac86d6ccfd2a0bcf 3cee3b7237040483fe1b8c4f049fa72c6a59eb97a22d2c7e97d2cc02"} A.3. Vector 3: Detection of Modification Replacing the string alice with mallory in the actor.user member of vector 1 produces a line whose signature verification fails, and whose SHA-256 digest no longer equals the prev_hash of vector 2. A conforming verifier reports a signature failure at line 1 and a chain break at line 2. A.4. Vector 4: Head Assertion A head assertion (Section 9) over the two-receipt log formed by vectors 1 and 2. chain_id is the digest of vector 1's line, already shown above; head_hash is the digest of vector 2's line. The signed bytes are the ASCII prefix agent-receipt-head-v1: followed by the compact payload (line-wrapped here for presentation only): agent-receipt-head-v1:{"chain_id":"18a2a79ac5e4dcc31172783a0f33e fc1518d426c5cf0ccd24982d41c9aa3ee4c","count":2,"head_hash":"1501 9c01ea498da5b1a9fe74f871db45036543559682017ff4179a9b8d7864d2","a sserted_ts_ms":1755300020000} Serialized assertion: Sahu Expires 2 June 2027 [Page 23] Internet-Draft Agent Action Receipts November 2026 {"chain_id":"18a2a79ac5e4dcc31172783a0f33efc1518d426c5cf0ccd2498 2d41c9aa3ee4c","count":2,"head_hash":"15019c01ea498da5b1a9fe74f8 71db45036543559682017ff4179a9b8d7864d2","asserted_ts_ms":1755300 020000,"public_key":"8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d9 4121bf3748801b40f6f5c","signature":"b89d68f915257bf8ec21b4a3eaa0 34fb5b865135ae3b060467b6119926ede589b9c72c50bf097a1f4e6cf69127ff 773b3bd0e6b515c0498852f67545c4f3ea0c"} Truncating the log to vector 1 alone leaves a chain that verifies clean, which is the limit stated in Section 11; against this assertion the count and the head digest both fail to match, which is the detection. Changes Since -00 This section is to be removed before publication as an RFC. * Added the optional signed per-chain sequence number seq (Section 7), resolving the -00 open issue: a gap and a duplicate position are now distinct, determinate verification outcomes. * Added the signed head assertion (Section 9) with an explicit domain separation prefix, resolving two -00 open issues; the truncation discussion in Section 11 now points at it. * Verification now requires reporting a repeated step_id at the later position, making record replay with an intact chain a checked condition. * The canonicalization question is closed as a stated decision: [RFC8785] is not adopted, with the rationale normative in Section 4. * Key-use separation is now normative in Section 11: a receipt- signing key signs nothing but receipts and head assertions. * Implementation Status records the public conformance vector suite, its independent verification by a second organization, and a second independent implementation of the head assertion with a real external anchor and negative tests. * Relationship to Existing Work now cites [I-D.he-agentproto-verifier-evidence] as the verifier-side statement of the limit this document's Security Considerations already place on the chain. Sahu Expires 2 June 2027 [Page 24] Internet-Draft Agent Action Receipts November 2026 * Test vectors: added the head assertion vector; the public suite adds vectors for replayed records and sequence numbers. Vectors 1-3 and all signed bytes of -00 receipts are unchanged; -00 receipts remain valid. Acknowledgments A considerable body of concurrent independent work established signed records of agent actions as a subject worth specifying, and sharpened the problem statement this document responds to. The author thanks the authors of that work, cited throughout and surveyed in Section 1.1, and notes that the convergence of several unrelated efforts on similar constructions is itself evidence that the requirement is real. The author additionally thanks Aleksei Safonov for the independent verification recorded in Section 14 and for raising the ordering-versus-repetition question that Section 7 resolves. Author's Address Nancy Sahu kriya native India Email: nancysahu@kriyanative.com Sahu Expires 2 June 2027 [Page 25]