Network Working Group A. Jurkovikj Internet-Draft 28 November 2026 Intended status: Experimental Expires: 1 June 2027 HTTP Profile for Conditional Updates to Shared Resource State (Agentic State Transfer) draft-jurkovikj-httpapi-agentic-state-03 Abstract HTTP applications frequently expose one logical object through several representations or resources. Ordinary HTTP entity tags identify selected representations; they do not, by themselves, provide a conditional-update mechanism spanning different request targets. This Experimental document specifies Agentic State Transfer (AST), an HTTP profile for preventing lost updates to shared application state. It designates one State-Bearing Resource for each concurrency domain and requires every Core protected mutation to target that resource using the strong ETag of its State-Bearing Representation in the standard If-Match field. The profile also defines all-writer atomicity, strict nonmutating failure, deferred-commit protection, reconciliation after conflict, state discovery, cache and representation constraints, and security requirements. It uses only existing HTTP conditional request fields. 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 1 June 2027. Jurkovikj Expires 1 June 2027 [Page 1] Internet-Draft Agentic State Transfer 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. The Lost-Update Problem . . . . . . . . . . . . . . . . . 4 1.2. Scope . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.3. Applicability and Costs . . . . . . . . . . . . . . . . . 5 2. Conventions and Terminology . . . . . . . . . . . . . . . . . 6 3. Resource and State Model . . . . . . . . . . . . . . . . . . 7 3.1. Concurrency-Domain Completeness . . . . . . . . . . . . . 7 4. AST Core Profile . . . . . . . . . . . . . . . . . . . . . . 8 4.1. SBR Validator . . . . . . . . . . . . . . . . . . . . . . 8 4.2. Stable SBR Variant . . . . . . . . . . . . . . . . . . . 8 4.3. Core Write Requirement . . . . . . . . . . . . . . . . . 9 4.4. Core Projected-Resource Behavior . . . . . . . . . . . . 10 4.5. Core Application Contract . . . . . . . . . . . . . . . . 10 5. Safe Mutation Processing . . . . . . . . . . . . . . . . . . 11 5.1. Missing or Inadequate Preconditions . . . . . . . . . . . 11 5.2. Atomic Compare-and-Commit . . . . . . . . . . . . . . . . 12 5.3. Successful Responses . . . . . . . . . . . . . . . . . . 13 5.4. Conflict Responses . . . . . . . . . . . . . . . . . . . 14 5.5. Conflict Resolution . . . . . . . . . . . . . . . . . . . 14 5.6. Deferred Processing . . . . . . . . . . . . . . . . . . . 15 5.7. Resource Creation . . . . . . . . . . . . . . . . . . . . 15 5.8. Retries, Operation Identity, and Attribution . . . . . . 16 6. Read and Cache Behavior . . . . . . . . . . . . . . . . . . . 16 6.1. Reading the SBR . . . . . . . . . . . . . . . . . . . . . 16 6.2. Reading Projections . . . . . . . . . . . . . . . . . . . 17 6.3. Vary and Content Negotiation . . . . . . . . . . . . . . 18 7. Validator Construction . . . . . . . . . . . . . . . . . . . 18 7.1. Representation ETags . . . . . . . . . . . . . . . . . . 18 7.2. Stored Validators . . . . . . . . . . . . . . . . . . . . 19 8. Discovery and Linking . . . . . . . . . . . . . . . . . . . . 19 8.1. The concurrency-state Link Relation . . . . . . . . . . . 19 8.2. Same-Origin Default . . . . . . . . . . . . . . . . . . . 19 Jurkovikj Expires 1 June 2027 [Page 2] Internet-Draft Agentic State Transfer November 2026 8.3. Alternate Representations . . . . . . . . . . . . . . . . 20 9. Integrity and Transport . . . . . . . . . . . . . . . . . . . 20 10. Existing HTTP Alternatives . . . . . . . . . . . . . . . . . 20 11. Non-AST Resources and Fallback . . . . . . . . . . . . . . . 21 12. Implementation and Conformance . . . . . . . . . . . . . . . 21 13. Security Considerations . . . . . . . . . . . . . . . . . . . 23 13.1. Authorization and State Scope . . . . . . . . . . . . . 23 13.2. Cross-Resource and Cross-Origin Confusion . . . . . . . 24 13.3. Atomicity . . . . . . . . . . . . . . . . . . . . . . . 24 13.4. Validator Disclosure and Tracking . . . . . . . . . . . 24 13.5. Blind Retry . . . . . . . . . . . . . . . . . . . . . . 24 13.6. Transformation and Intermediaries . . . . . . . . . . . 25 14. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 25 15. Changes Since -02 . . . . . . . . . . . . . . . . . . . . . . 25 16. References . . . . . . . . . . . . . . . . . . . . . . . . . 26 16.1. Normative References . . . . . . . . . . . . . . . . . . 26 16.2. Informative References . . . . . . . . . . . . . . . . . 27 Appendix A. AST Core Example . . . . . . . . . . . . . . . . . . 28 A.1. Read the SBR . . . . . . . . . . . . . . . . . . . . . . 28 A.2. Conditional Mutation . . . . . . . . . . . . . . . . . . 29 A.3. Projected Target Rejection . . . . . . . . . . . . . . . 29 Appendix B. Single-URI Deployment . . . . . . . . . . . . . . . 30 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 30 1. Introduction A single application object is often visible through several HTTP resources or representations. A content-management system might provide an HTML page, a JSON state resource, a Markdown editor, and a form handler, all backed by the same database object. Multiple human and automated clients can construct updates from different views of that object. HTTP already provides optimistic concurrency control through ETag and If-Match [RFC9110]. Those fields work when the validator was obtained from a selected representation of the same target resource later modified by the client. Problems arise when an application treats an ETag obtained from one resource as though its character sequence were automatically a valid validator for a different request target. The value does not, by itself, establish such cross-target validity. Reuse requires an explicit coordinated-tag contract in which the common value independently satisfies HTTP's strong- validator requirements at every participating resource. AST profiles the simpler same-target path. Every Core protected mutation targets a designated State-Bearing Resource and uses the strong ETag of the selected State-Bearing Representation. Every writer participates in one atomic compare-and-commit boundary. Jurkovikj Expires 1 June 2027 [Page 3] Internet-Draft Agentic State Transfer November 2026 The contribution is a reusable application contract around these existing mechanisms: a designated authoring target, complete reconciliation state, consistent representation selection, all-writer atomicity, deferred-commit protection, and safely associated discovery links. An API already satisfying these requirements gains a common contract and discovery vocabulary, not a new lost-update prevention mechanism. The profile applies equally to human and automated clients; it does not establish that a proposed mutation reflects the user's intent or is otherwise appropriate. AST is an HTTP application profile informed by the application-design guidance in [RFC9205]. It does not change the semantics of ETag, If- Match, HTTP caching, or HTTP representation selection. 1.1. The Lost-Update Problem Consider an article exposed as HTML at /article/123 and as complete JSON state at /api/article/123. 1. Client A reads one view and changes the article. 2. Client B constructs a different change from an older view. 3. Client B submits its change without a version-specific precondition. 4. The server applies Client B's stale update and overwrites part or all of Client A's work. AST prevents this outcome by requiring a validator that identifies the State-Bearing Representation against which the mutation was constructed and by requiring the comparison and state transition to occur as one atomic operation. 1.2. Scope AST specifies: * designation of a State-Bearing Resource and Representation; * use of ETag, If-Match, 412, and 428; * complete participation by all writers in one concurrency domain; * strict response behavior, conflict handling, deferred processing, and creation boundaries; * caching, content negotiation, integrity, and security constraints; Jurkovikj Expires 1 June 2027 [Page 4] Internet-Draft Agentic State Transfer November 2026 * a minimum application contract for Core protected mutation methods and writers; * registration of a link relation for SBR discovery; and * a compact implementation and conformance boundary. AST does not define a generic runtime capability-discovery protocol, application data model, patch format, merge algorithm, authentication scheme, authorization policy, database transaction mechanism, or non- HTTP binding. 1.3. Applicability and Costs AST is most directly applicable when an application can expose the complete mutation-relevant CRS needed by each authorized client for construction and reconciliation, and coordinate every writer within the corresponding concurrency domain. An authoring API for a shared document is one example. Existing HTTP conditional requests remain useful without adopting this profile; AST is not a prerequisite for preventing lost updates in an otherwise adequately specified application. Completeness and coordination have costs. A client starting from a projection may need an additional SBR retrieval before constructing a protected mutation. Large state can make retrieval and reconciliation expensive. Changes to SBR representation data can invalidate its strong ETag even when the application would regard those changes as irrelevant to a particular mutation, producing conservative conflicts. All-writer atomicity also includes background jobs, administrative tools, and other write paths, not just the HTTP handler. Redacted views, different authorization scopes, and independently operated services can make these requirements difficult or unsuitable for an application. The completeness requirements in Section 3.1 and the disclosure restrictions in Section 13.1 apply together. A deployment that cannot satisfy both does not obtain Core protection for that scope by omitting relevant state or allowing uncoordinated writers. A narrower domain is appropriate only if it still includes all state and write paths relevant to its protected mutations. This profile does not define an alternative protocol for applications that cannot meet those conditions. Jurkovikj Expires 1 June 2027 [Page 5] Internet-Draft Agentic State Transfer November 2026 2. Conventions and Terminology 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. Example blocks marked with an RFC 8792 note use its single-backslash, display-only line wrapping [RFC8792]. Remove the note and unfold those lines before using the example; the wrapping is not HTTP or JSON syntax. *Canonical Resource State (CRS)* The authoritative application state whose concurrent modification is protected by AST. The CRS includes every value whose change could make a mutation constructed against an earlier state unsafe. *Concurrency domain* The complete set of CRS values and write paths serialized by one AST precondition. A concurrency domain can be scoped by resource, tenant, principal, language, workflow, or another application boundary. *State-Bearing Representation (SBR)* The origin-designated selected representation whose representation data expose the complete Canonical Resource State needed to construct and reconcile Core protected mutations. Its ordinary strong ETag is the AST concurrency validator for that selected representation. This does not make the ETag a validator for abstract CRS independently of that selected representation or imply canonical serialization. *State-Bearing Resource* The HTTP target resource from which the SBR is selected. Core protected mutations target this resource. In a content-management deployment, the State-Bearing Resource commonly acts as the canonical source resource that clients read and mutate. *Projected Representation* A representation derived from the CRS but not designated as the SBR. It can omit, transform, summarize, render, or otherwise project state. *Projected Resource* A target resource that provides a Projected Representation or accepts an application-specific action related to the same CRS. *Core protected mutation* A state-changing request for which AST Jurkovikj Expires 1 June 2027 [Page 6] Internet-Draft Agentic State Transfer November 2026 Core requires a Core version-specific precondition. A Core protected mutation targets the State-Bearing Resource; this term does not include a mutation admitted by a separate application profile at a projected or action resource. *Core version-specific precondition* An If-Match value consisting of exactly one explicit strong entity-tag that identifies the SBR state against which the client constructed the mutation. A wildcard, weak entity-tag, or field value containing more than one entity-tag is not version-specific for AST. 3. Resource and State Model For each AST concurrency domain, an origin server MUST designate one canonical State-Bearing Resource. That resource selects one SBR that exposes the complete CRS needed for conflict reconciliation. Additional aliases MAY redirect to the canonical State-Bearing Resource, but clients and projected resources need one unambiguous state target. A deployment can use either: * a dedicated State-Bearing Resource, such as /api/article/123; or * one URI with content negotiation, provided a request can unambiguously select the SBR for both retrieval and precondition evaluation. A dedicated State-Bearing Resource is RECOMMENDED because it avoids ambiguity about representation selection on unsafe requests. 3.1. Concurrency-Domain Completeness The concurrency domain MUST include all state whose change could invalidate a client's intended mutation. It also MUST include state relevant to the applicable authorization and integrity decisions. If one request atomically modifies several otherwise independent objects, the server MUST either: * protect a composite concurrency domain that covers all of them; or * use an application transaction mechanism that prevents partial or stale commits with equivalent safety. Different principals or audiences MUST use separate domains when they do not observe exactly the same mutation-relevant CRS. Jurkovikj Expires 1 June 2027 [Page 7] Internet-Draft Agentic State Transfer November 2026 Separate domain names do not isolate changes to shared underlying state. Where domains overlap, the completeness, validator- publication, and all-writer atomicity requirements still apply to the relevant changes in each domain. Nor does domain separation authorize disclosure of otherwise restricted state. The SBR exposes the mutation-relevant CRS needed by the authorized client to construct and reconcile protected mutations. Server-private authorization and integrity-policy inputs need not be disclosed solely because they participate in the domain's safety decisions. Their nondisclosure does not exempt relevant changes from the existing concurrency, validator-publication, and atomicity requirements, or replace the server's authorization and integrity checks. If the client cannot access state it actually needs for construction and reconciliation, the deployment does not meet this profile for that scope. An opaque validator is not a substitute for the required reconciliation state or for the server's authorization checks. 4. AST Core Profile AST uses only existing HTTP conditional request fields. It does not change the meaning of ETag or If-Match. 4.1. SBR Validator The SBR MUST have a strong ETag as defined by [RFC9110]. That ETag validates the exact selected SBR representation. It MUST change whenever the SBR representation data changes. Every CRS change in the concurrency domain MUST produce SBR representation data with a different strong ETag before or atomically with publication of the changed state. The reverse is not required: serializer, schema, profile, or representation metadata changes can require a new strong ETag even when the application regards the CRS as equivalent. A Projected Representation MAY have its own ETag. The SBR ETag MUST NOT be reused as a Projected Representation's ETag unless the selected representation data are identical and all ordinary HTTP strong-validator requirements are satisfied. 4.2. Stable SBR Variant A Core protected mutation MUST be evaluated against one unambiguously selected SBR variant. Jurkovikj Expires 1 June 2027 [Page 8] Internet-Draft Agentic State Transfer November 2026 The RECOMMENDED deployment is a dedicated SBR URI that serves one media type without Content-Encoding and includes Cache-Control: no- transform. If content negotiation is used at the State-Bearing Resource: * the client MUST send the request fields needed to select the SBR; * the server MUST evaluate If-Match against that selected SBR; * the same selection rules MUST apply when the validator is retrieved and when the mutation is submitted; and * Vary MUST list every request field used for selection. An AST deployment MUST NOT accept an ETag of one content-coded variant as an If-Match condition on a different selected variant. A deployment that needs representation-independent validation across codings SHOULD expose a dedicated identity-coded State-Bearing Resource or use another completely specified application profile. 4.3. Core Write Requirement A Core protected mutation: 1. MUST target the State-Bearing Resource; 2. MUST select the SBR; 3. MUST contain If-Match with exactly one explicit strong entity- tag; and 4. MUST be compared with the current selected SBR using the strong comparison function defined by [RFC9110]. Within AST, an SBR ETag obtained from one URI MUST NOT be reinterpreted as an If-Match condition on another target URI. This is a conservative AST profile rule, not a claim that HTTP prohibits distinct resources from intentionally publishing equal strong ETags. Such a common value is conformant only when it independently satisfies strong-validator requirements for every participant's selected representation; that coordinated-tag design is outside AST's cross-target conformance path. Jurkovikj Expires 1 June 2027 [Page 9] Internet-Draft Agentic State Transfer November 2026 A client does not need to retrieve the SBR immediately before every mutation, but it MUST possess the SBR ETag for the state against which the mutation was constructed and MUST send only that ETag in the AST If-Match field. It MUST NOT add another entity-tag merely because it observed another SBR state after constructing the mutation. The precondition determines whether the mutation's basis remains current. 4.4. Core Projected-Resource Behavior A Projected Resource is not protected by AST merely because an application treats the SBR ETag as an If-Match condition on that projected target. An application can separately specify a coordinated-tag, tagged-condition, or other existing-HTTP contract, but that contract is not AST merely because the opaque tag strings are equal. When a projected resource does not support the unsafe method, it SHOULD respond with 405 Method Not Allowed, MUST include an Allow field as required by [RFC9110], and SHOULD include a concurrency- state link to the State-Bearing Resource: NOTE: '\' line wrapping per RFC 8792 HTTP/1.1 405 Method Not Allowed Allow: GET, HEAD Link: ; rel="concurrency-state"; \ anchor="/article/123"; type="application/json" Because an error response might not identify the projected request target as its link context, a concurrency-state link on such a response MUST use anchor to identify the projected resource explicitly. 4.5. Core Application Contract AST does not define generic runtime capability discovery. The application contract MUST identify: * the State-Bearing Resource; * each Core protected mutation method; * the stable selected-representation or variant rules; * the concurrency-domain scope; and Jurkovikj Expires 1 June 2027 [Page 10] Internet-Draft Agentic State Transfer November 2026 * every mutation path and writer that participates in the common atomic boundary. The contract can be supplied by resource-and-method-specific documentation, configuration, or another explicit application mechanism. A concurrency-state link identifies the SBR but does not, by itself, advertise Core protected mutation methods, AST conformance, stable variant-selection rules, or complete participation by every writer. 5. Safe Mutation Processing In this section, the required AST condition is If-Match containing a Core version-specific precondition. 5.1. Missing or Inadequate Preconditions For a Core protected mutation of an existing resource, the server MUST NOT apply the request unless it contains the required Core version-specific precondition. After authentication, authorization, request syntax, media-type, and other normal validation checks: * an absent required If-Match MUST produce 428 Precondition Required [RFC6585]; * a wildcard, weak entity-tag, or field value containing more than one entity-tag MUST also produce 428; and * a syntactically valid Core version-specific condition that does not match MUST produce 412 Precondition Failed. The field-shape requirement is an AST admission check after the normal request checks in Section 13.2.1 of [RFC9110] and before precondition evaluation. Once admitted, the request's ordinary HTTP preconditions retain the precedence in Section 13.2.2 of [RFC9110]. Repeated If-Match field lines are assessed as one combined field value, as defined in Section 5.2 of [RFC9110]; splitting a list across field lines does not satisfy the single-tag requirement. Jurkovikj Expires 1 June 2027 [Page 11] Internet-Draft Agentic State Transfer November 2026 AST does not assign a universal status code to a malformed If-Match field; ordinary HTTP request-syntax policy handles it before these AST outcomes and the request performs no mutation. A syntactically valid If-Match containing a wildcard, a weak entity-tag, or more than one entity-tag is not Core version-specific and therefore produces 428. Using 400 Bad Request for an absent or syntactically valid but profile-inadequate required condition is not conformant. A 428 response SHOULD use Problem Details [RFC9457] and explain which field shape is required. AST deliberately requires 412 for every false Core version-specific If-Match on a Core protected mutation. It does not use RFC 9110's optional successful response when a requested change appears to have already been applied. An equivalent resulting state does not prove which operation or principal caused it. Applications that need lost- response replay recognition use a separate operation-identity or idempotency mechanism. 5.2. Atomic Compare-and-Commit After normal request validation, evaluation of the required validator, application of the state transition, and publication of the resulting validator MUST occur atomically with respect to every operation capable of changing the same concurrency domain. The same authoritative boundary MUST determine current AST method coverage, the selected SBR variant, concurrency-domain membership, authorization inputs used by the commit, and every applicable ordinary HTTP precondition. Configuration transitions MUST serialize with writers, and a validator issued under a superseded domain or representation-selection definition MUST NOT gain a new meaning under its replacement. This requirement applies to HTTP handlers, background workers, migrations, administrator interfaces, message consumers, scheduled jobs, and other write paths. Two concurrent requests MUST NOT both compare successfully against the same old validator and then both commit conflicting transitions. The server MAY implement this requirement with a database compare- and-swap, transactional version column, serializable transaction, lock, version vector, or another mechanism with equivalent behavior. The following non-normative outline shows the required ordering without mandating a storage mechanism: Jurkovikj Expires 1 June 2027 [Page 12] Internet-Draft Agentic State Transfer November 2026 authenticate, authorize, and validate request syntax begin authoritative serialization boundary select current AST method, domain, and SBR representation confirm authorization using current commit-relevant inputs keep those inputs protected through the transition check combined If-Match for the required single-tag shape evaluate ordinary HTTP preconditions, including required If-Match apply the transition once persist state and publish the resulting SBR validator end authoritative serialization boundary Every failure before the transition exits with zero mutation. In the two-writer case with no other intervening changes, if both requests are otherwise valid and the first commit changes the SBR validator before the second comparison, the second request's If-Match fails. A no-op that leaves the validator unchanged does not establish this premise. 5.3. Successful Responses A successful response can carry the new ordinary ETag only when that ETag correctly describes the selected representation of the target resource under [RFC9110]. Typical patterns are: HTTP/1.1 204 No Content ETag: "json-v19" or: HTTP/1.1 200 OK Content-Type: application/json ETag: "json-v19" {"id":123,"status":"draft"} For PUT, a server MUST follow the RFC 9110 restriction on sending validators when the received representation was transformed before storage. If a valid new ETag cannot be returned, the client retrieves it with a subsequent GET or HEAD. A server MAY use 303 See Other to direct the client to retrieve the current SBR. Content-Location does not rebind an ordinary ETag to another resource, and AST does not define a state-etag Link parameter. Jurkovikj Expires 1 June 2027 [Page 13] Internet-Draft Agentic State Transfer November 2026 5.4. Conflict Responses A 412 Precondition Failed response SHOULD identify the State-Bearing Resource using rel="concurrency-state". Subject to authorization and disclosure policy, it MAY include the current SBR ETag when that field correctly identifies the current selected representation of the target. Because an error response might not identify the State- Bearing Resource as its link context, the link MUST use anchor to identify that resource explicitly: NOTE: '\' line wrapping per RFC 8792 HTTP/1.1 412 Precondition Failed Content-Type: application/problem+json ETag: "json-v20" Link: ; rel="concurrency-state"; \ anchor="/api/article/123"; type="application/json" { "type": "https://example.com/problems/precondition-failed", "title": "Precondition failed", "status": 412, "detail": \ "The resource changed after the client constructed its update." } A validator returned with 412 is advisory and can become stale immediately. A client MUST NOT retry solely by replacing its supplied validator with that value. It MUST first retrieve or otherwise validate the current state and reconcile its intended mutation. A guarantee that an operation is safe to repeat without reconciliation does not exempt a Core protected retry from these requirements. Reconciliation can leave the mutation body unchanged when that mutation remains appropriate for the current SBR state. 5.5. Conflict Resolution After 412, a client can: * retrieve the current SBR and reapply its intent; * perform a three-way merge when application semantics make that safe; * request human or policy-engine intervention; or * abandon the mutation. Jurkovikj Expires 1 June 2027 [Page 14] Internet-Draft Agentic State Transfer November 2026 AST does not define merge semantics. A server MAY include authorized conflict context in a Problem Details response, but clients MUST treat it as untrusted and potentially stale. 5.6. Deferred Processing A precondition checked only when 202 Accepted is emitted does not protect a state transition committed later. A server performing deferred processing MUST do at least one of the following: * commit the CRS transition before returning 202, deferring only external side effects; * reserve or fence the matched version until commit; or * re-evaluate the expected SBR ETag atomically when the deferred transition commits. A commit-time mismatch MUST prevent the CRS mutation. The operation's status resource or equivalent completion channel MUST report a failed-precondition outcome. The original 202 response cannot be retrospectively changed to 412. 5.7. Resource Creation The Core version-specific precondition requirement applies to mutations of existing concurrency domains. Common creation patterns include: * POST to a collection resource, with the new resource URI and initial validator returned on success; and * PUT with If-None-Match: * to create a resource only when no current representation exists at the target URI. These creation examples do not exempt changes to an existing protected concurrency domain. Creating a member can also change an existing collection or composite domain; when that domain is protected by AST, its applicable Core mutation requirements still apply. Once created, later Core protected mutations use the AST requirements in this document. AST does not define an idempotency-key field or replay store; applications can use a separately specified idempotency mechanism. Jurkovikj Expires 1 June 2027 [Page 15] Internet-Draft Agentic State Transfer November 2026 5.8. Retries, Operation Identity, and Attribution An AST validator proves freshness of the mutation basis at the commit boundary. It does not prove exactly-once execution, distinguish a prior execution from an equivalent change by another actor, or provide provenance and audit attribution. A lost success response therefore cannot be recovered from state convergence alone. An application that requires those properties can atomically bind its own stable operation identifier to the authenticated principal, target and method, base validator, request-content digest, terminal outcome, and resulting validator. Reservation, action commit, outcome publication, expiry, and recovery need an explicit atomic or compensating design. This application mechanism does not replace AST's conditional request and is not a generic operation-identity field defined by this document. 6. Read and Cache Behavior 6.1. Reading the SBR The State-Bearing Resource MUST support GET. It SHOULD support HEAD when the implementation can provide metadata consistent with the corresponding GET. An SBR response whose representation data or validator depend on an authorization context MUST prevent a shared cache from reusing it for a request outside that context. The origin MUST emit response cache controls and, where applicable, Vary or an explicitly defined cache- key partition sufficient to enforce that result. private or no-store is a conservative choice; no-cache with correct per-request authorization during revalidation can also be used. Vary alone cannot represent authorization state that is not carried in request fields. An origin MUST NOT use public, s-maxage, or another shared- cache permission unless every request that can reuse the response is authorized for the same representation data and validator. AST clients use ordinary If-None-Match against the State-Bearing Resource. A server returns 304 Not Modified only when the standard HTTP precondition evaluates as specified by [RFC9110]. When the corresponding 200 response would contain ETag, the 304 response MUST contain the same current ETag as required by HTTP. Jurkovikj Expires 1 June 2027 [Page 16] Internet-Draft Agentic State Transfer November 2026 GET /api/article/123 HTTP/1.1 Host: example.com Accept: application/json Accept-Encoding: identity If-None-Match: "json-v18" HTTP/1.1 304 Not Modified ETag: "json-v18" 6.2. Reading Projections Projected Representations use normal HTTP cache validators. A projection's ETag MUST NOT be sent as If-Match to the State-Bearing Resource unless it is also, under ordinary HTTP semantics, a current validator of the selected SBR. A response's concurrency-state link MUST NOT be supplied from a cache for a request whose selected concurrency domain or application context requires a different link target or context. The origin MUST enforce this association using ordinary HTTP cache controls and, where applicable, Vary or an explicitly defined cache partition. This requirement applies to shared and private caches and to every response carrying the link, including error responses. It applies even when the representation data and ETag do not vary with the link. When the link selection depends on request header fields, those fields MUST participate in cache selection, for example through Vary. A partition is sufficient only if it covers every input that can change the link's domain association and is enforced by every cache allowed to reuse the response. private alone does not separate two domains used within one user's private cache, and Vary alone cannot represent application state absent from the request header fields. If an origin cannot ensure the required association along the response path, it MUST send Cache-Control: no-store for the response and MUST NOT combine it with a directive that permits ignoring no- store, such as must-understand. These controls MUST be effective without requiring intermediaries to recognize the link relation or AST. The same association MUST hold after validation or HEAD-based updating. An unchanged representation validator does not establish that a cached link is still appropriate. In particular, no-cache alone is insufficient if a 304 or HEAD response can leave an inapplicable stored link in place. A change to response cache controls does not revoke responses already stored or prevent a fresh stored response from being reused before contacting the origin; a deployment MUST account for such entries when changing link selection or cache policy. Jurkovikj Expires 1 June 2027 [Page 17] Internet-Draft Agentic State Transfer November 2026 A link whose target and context are invariant for all requests eligible to reuse its response needs no additional domain partition under this rule. Ordinary HTTP caching requirements and the SBR protections in Section 6.1 remain applicable. This profile does not add a cache key, change generic field-update rules, or make a link an authorization credential. 6.3. Vary and Content Negotiation As an AST profile requirement, a response MUST include Vary for every request field used to select its representation, including Accept, Accept-Language, or Accept-Encoding as applicable. This deliberately strengthens the general HTTP guidance for Vary in [RFC9110] so that later AST requests select the same SBR variant. AST does not create a new cache key and does not waive ordinary content-negotiation or caching requirements [RFC9111]. Range requests do not change validator scope. An origin MAY decline range support for operational reasons, but AST does not require Accept-Ranges: none merely because an SBR is JSON. For a server that supports byte ranges, a current ordinary ETag in If-None-Match can authorize 304 Not Modified when the standard condition applies. A current ordinary strong ETag in If-Range can authorize 206 Partial Content when the range is satisfiable. Stale or inapplicable values follow the ordinary HTTP rules and do not acquire another meaning from AST. 7. Validator Construction 7.1. Representation ETags An SBR ETag can be generated using a content hash, a representation revision, or another mechanism satisfying strong-validator requirements. A revision counter used as a strong ETag MUST change whenever the selected SBR representation data changes, including changes caused by serializers, schema profiles, or emitted fields. If a content hash is used, it MUST be computed over the exact representation data validated by the ETag. For a deterministic JSON SBR, an implementation MAY use JCS [RFC8785], but AST does not require JCS when another method satisfies HTTP strong-validator semantics. A hash of JCS output is a strong validator for the selected representation only when those exact canonical bytes are the representation data served; canonicalizing different served bytes only for hashing is insufficient. Jurkovikj Expires 1 June 2027 [Page 18] Internet-Draft Agentic State Transfer November 2026 7.2. Stored Validators Storing a validator beside the CRS is permitted, but the storage update alone does not establish conformance. The compare, transition, and validator publication MUST be one atomic operation as described above. 8. Discovery and Linking 8.1. The concurrency-state Link Relation A Projected Resource SHOULD include a concurrency-state link to the canonical State-Bearing Resource: NOTE: '\' line wrapping per RFC 8792 Link: ; rel="concurrency-state"; \ type="application/json" The link target identifies the resource from which a client can retrieve the complete state needed to understand and reconcile Core protected mutations. The link itself does not transfer a validator, advertise Core protected mutation methods or AST conformance, or change the target scope of If-Match. Responses carrying this link MUST satisfy the cache-association requirements in Section 6.2. The relation expresses a more specific association than an editing link. In AtomPub, edit identifies an editable Member Entry and, within an Atom entry, a resource that can be retrieved, updated, and deleted (Section 11.1 of [RFC5023]). concurrency-state instead identifies the complete authoritative reconciliation state for the concurrency domain associated with the link context, which can be a projection rather than the state resource itself. An editing link alone does not establish that complete state association or the AST application contract. The type target attribute SHOULD identify the expected SBR media type. A client MUST still process the target's actual response according to HTTP and MUST obtain its ordinary ETag from the target. 8.2. Same-Origin Default Clients SHOULD follow concurrency-state links automatically only while every URI actually contacted, including every redirect target, remains same-origin with the link context. Before contacting the initial target or following a redirect, a client MUST apply its scheme, origin, destination, trust, and credential policy to that URI. Any redirect hop that crosses the same-origin boundary requires Jurkovikj Expires 1 June 2027 [Page 19] Internet-Draft Agentic State Transfer November 2026 explicit client policy covering redirects, DNS rebinding, private- network destinations, TLS identity, and credential handling. A same- origin initial link does not exempt a later redirect target from this requirement. An anchor parameter identifies a link context; it does not establish the response source's authority to assert that context-to-target association. Before using the link context for the same-origin comparison above, a client MUST establish that trust under its application policy. If it cannot establish that trust, it MUST ignore the link for AST discovery (Section 5 of [RFC8288]). Equality between the target and context origins alone does not establish that trust. A client MUST NOT automatically forward Authorization, cookies, client certificates, or other ambient credentials to a newly discovered authority solely because it appears in a concurrency-state link. 8.3. Alternate Representations The registered alternate relation MAY be used for navigation among other representations. An alternate link does not imply AST participation or concurrency semantics. 9. Integrity and Transport ETags are not content-integrity or authentication mechanisms. When payload integrity is required, a sender can use Digest Fields [RFC9530]. When message authentication is required, an application can use an appropriate authentication or signature mechanism. Request digest validation is independent of AST precondition evaluation. A server performs authentication, authorization, request syntax and digest validation, and other normal checks before the atomic AST compare-and-commit step. Earlier authorization does not replace the protection of current authorization inputs inside the authoritative boundary described in Section 5.2. 10. Existing HTTP Alternatives An application with a distinct mutation target can define another complete HTTP contract. Distinct resources can intentionally publish a coordinated ordinary strong ETag when the common value independently validates every participant's selected representation. This can require atomic cross-resource publication, rotate after representation-only changes, Jurkovikj Expires 1 June 2027 [Page 20] Internet-Draft Agentic State Transfer November 2026 and produce conservative 412 responses. It does not combine cache entries across target URIs. Changing the coordinated tag at one target does not invalidate or revalidate a cached response for another target URI. The registered tagged If field [RFC4918] can test an identified SBR while another resource is the request target. A narrow application profile could limit this to one same-origin SBR, local resolution without network dereferencing, one explicit strong ETag condition, and Cache-Control: no-cache. This document neither profiles the field nor claims complete WebDAV compliance. WebDAV synchronization [RFC6578] permits a collection sync-token to be tested in a tagged If condition when creating or mutating a different child resource. CalDAV scheduling [RFC6638] defines the distinct Schedule-Tag and If-Schedule-Tag-Match fields for consequential scheduling changes. These are application-specific precedents, not AST conformance modes. These alternatives do not require AST. Its narrower same-target application contract is described in the Introduction; ETag, If- Match, 412, 428, cross-target conditions, and application-specific validators are existing mechanisms, not inventions of this profile. 11. Non-AST Resources and Fallback A server MAY implement AST for only part of an API. Clients MUST NOT infer AST support for one resource from support on another resource at the same origin. A client that cannot establish the complete AST application contract MUST NOT assume that an unknown conditional extension protects a mutation. It can use AST at the canonical SBR, an adequately specified existing HTTP mechanism, application documentation, or decline the mutation. 12. Implementation and Conformance An interoperability report for this Experimental profile needs at least two independently authored implementations that do not share the tested protocol core. A report identifies their versions and source lineage, the test corpus and environment, and observed outcomes. Wrappers, bindings, or deployments of the same protocol core do not establish independent interoperability. Laboratory results remain limited to the tested model and environments. Jurkovikj Expires 1 June 2027 [Page 21] Internet-Draft Agentic State Transfer November 2026 Single-implementation conformance, model-based, and exploratory evaluations remain useful, but do not establish independent interoperability. Concurrency-domain completeness is an application-specific conformance obligation. Passing the generic cross-test corpus alone does not establish that all mutation-relevant state and write paths have been included. The minimum cross-test corpus covers: * designation of the canonical State-Bearing Resource and unambiguous selection of its SBR; * successful mutation with the current explicit strong ETag in If- Match; * 412 Precondition Failed for stale If-Match, with zero mutation; * 428 Precondition Required for missing, wildcard, weak, mixed weak/ strong, and multiple-strong If-Match values, with zero mutation; * quoted opaque tags and combined field values across repeated If- Match lines; syntactically valid multi-tag lists receive 428, while malformed syntax such as *, "a" follows ordinary syntax handling, with zero mutation for every rejection; * participation of every writer in the same atomic comparison, mutation, and validator-publication boundary; * two otherwise-valid concurrent requests for the same selected SBR, using the same initial validator and each requesting a state change, with no other intervening changes; the first commits and changes the validator, and the second receives 412 with zero mutation and no duplicate side effects; * re-evaluation of the precondition at the commit point after deferred work; and * retrieval of the current SBR and reconciliation after 412 without blind retry. An AST server: * MUST designate one canonical State-Bearing Resource per concurrency domain; * MUST expose a strong ETag for the selected SBR; Jurkovikj Expires 1 June 2027 [Page 22] Internet-Draft Agentic State Transfer November 2026 * MUST require a Core version-specific If-Match on every Core protected mutation; * MUST ensure that the mutation targets and selects the SBR; * MUST return 428 when the required version-specific condition is absent or inadequate and 412 when it is false, while leaving malformed request syntax to ordinary HTTP handling with zero mutation; * MUST NOT convert a false Core version-specific If-Match into an already-applied 2xx; * MUST atomically compare, transition, and publish the new validator; and * MUST use the SBR ETag only at the SBR target within AST. An AST client: * MUST possess the validator for the state against which its mutation was constructed and send exactly that one strong entity- tag in If-Match; * MUST use If-Match only at the SBR target under this profile; * MUST NOT use a wildcard, weak entity-tag, or more than one entity- tag as AST version evidence; and * MUST reconcile state after 412 rather than blindly substituting a returned validator. At the time of this revision, no qualifying pair of independent implementations or cross-test report is claimed by this document. Publication does not establish independent interoperability, operational suitability, IETF consensus, or successful completion of the experiment. 13. Security Considerations 13.1. Authorization and State Scope The SBR can expose more information than a rendered projection. A server MUST apply authorization appropriate to the complete state and MUST NOT expose fields merely because the user can access a redacted projection. Jurkovikj Expires 1 June 2027 [Page 23] Internet-Draft Agentic State Transfer November 2026 Different authorization views require different concurrency domains unless they expose exactly the same mutation-relevant CRS. Authentication and authorization checks MUST precede disclosure of current validators or conflict state. This includes preventing authorization-dependent SBR responses from being reused outside the applicable authorization context as required by Section 6.1. Discovery-link association is a separate requirement under Section 6.2: authorization to mutate both domains does not make a cached link to one domain correct for an application selecting the other. The protections apply even within one principal's private cache. 13.2. Cross-Resource and Cross-Origin Confusion Within AST, an ordinary ETag from one target resource is not treated as an If-Match condition on another. This is a conservative profile boundary; distinct resources can use intentionally coordinated strong ETags when each use independently conforms to HTTP. Cross-origin discovery can create SSRF, credential-forwarding, redirect, and trust-boundary risks. Same-origin discovery is the default; clients need an explicit cross-origin policy. 13.3. Atomicity Failure to serialize every writer in a concurrency domain defeats AST's lost-update guarantee. Operators MUST audit non-HTTP write paths and distributed components, not only the public request handler. 13.4. Validator Disclosure and Tracking Validators can reveal update frequency, correlate views, or expose internal revision identifiers. Servers SHOULD use opaque or privacy- preserving construction and separate domains when correlation is sensitive. Validators MUST NOT be treated as authorization tokens. 13.5. Blind Retry A new validator does not prove that a stale operation remains valid. Clients that blindly retry after 412 can overwrite intervening changes despite using a current validator. The mandatory reconciliation rule reduces this risk. Jurkovikj Expires 1 June 2027 [Page 24] Internet-Draft Agentic State Transfer November 2026 13.6. Transformation and Intermediaries Intermediaries can transform, compress, strip, or rewrite representation metadata. AST deployments SHOULD use a dedicated identity-coded SBR with Cache-Control: no-transform and end-to-end assurance that the origin enforces the required condition. 14. IANA Considerations IANA is requested to register the following relation in the "Link Relation Types" registry established by [RFC8288]. * Relation Name: concurrency-state * Description: Refers to a resource that provides the complete authoritative state used to understand and reconcile conditional updates within a concurrency domain associated with the link context. * Reference: this document * Notes: The target exposes an ordinary ETag for its selected State- Bearing Representation. Under AST Core, protected mutations target the State-Bearing Resource at the link target. The relation does not advertise method support or change the scope or meaning of If-Match. Before registration, an implementation that needs an extension relation type SHOULD use a URI under a namespace it controls. A mutable Datatracker document URL is not a permanent extension- relation namespace. The examples in this document use the requested concurrency-state token for readability and assume that registration has occurred. Pre-registration deployments follow the URI guidance above. 15. Changes Since -02 This revision: * changes the intended status to Experimental and records the absence of an IETF consensus claim; * defines AST as a standalone Core profile using ordinary ETag and If-Match; * removes the optional Semantic field mechanism and its normative dependency from this document; Jurkovikj Expires 1 June 2027 [Page 25] Internet-Draft Agentic State Transfer November 2026 * retains mandatory SBR designation, stable selected-representation rules, strict 412 and 428, all-writer atomicity, deferred-commit protection, and reconciliation without blind retry; * distinguishes the mandatory application contract from the recommended concurrency-state discovery link; * explains applicability, complete-state and all-writer costs, and the distinction between state discovery and an editing link; * describes coordinated strong ETags, tagged WebDAV If, WebDAV Sync, and CalDAV Schedule-Tag as prior art and alternatives without importing them as conformance modes; * deliberately requires 412 for every false Core version-specific If-Match; * keeps operation identity, digest processing, caching, range, and representation selection separate from the AST condition; * binds each Core mutation to exactly one explicit strong If-Match entity-tag; * requires safe shared-cache handling for authorization-dependent SBR responses; * protects domain-dependent discovery links through cache selection and updating, including reuse inside a private cache; * applies reconciliation to all Core protected retries after 412, including operations claimed safe to repeat blindly; * defines link context on error responses and redirect-hop policy explicitly; * requests only the concurrency-state link relation registration; * replaces comparative Semantic experiment material with one compact Core implementation and conformance section; and * removes the optional canonicalization vector while retaining implementation freedom for conformant strong ETag construction. 16. References 16.1. Normative References Jurkovikj Expires 1 June 2027 [Page 26] Internet-Draft Agentic State Transfer November 2026 [RFC9110] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Semantics", STD 97, RFC 9110, DOI 10.17487/RFC9110, June 2022, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC6585] Nottingham, M. and R. Fielding, "Additional HTTP Status Codes", RFC 6585, DOI 10.17487/RFC6585, April 2012, . [RFC9457] Nottingham, M., Wilde, E., and S. Dalal, "Problem Details for HTTP APIs", RFC 9457, DOI 10.17487/RFC9457, July 2023, . [RFC9111] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Caching", STD 98, RFC 9111, DOI 10.17487/RFC9111, June 2022, . [RFC8288] Nottingham, M., "Web Linking", RFC 8288, DOI 10.17487/RFC8288, October 2017, . 16.2. Informative References [RFC5023] Gregorio, J., Ed. and B. de hOra, Ed., "The Atom Publishing Protocol", RFC 5023, DOI 10.17487/RFC5023, October 2007, . [RFC9205] Nottingham, M., "Building Protocols with HTTP", BCP 56, RFC 9205, DOI 10.17487/RFC9205, June 2022, . [RFC8792] Watsen, K., Auerswald, E., Farrel, A., and Q. Wu, "Handling Long Lines in Content of Internet-Drafts and RFCs", RFC 8792, DOI 10.17487/RFC8792, June 2020, . Jurkovikj Expires 1 June 2027 [Page 27] Internet-Draft Agentic State Transfer November 2026 [RFC8785] Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, DOI 10.17487/RFC8785, June 2020, . [RFC9530] Polli, R. and L. Pardue, "Digest Fields", RFC 9530, DOI 10.17487/RFC9530, February 2024, . [RFC4918] Dusseault, L., Ed., "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)", RFC 4918, DOI 10.17487/RFC4918, June 2007, . [RFC6578] Daboo, C. and A. Quillaud, "Collection Synchronization for Web Distributed Authoring and Versioning (WebDAV)", RFC 6578, DOI 10.17487/RFC6578, March 2012, . [RFC6638] Daboo, C. and B. Desruisseaux, "Scheduling Extensions to CalDAV", RFC 6638, DOI 10.17487/RFC6638, June 2012, . [RFC6906] Wilde, E., "The 'profile' Link Relation Type", RFC 6906, DOI 10.17487/RFC6906, March 2013, . [RFC5789] Dusseault, L. and J. Snell, "PATCH Method for HTTP", RFC 5789, DOI 10.17487/RFC5789, March 2010, . [RFC7396] Hoffman, P. and J. Snell, "JSON Merge Patch", RFC 7396, DOI 10.17487/RFC7396, October 2014, . Appendix A. AST Core Example A.1. Read the SBR The profile link in this example follows [RFC6906] and identifies the representation profile for this exact draft revision. It does not, by itself, identify protected mutation methods, guarantee server enforcement, or replace the Core application contract. Jurkovikj Expires 1 June 2027 [Page 28] Internet-Draft Agentic State Transfer November 2026 NOTE: '\' line wrapping per RFC 8792 GET /api/article/123 HTTP/1.1 Host: example.com Accept: application/json Accept-Encoding: identity HTTP/1.1 200 OK Content-Type: application/json ETag: "json-v18" Cache-Control: no-cache, no-transform Link: ; \ rel="profile" {"id":123,"status":"published","title":"Example"} A.2. Conditional Mutation PATCH and application/merge-patch+json in this example use the method and patch-document semantics of [RFC5789] and [RFC7396]. AST adds only its conditional-update profile requirements. PATCH /api/article/123 HTTP/1.1 Host: example.com Accept: application/json Accept-Encoding: identity Content-Type: application/merge-patch+json Content-Length: 18 If-Match: "json-v18" {"status":"draft"} HTTP/1.1 204 No Content ETag: "json-v19" A.3. Projected Target Rejection PATCH /article/123 HTTP/1.1 Host: example.com If-Match: "json-v18" Content-Type: application/merge-patch+json Content-Length: 18 {"status":"draft"} Jurkovikj Expires 1 June 2027 [Page 29] Internet-Draft Agentic State Transfer November 2026 NOTE: '\' line wrapping per RFC 8792 HTTP/1.1 405 Method Not Allowed Allow: GET, HEAD Link: ; rel="concurrency-state"; \ anchor="/article/123"; type="application/json" Appendix B. Single-URI Deployment A single URI can serve both HTML and the SBR by content negotiation, but the Core protected mutation must unambiguously select the same SBR variant: GET /article/123 HTTP/1.1 Host: example.com Accept: application/json Accept-Encoding: identity HTTP/1.1 200 OK Content-Type: application/json ETag: "json-v18" Vary: Accept PATCH /article/123 HTTP/1.1 Host: example.com Accept: application/json Accept-Encoding: identity Content-Type: application/merge-patch+json Content-Length: 18 If-Match: "json-v18" {"status":"draft"} If the server cannot unambiguously select the SBR for a Core protected mutation, it MUST reject the request without mutation. Failure to select the SBR does not remove the request from Core protection or authorize fallback to an unprotected mutation. The response status follows ordinary HTTP semantics and the application contract; this profile does not assign a universal status code to selection failure. A dedicated SBR URI is therefore preferred. Author's Address Antun Jurkovikj Email: antunjurkovic@gmail.com Jurkovikj Expires 1 June 2027 [Page 30]