Network Working Group S. Zhao Internet-Draft 26 November 2026 Intended status: Informational Expires: 30 May 2027 State-Comparison Binding for Action Records draft-zhao-scitt-state-comparison-binding-00 Abstract An action record can say which controlled state was in force when an artefact was produced. It usually cannot say _which state the record was compared against_, so the question "is the state that was in force still the state now?" has to be answered by asking the producer at verification time. This document defines one field, compared_state, and four processing rules, so that a verifier can decide the state question from the record alone, and so that a later comparison is expressible as a new sealed revision rather than an edit. This is a field definition, not a framework. It adds nothing to the envelope, the lifecycle, or the absence taxonomy of the profiles it references. 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 30 May 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. Zhao Expires 30 May 2027 [Page 1] Internet-Draft State-Comparison Binding November 2026 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 . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Conventions and Terminology . . . . . . . . . . . . . . . . . 3 3. The Field . . . . . . . . . . . . . . . . . . . . . . . . . . 3 4. Processing Rules . . . . . . . . . . . . . . . . . . . . . . 4 5. Relationship to Existing Work . . . . . . . . . . . . . . . . 4 6. Security Considerations . . . . . . . . . . . . . . . . . . . 5 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 5 Conformance Mapping . . . . . . . . . . . . . . . . . . . . . . . 5 Open Question Put to the Group . . . . . . . . . . . . . . . . . 6 References . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Normative References . . . . . . . . . . . . . . . . . . . . . 6 Informative References . . . . . . . . . . . . . . . . . . . . 6 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 6 1. Introduction Records of agent action increasingly carry a state commitment: the revision of the controlled procedure under which an action was taken. OAR [OAR] does this at execution; the Agent Action Capsule [CAPSULE] does it through its effect binding. In both cases the commitment is anchored at the _time of the action_. That leaves a question that arises later, in audit: between production and verification the controlled state may have changed. A verifier holding only the record cannot distinguish three situations: 1. the state never moved; 2. the state moved and the effect was evaluated (and perhaps accepted); 3. the state moved and nobody looked. Situations 1 and 3 produce the same bytes on the wire. The verifier resolves the ambiguity by contacting the producer, which is precisely the dependency the record was meant to remove—and, in a regulated setting, the party with an interest in the answer. Zhao Expires 30 May 2027 [Page 2] Internet-Draft State-Comparison Binding November 2026 The narrow fix is to name the comparison inside the record. 2. Conventions and Terminology The key words "MUST", "MUST NOT", "SHOULD", and "MAY" are to be interpreted as described in [RFC2119]. * *Action record*: a signed, digest-committed object describing one action at a governed boundary. * *Production state*: the controlled state in force when the artefact was produced (process_state in the profiles above). * *Compared state*: the controlled state the record's verification was performed against. * *Sealed revision*: a new record carrying the same artefact digest, a new compared state, and new verdicts, superseding (not editing) its predecessor. 3. The Field A record conforming to this document carries a compared_state object with the members in Table 1. +=============+===========+=============+ | Member | Type | Requirement | +=============+===========+=============+ | procedure | string | MUST | +-------------+-----------+-------------+ | revision | string | MUST | +-------------+-----------+-------------+ | captured_at | date-time | SHOULD | +-------------+-----------+-------------+ | asserted_by | string | SHOULD | +-------------+-----------+-------------+ Table 1: Members of compared_state asserted_by names who asserted the comparison. It is self-declared and is not proof of independence. compared_state MUST be inside the payload covered by the record digest. Placing it outside the digest—for example in a transport envelope—defeats the purpose: a relying party could not then tell whether the comparison it sees is the comparison that was sealed. Zhao Expires 30 May 2027 [Page 3] Internet-Draft State-Comparison Binding November 2026 At emission, compared_state normally equals the production state. A comparison against a later state is expressed as a sealed revision. 4. Processing Rules A verifier implementing this document performs four steps, in order. *R1, structural requirement.* If compared_state is absent, the record is structurally invalid. It MUST NOT be reported as "not evaluated": absence of the field means the record cannot express a comparison at all. A record that omits it is rejected, not deferred. *R2, freshness.* If the verifier holds a current state that differs from compared_state, the outcome is not_evaluated with reason stale_comparison. The verifier MUST NOT silently substitute the state it holds for the one the record names. *R3, movement and verdict.* If compared_state differs from the production state, the record MUST carry an explicit verdict for the state check. If that verdict is not_evaluated, the outcome is not_evaluated with reason status_unavailable. If no verdict is present, the outcome is fail with reason state_change_unrecorded. *R4, equality.* If compared_state equals the production state, the check passes, and the record MUST say so rather than leaving the check unmentioned. Counts, not scores: nothing here produces a composite number. 5. Relationship to Existing Work * SCITT [RFC9943] supplies the envelope and registration. This document adds a payload field; registration still proves only that a statement existed. * OAR [OAR] supplies the lifecycle and the authority set, and its state commitment is at execution. This document adds the comparison target, which is a different member: one says "this is the state I was executed under", the other says "this is the state I was checked against". * The Agent Action Capsule [CAPSULE] records which constraints were evaluated; this document does not add constraints, only the state a check was measured against. Zhao Expires 30 May 2027 [Page 4] Internet-Draft State-Comparison Binding November 2026 * The AI-agent action receipt profile [RECEIPT] supplies the absence taxonomy. stale_comparison and no_compared_state map onto NOT_PROVIDED and NOT_CLAIMED respectively, with the caveat that no_compared_state is treated as structural failure rather than as an absence state. Whether this field belongs in any of those documents is for their authors to decide. The intent here is to be merged or dropped, not to run in parallel. 6. Security Considerations * asserted_by is self-declared. An adversary who controls the producer can write any value. The field makes the claim explicit; it does not make it true. * stale_comparison protects against a verifier using a newer state than the record sealed, but not against a producer who seals the comparison late and backdates captured_at. Timestamp trust remains dependent on the attestation layer. * No rule here covers revocation of the underlying mandate. A record can be verified while the authority it describes has since been withdrawn; that gap is stated in the accompanying contribution, not closed by this field. 7. IANA Considerations None. No new registry is requested. Conformance Mapping The accompanying vector set exercises the four rules directly, as shown in Table 2. +======+===========================+====================+ | Rule | Vector | Expected | +======+===========================+====================+ | R1 | case-09-no-compared-state | rejected / deny | +------+---------------------------+--------------------+ | R2 | case-10-stale-comparison | unresolved / defer | +------+---------------------------+--------------------+ | R3 | case-03-state-unevaluated | unresolved / defer | +------+---------------------------+--------------------+ | R4 | case-01-valid | verified / allow | +------+---------------------------+--------------------+ Table 2: Rule-to-vector mapping Zhao Expires 30 May 2027 [Page 5] Internet-Draft State-Comparison Binding November 2026 Two independently written verifiers, one in Python and one in Node.js, agree per check and per digest on all ten vectors; the vectors and both implementations are in the same frozen bundle. Open Question Put to the Group Should stale_comparison be an outcome of the record's state check, or of the relying party's own freshness policy? This document places it in the record check because that is where a third party can see it; an argument for the other placement is that freshness is a property of the reader, not of the record. References Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . Informative References [CAPSULE] Mih, M., "Agent Action Capsule", Work in Progress, Internet-Draft, draft-mih-scitt-agent-action-capsule, 2026, . [OAR] Malhotra, A., "Open Action Receipts (OAR)", Work in Progress, Internet-Draft, draft-malhotra-scitt-oar, 2026, . [RECEIPT] Noa, N., "AI-Agent Action Receipt Profile", Work in Progress, Internet-Draft, draft-noa-scitt-ai-agent- receipt, 2026, . [RFC9943] Birkholz, H., Delignat-Lavaud, A., Deshpande, Y., Kivinen, A., and M. Laskowski, "SCITT Architecture", RFC 9943, 2026, . Author's Address Steven Zhao Email: zhaoxinghua07@126.com Zhao Expires 30 May 2027 [Page 6]