| Internet-Draft | Provider-Sealed Admission Receipts | December 2026 |
| Chandra | Expires 4 June 2027 | [Page] |
An agent can lose its connection after sending a booking or provisioning request. Its replacement must determine whether the provider admitted the original request before considering another attempt. This document specifies an experimental signed receipt for that decision. A participating provider closes a defined set of admission paths to a retiring executor, resolves requests already received on those paths and signs a bounded list of admitted operation occurrences. An owner checks the receipt against its original job, provider profile, retired executor generation and operation history. The experiment distinguishes admission, scoped evidence of non-entry, and unresolved or disputed cases. It specifies an interoperable receipt encoding, verification procedure and conformance cases.¶
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 4 June 2027.¶
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.¶
Suppose a personal agent submits a reservation and loses its connection. The user replaces the agent. A second reservation could duplicate the first, even if the provider's status cache is empty and the predecessor's credential has been revoked. The provider controls a boundary the user cannot observe: the point at which a received request can cause a consequential effect. This document defines what that provider can sign after it closes the boundary to the retired executor.¶
The experiment applies to one pre-existing owner journal, one authorized change of executor, and one provider that can cover the declared operation paths. The wire object travels from the provider to the owner, directly or through the successor. A second verifier can check it using the same original bindings and independently provisioned trust configuration. A provider can admit asynchronous work long before that work completes. The receipt resolves admission; the application profile defines how to determine the subsequent outcome.¶
The contribution is an explicit, signed, scope-complete enumeration with a decision procedure for an omitted occurrence. The scope includes the paths on which the provider can enforce the cut. Deployments can compare decisions over identical receipt bytes while using different runtimes or transport bindings. This document does not require a discovery system or replace user approval, native idempotency, effect reconciliation or the provider's authorization mechanism.¶
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.¶
Before any covered dispatch, the owner MUST persist the owner, tenant, job and operation identifiers, the exact request or its digest, the applicable provider account mapping, resource scope, environment, eligible entry paths, and provider profile identifier, version and digest. It MUST preserve the native idempotency key and provider operation reference when available. A new executor MUST retain these bindings. An attempt to reuse an occurrence for different terms MUST be refused. Separate intentional operations with identical terms require distinct identifiers.¶
Compute the occurrence key as lowercase hexadecimal SHA-256 of the UTF-8 JSON Canonicalization Scheme (JCS) encoding [RFC8785] of an object containing exactly the string members job_id, operation_id, owner_id and tenant_id with their original values. Identifiers are opaque, case-sensitive strings. A verifier MUST NOT normalize them. The executor, its account and its epoch are intentionally outside this key. The key alone grants no authority. The provider MUST authenticate the registered owner or its authorized instructions and bind the invoking principal to the adopted assignment before admitting an operation.¶
The owner MUST provision an authenticated mapping from the exact provider profile digest to the trusted provider signing key or keys, and retain the mapping needed for historical receipts. The profile defines its scope, entry point identifiers, covered accounts and authorization rules, retention, and native status interpretation. Provider authorization, profile distribution, executor assignment transport and key provisioning are deployment inputs. Receipts are insufficient to bootstrap any of them.¶
Atomicity here concerns the provider admission decision and record. An admitted queue item may still be delivered, finish, fail or be compensated after the fence. If another path, credential or provider instance can cause the same effect for the original dispatch and is outside the covered boundary, a receiver MUST leave that dispatch unresolved. A provider that cannot fence a bypass path must identify it in its profile and exclude it from completeness claims.¶
The receipt is one UTF-8 JSON object satisfying I-JSON [RFC7493] and the JCS input restrictions. Duplicate member names, unsupported fields, invalid Unicode, and integers outside the exact range 0 through 9007199254740991 MUST be rejected. Validation MUST take place before merging the receipt with previous state. The transport carries the receipt with a separate compact detached JWS. An interoperable JSON transport binding uses members receipt (the object) and receipt_signature (the string). Application endpoints, discovery and the authenticated adoption request are outside this receipt specification.¶
The following shape is expressed in CDDL [RFC8610] using the JSON data model. All map member names are text. The type hexdigest is exactly 64 lowercase hexadecimal characters. id is a nonempty Unicode string of at most 256 characters. Implementations MUST enforce the ranges and verification rules below in addition to this grammar.¶
receipt = {
schema_version: "0.1.0-draft",
kind: "fence_adoption_receipt",
receipt_id: id,
profile: {profile_id: id, profile_version: tstr,
profile_digest: hexdigest},
scope: {owner_id: id, tenant_id: id, job_id: id,
provider_id: id, environment_id: id, resource_scope: id,
covered_paths: [1*64 id]},
adopted: {recovery_generation: uint, executor_epoch: uint},
sealed_through_executor_epoch: uint,
provider_sequence: uint,
issued_at: tstr,
sealing: "sealed" / "none",
sealed_occurrences: [*10000 entry],
negative_result_complete: bool,
attestation: {format: "provider_signature", reference: tstr},
receipt_digest: hexdigest,
? fixture_only: false
}
entry = {
occurrence_key: hexdigest, operation_id: id,
admission: "admitted" / "refused_no_effect",
admitted_executor_epoch: uint, native_status: id,
native_reference: tstr / null, calling_account_id: id / null
}
hexdigest = tstr .regexp "[0-9a-f]{64}"
id = tstr
¶
The receipt profile selects the signed, owner-registered occurrence subset of the toolkit format. An implementation receiving a different version, attestation format, or an extension such as prior_activity MUST return an unsupported result for this profile. In particular it MUST NOT strip additional members or apply a negative inference to requests made before owner registration. A separate binding would be needed to associate such requests with operations that lacked occurrence keys.¶
There MUST be at least one covered path. Paths are distinct, opaque identifiers defined by the provider profile. A receiver MUST compare exact identifiers and MUST NOT infer inclusion by URL prefix or path alias. profile_version is nonempty and at most 64 characters. executor_epoch and provider_sequence start at one or greater. issued_at is an RFC 3339 timestamp [RFC3339]. A non-null native reference is nonempty and at most 1024 characters. A calling account identifier is attribution metadata and is never used as the occurrence key. The verifier MUST bound the receipt's decoded size and depth before processing it and report an unsupported size when that limit is exceeded. A truncated or paginated set MUST NOT be represented as complete.¶
In sealed mode, negative_result_complete MUST be true. Every admitted occurrence in scope through sealed_through_executor_epoch appears once. An explicit refused_no_effect entry is optional and describes a refusal for that occurrence over the sealed interval only. The provider MUST NOT encode a refusal in place of an admission. Entry epochs must not exceed the sealed-through epoch. In none mode, the list MUST be empty and completeness MUST be false. The acknowledgment then has no evidentiary value for non-entry. Contradictory combinations MUST be rejected.¶
attestation with format provider_signature and reference equal to the RFC 7638 SHA-256 JWK thumbprint of the intended public key [RFC7638]. Encode the thumbprint in unpadded base64url.¶
receipt_digest member if present. Compute SHA-256 over JCS UTF-8 of the remaining object. Insert its lowercase hexadecimal encoding as receipt_digest. Recanonicalize the complete object: this byte string, including the digest and attestation, is the payload.¶
alg equal to ES256, kid equal to the thumbprint, and typ equal to JOSE. Use ES256 as specified in [RFC7518]. The ordinary JWS base64url payload encoding is retained. The external representation has two adjacent dots. No unprotected header or embedded key is permitted.¶
receipt_digest. Any failure MUST preclude an authoritative state transition.¶
The digest detects content changes only in relation to trusted evidence. The signature attributes a particular statement to a pinned key. Neither measures whether the provider actually covered its admission paths, has told the truth, or recorded a correct signing time.¶
The verifier needs the committed handoff target, the scope and provider profile bound to the job, its ownership journal or equivalent trusted inputs, and its previous accepted evidence. An offline checker given the receipt and a public key alone can report signature validity but cannot decide that a particular retry is safe.¶
adopted to match the committed recovery generation and new executor epoch. Require sealed_through_executor_epoch to equal the retired source epoch, below the new epoch. Compare the attempt's recorded epoch with this interval. A later epoch or a different recovery history cannot be decided by this receipt.¶
admitted occurrence for a recorded dispatch. Preserve the original key, reference and consumed authority. Use authenticated provider status under the pinned profile to resolve its final effect. Native status in a verified entry may establish a terminal outcome only if the profile explicitly assigns it that meaning with the required reference. The successor MUST NOT submit the occurrence again on the strength of this receipt.¶
Persist the accepted issuer sequence, digest, scope, per-occurrence decisions and any authority change atomically. Replayed notifications or a crash after committing must not credit the same reservation twice. A working transport may redeliver the original evidence.¶
A producer and a receiver can be tested separately. Record the initial owner journal and provider profile, the handoff, the provider's admission log, the receipt and signature, and the final admission decision and accounting delta. Test runs SHOULD disclose which components share code, storage and administrative control.¶
The experiment succeeds if independently maintained implementations, given the same trust inputs, provider log and failure schedule, agree on receipt validity, entry disposition and authorized accounting change. An inconclusive lookup must not become a successful retry under test. The Agent Continuity Toolkit and its Poppy demonstration provide same-project implementation experience with provider barriers, signatures and recovery scenarios. The toolkit persists one signature per adoption and returns it on re-read. Accepting a second valid encoding of the same authenticated payload as one observation is a receiver requirement of this experiment. Independent interoperability is an open measurement.¶
A dishonest or compromised provider can sign an incomplete set. A provider with split admission histories can give different owners conflicting signed receipts. Provider-side serialization, authenticated durable records, accountable key custody, independent observation when available, and comparison of previously seen receipts are security dependencies. A provider unable to bound the paths from receipt of a request to admission must select an unsealed result or decline adoption. The user's discovery registry supplies routes; changing a route does not confer authority or establish provider coverage.¶
Authenticate the owner and successor independently of identifiers in a request. A provider MUST check the adopted principal and generation on every covered entry path, including native retry and approval paths that can cause an effect. A stale credential, relayed owner request, shared account or self-asserted epoch cannot establish that a caller is the new executor. If distinct executors are indistinguishable to the provider under its authentication model, the extent of the fence is limited to the distinguishable principal; the deployment cannot claim an individual executor was excluded.¶
Size and resource limits apply to JSON decoding, canonicalization, signature checking, retained evidence and the number of pending admissions. Apply limits and rate controls before expensive operations. Safe refusal can reduce availability during a long partition or queue stall. Do not shorten the admission barrier to meet an availability target while continuing to issue complete receipts.¶
Receipt keys require authenticated provisioning, rotation and withdrawal. Bind retained keys to the exact historical profile digests that authorize their use. An untrusted timestamp cannot prove the signature predates key compromise; after compromise, apply a separate trust policy to earlier evidence. Rollback of the owner journal or provider records can invalidate both sequence and generation assumptions. Recover only from an independently trusted checkpoint or keep the job held until the histories can be reconciled.¶
Each list reveals linkable job and operation identifiers, native status, and potentially customer or operator references. Scope lists to one job and necessary provider paths, use opaque identifiers, disclose them only to authorized parties, and protect their transport and retention. A SHA-256 occurrence key is deterministic; guessable identifiers can be correlated or tested by an observer. Use sufficiently unpredictable identifiers where cross-party linkability matters. A receipt with entries removed is no longer the signed complete statement. Selective disclosure and proofs of private non-membership require a separate protocol.¶
This document has no IANA actions.¶
This synthetic input exercises complete-list membership for one booking and non-entry for a second booking. The owner previously dispatched both at epoch 3 on the sole covered path, committed epoch 4 with recovery generation 1, and trusts the test public key under the supplied profile digest. Treat the profile digest as a preconfigured opaque test value. The provider account mapping, job scope and profile identifiers match exactly. The private key is unnecessary for verification.¶
In the following JSON template replace the entire string values KEY, KID, PIN and DIGEST with the corresponding strings printed below. No member names change. Whitespace is for readability.¶
{
"schema_version": "0.1.0-draft",
"kind": "fence_adoption_receipt",
"receipt_id": "seal-4",
"profile": {
"profile_id": "book",
"profile_version": "v1",
"profile_digest": "PIN"
},
"scope": {
"owner_id": "o",
"tenant_id": "t",
"job_id": "j",
"provider_id": "travel",
"environment_id": "test",
"resource_scope": "booking",
"covered_paths": [
"book"
]
},
"adopted": {
"recovery_generation": 1,
"executor_epoch": 4
},
"sealed_through_executor_epoch": 3,
"provider_sequence": 2,
"issued_at": "2026-12-01T12:00:00Z",
"sealing": "sealed",
"sealed_occurrences": [
{
"occurrence_key": "KEY",
"operation_id": "buy-1",
"admission": "admitted",
"admitted_executor_epoch": 3,
"native_status": "pending",
"native_reference": "b-19",
"calling_account_id": "client-a"
}
],
"negative_result_complete": true,
"attestation": {
"format": "provider_signature",
"reference": "KID"
},
"receipt_digest": "DIGEST"
}
¶
Values below are literal. For H, S and other values with continuation lines, concatenate all lines for that value without spaces, labels or line breaks. The detached JWS is H followed by two dots followed by S. The following public P-256 key coordinates are unpadded base64url.¶
KEY 1dce7d105b01ebf2f4fe5b2a39ec48d49a2499bb80c8d3a67ac1d8316a2e357e KID 38g1ZeVvpQpZv9qNRsnorNtTp92j726FcJLTVQBrs90 PIN 190d640a8633264b34f1259e11fa413339495acc28bdfa785dbd65a3c6377549 DIGEST c8726be37a5c2bd2a7d5c6633add3e8cae723a2ae53f633d23b22e37ed54f510 x HBXbxRLMSOiMyxthodh0UU2gt46hLw2xDY53NqUjJM8 y SxuVsA4N_5I7IiVJiNrrETcQBpOGy2YTpSOuG42mZAU H eyJhbGciOiJFUzI1NiIsImtpZCI6IjM4ZzFaZVZ2cFFwWnY5cU5Sc25vck50VHA5M mo3MjZGY0pMVFZRQnJzOTAiLCJ0eXAiOiJKT1NFIn0 S YKlZxvxu3lAxquKJEXnOZvMCjgskaAFESwfJavsUq_jCphBJnqJq5tNHSXti96QWd AHvkrCfFzbwBCgEN1F28g¶
Authenticated lookup for buy-1 may use native reference b-19. Its admission is established and its native outcome remains pending. For a dispatch under buy-2 in the same retired interval, the verified list establishes scoped non-entry. With release disabled a receiver retains the reservation for buy-2. Changing the scope without resigning, truncating the list or removing the only entry and recomputing only the unkeyed digest fails signature verification. Reusing the unchanged valid receipt for a job outside its scope fails semantic verification.¶