<?xml version="1.0" encoding="UTF-8"?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" ipr="trust200902" submissionType="IETF" category="exp" docName="draft-chandra-agent-sealed-admission-00" tocInclude="true" symRefs="true" sortRefs="true">
<front>
<title abbrev="Provider-Sealed Admission Receipts">Provider-Sealed Admission Receipts for Agent Executor Replacement</title>
<author fullname="Sharath Chandra" initials="S." surname="Chandra"><organization>StellarMinds.ai</organization><address><email>sharath@stellarminds.ai</email><uri>https://stellarminds.ai</uri></address></author>
<date year="2026" month="December" day="1"/>
<keyword>agent continuity</keyword><keyword>provider admission</keyword><keyword>executor replacement</keyword>
<abstract><t>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.</t></abstract>
</front>
<middle>
<section anchor="introduction"><name>Introduction</name>
<t>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.</t>
<t>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.</t>
<t>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.</t>
</section>
<section anchor="requirements"><name>Terminology and Requirements Language</name>
<t>The key words &quot;MUST&quot;, &quot;MUST NOT&quot;, &quot;REQUIRED&quot;, &quot;SHALL&quot;, &quot;SHALL NOT&quot;, &quot;SHOULD&quot;, &quot;SHOULD NOT&quot;, &quot;RECOMMENDED&quot;, &quot;NOT RECOMMENDED&quot;, &quot;MAY&quot;, and &quot;OPTIONAL&quot; in this document are to be interpreted as described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>
<dl>
<dt>Owner</dt><dd>The authority for one durable job journal. The owner records operation identity, immutable requests, executor assignments, outstanding obligations and accounting decisions.</dd>
<dt>Executor</dt><dd>The runtime authorized by the owner to act on a job. Its executor epoch increases on replacement. Its operator account can change without changing the identity of the job's operations.</dd>
<dt>Provider and admission</dt><dd>The provider controls the external effect. Admission is the durable provider decision after which that effect may occur. Its precise boundary, including queue insertion if relevant, is declared in a pinned provider profile.</dd>
<dt>Occurrence</dt><dd>One intended logical operation. Two identical purchases can be two occurrences. The owner assigns each a distinct operation identifier and binds it to the intended request before dispatch.</dd>
<dt>Fence and seal</dt><dd>A fence excludes old executors from future entry on the specified paths. A seal also decides all covered earlier requests and makes the set of admitted occurrences through a stated epoch final.</dd>
</dl></section>
<section anchor="inputs"><name>Inputs and Trust Configuration</name>
<t>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.</t>
<t>Compute the occurrence key as lowercase hexadecimal SHA-256 of the UTF-8 JSON Canonicalization Scheme (JCS) encoding <xref target="RFC8785"/> of an object containing exactly the string members <tt>job_id</tt>, <tt>operation_id</tt>, <tt>owner_id</tt> and <tt>tenant_id</tt> 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.</t>
<t>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.</t>
</section>
<section anchor="cut"><name>Producing a Sealed Receipt</name>
<ol>
<li>Commit the assignment. The owner records the predecessor epoch and commits a replacement assignment with a higher executor epoch. It remembers the journal's recovery generation and the authenticated successor identity. It requests adoption of that exact target from the provider. An authorization to prepare the handoff MUST NOT enable the successor to issue consequential requests in advance of the committed assignment and the required provider confirmation.</li>
<li>Close admission for the old generation. The provider authenticates and authorizes the owner's request. It serializes fence adoption and old-generation admission across all participating instances, queues and covered paths of the scope. Each received old-generation request must either be durably admitted with its occurrence recorded, or irrevocably refused without effect. A request arriving late under a retired epoch MUST be refused before it can cause the effect. Deduplication must cover the original occurrence across eligible executor accounts.</li>
<li>Seal and adopt. At one recoverable boundary, the provider makes its adopted state durable, prevents later entry under the retired assignment, and finalizes its membership list for all covered epochs through the retired source epoch. Regeneration from a partial cache, a lagging replica, or a database restored behind that boundary MUST NOT produce a complete receipt. If an old request might still enter or any necessary history has expired, the provider MUST withhold the sealed receipt.</li>
<li>Sign and retain. The provider creates the receipt defined in <xref target="data"/>, signs it as in <xref target="signature"/>, and durably associates the exact receipt and signature with adoption. A retry for the same adopted target MUST return the stored result. A conflicting request for a retired or already assigned target MUST NOT advance state. A provider recovering partway through sealing MUST resume consistently or withhold the result. The producer returns the stored signature as well as the receipt. Receiver-side replay comparison uses the authenticated receipt content as specified in <xref target="verifier"/>.</li>
</ol>
<t>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.</t>
</section>
<section anchor="data"><name>Receipt and Wire Encoding</name>
<t>The receipt is one UTF-8 JSON object satisfying I-JSON <xref target="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 <tt>receipt</tt> (the object) and <tt>receipt_signature</tt> (the string). Application endpoints, discovery and the authenticated adoption request are outside this receipt specification.</t>
<t>The following shape is expressed in CDDL <xref target="RFC8610"/> using the JSON data model. All map member names are text. The type <tt>hexdigest</tt> is exactly 64 lowercase hexadecimal characters. <tt>id</tt> is a nonempty Unicode string of at most 256 characters. Implementations MUST enforce the ranges and verification rules below in addition to this grammar.</t>
<sourcecode type="cddl"><![CDATA[
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
]]></sourcecode>
<t>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 <tt>prior_activity</tt> 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.</t>
<t>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. <tt>profile_version</tt> is nonempty and at most 64 characters. <tt>executor_epoch</tt> and <tt>provider_sequence</tt> start at one or greater. <tt>issued_at</tt> is an RFC 3339 timestamp <xref target="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.</t>
<t>In <tt>sealed</tt> mode, <tt>negative_result_complete</tt> MUST be true. Every admitted occurrence in scope through <tt>sealed_through_executor_epoch</tt> appears once. An explicit <tt>refused_no_effect</tt> 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 <tt>none</tt> 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.</t>
</section>
<section anchor="signature"><name>Digest, Signature and Verification Key</name>
<ol>
<li>Populate <tt>attestation</tt> with format <tt>provider_signature</tt> and reference equal to the RFC 7638 SHA-256 JWK thumbprint of the intended public key <xref target="RFC7638"/>. Encode the thumbprint in unpadded base64url.</li>
<li>Remove only the top-level <tt>receipt_digest</tt> member if present. Compute SHA-256 over JCS UTF-8 of the remaining object. Insert its lowercase hexadecimal encoding as <tt>receipt_digest</tt>. Recanonicalize the complete object: this byte string, including the digest and attestation, is the payload.</li>
<li>Use compact JWS with detached payload as specified in Appendix F of <xref target="RFC7515"/>. The protected header contains exactly <tt>alg</tt> equal to <tt>ES256</tt>, <tt>kid</tt> equal to the thumbprint, and <tt>typ</tt> equal to <tt>JOSE</tt>. Use ES256 as specified in <xref target="RFC7518"/>. The ordinary JWS base64url payload encoding is retained. The external representation has two adjacent dots. No unprotected header or embedded key is permitted.</li>
<li>For checking, parse the protected header with duplicate-member rejection. Require this exact algorithm and shape, the detached form, the matching attestation reference, and the locally configured P-256 signing key for this profile digest and thumbprint. Verify the JWS using the original encoded protected-header segment and the newly encoded canonical payload. Independently verify <tt>receipt_digest</tt>. Any failure MUST preclude an authoritative state transition.</li>
</ol>
<t>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.</t>
</section>
<section anchor="verifier"><name>Receiver Decisions</name>
<t>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.</t>
<ol>
<li>Validate shape, digest, signature and key binding. Compare the signed scope and profile to the recorded job. Resolve the occurrence against the immutable request and provider account mapping recorded before dispatch. The receipt contains neither a request digest nor the account mapping itself. Require trusted evidence that the provider enforces those bindings, such as its preconfigured profile and registration. If the receiver lacks the bindings or cannot establish that they apply, leave the operation unresolved. Ensure that the covered paths include every path on which the dispatch under review could have entered. Scope information in the signed receipt describes the provider's assertion and cannot expand the receiver's configured scope.</li>
<li>Require <tt>adopted</tt> to match the committed recovery generation and new executor epoch. Require <tt>sealed_through_executor_epoch</tt> 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.</li>
<li>Check the strictly increasing provider sequence for the scope. After authenticating each delivery independently, compare the canonical receipt payloads within their pinned profile and scope. At the same sequence, identical canonical payloads are one observation even if JSON whitespace or valid detached JWS signatures differ. A verifier MAY use the verified receipt digest as a lookup key. An additional delivery MUST NOT repeat an accounting change. A lower sequence MUST NOT overwrite newer state. Different authenticated payloads at an already accepted sequence are conflicting evidence. Preserve it for investigation, hold affected decisions, and preserve the established history.</li>
<li>Require unique operation identifiers and occurrence keys in the list. Recompute every occurrence key from the receipt scope and the entry's operation identifier. In a job-owner check, an unknown operation identifier or an unexplained provider reference requires investigation before acting. If any check fails, preserve the original operation and its accounting state. Signature failure or unsupported input alone MUST NOT be treated as authentic contradictory testimony.</li>
</ol>
<dl>
<dt>Entered</dt><dd>The valid sealed receipt lists a matching <tt>admitted</tt> 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.</dd>
<dt>Sealed non-entry</dt><dd>The relevant admitted occurrence is absent from a verified complete list, or is explicitly recorded as refused without effect, and the dispatch falls wholly within that list's scope and epoch. In the absence of conflicting evidence the receiver can record non-entry through that epoch. Releasing a logical reservation requires an explicit owner policy, durable linkage to the receipt and an atomic accounting update. Physical attempts and incurred costs remain recorded. A new attempt requires current authority, exact original operation binding and any fresh user approval required by the application.</dd>
<dt>Unresolved</dt><dd>Missing, unsupported, stale, out-of-scope or incomplete evidence supplies no new entry decision. Retain unresolved work and withhold an automatic retry. Read-only reconciliation may continue. A timeout, a new assignment, a provider lookup returning &quot;not found&quot;, or a valid unsealed acknowledgment cannot establish non-entry.</dd>
<dt>Disputed</dt><dd>Authenticated evidence contradicts the history, for example a later complete list omits an earlier admission within the same interval. Record both statements, block automatic re-entry and automatic release, and count the contested authority as consumed pending adjudication. A subsequent admission at a higher epoch can be legitimate after a documented non-entry release followed by a freshly authorized dispatch; apply the epoch interval before raising a contradiction.</dd>
</dl>
<t>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.</t>
</section>
<section anchor="cases"><name>Conformance Cases and Experiment</name>
<t>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.</t>
<ul>
<li>Lost acknowledgment: admit one operation before sealing, discard the reply, and replace the executor. The successor obtains the original native reference. There is one provider admission and no second dispatch.</li>
<li>Sealed non-entry: delay the predecessor's request until the seal is durable. Its later arrival is refused at the old epoch. A qualifying owner-held reservation is released only when policy permits; with release disabled, the same receipt leaves accounting unchanged.</li>
<li>Request racing the cut: pause a second provider instance with an undecided admission. Either the receipt includes the admitted occurrence, the request is durably refused without effect before the seal, or no sealed receipt is issued. A committed old admission occurring after a complete omission fails the producer test.</li>
<li>Trust and coverage: a validly signed receipt covers another tenant, an unrelated job, an insufficient set of paths, or an epoch that fails to cover the dispatch. All leave this dispatch unresolved. A receipt signed with a previously trusted key for a different profile digest fails verification for the new profile.</li>
<li>Replay and disputes: apply the same receipt twice, then reproduce a crash after the first application. There is at most one release. Use an experimental signing key to produce two valid signatures over the identical payload; the receiver reports the same observation in both cases. Present a second validly signed statement at the same sequence with different content, or a later valid statement reporting admission at an already sealed non-entry epoch. Preserve the contradiction and hold automatic action.</li>
<li>Boundaries: an admitted asynchronous operation whose status is pending remains pending. Two identical baskets with distinct operation identifiers remain separate. An unknown entry or an unsupported prior-activity extension cannot be silently dropped to derive non-entry.</li>
</ul>
<t>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.</t>
</section>
<section anchor="related"><name>Relationship to Other Work</name>
<t><xref target="I-D.schrock-agent-operation-continuity"/> defines operation continuity within one authoritative coordination domain, including stable identity, spent authority and unresolved effects. Its cases provide direct comparisons for lost acknowledgments and stale executors. <xref target="I-D.watts-rats-attested-fence-receipt"/> describes hardware-rooted evidence of epoch enforcement at a sink. <xref target="I-D.das-agent-task-migration-recovery"/> discusses cross-domain source fencing, pending work and unknown outcomes. This experiment adds a particular software-provider receipt whose signed membership list can establish a conditional negative result for an individual occurrence. It claims no hardware attestation, generalized migration guarantee or exclusive origin for the underlying recovery rules.</t>
</section>
<section anchor="security"><name>Security Considerations</name>
<t>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.</t>
<t>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.</t>
<t>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.</t>
<t>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.</t>
</section>
<section anchor="privacy"><name>Privacy Considerations</name>
<t>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.</t>
</section>
<section anchor="iana"><name>IANA Considerations</name><t>This document has no IANA actions.</t></section>
</middle>
<back>
<references><name>Normative References</name>
<reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119"><front><title>Key words for use in RFCs to Indicate Requirement Levels</title><author initials="S." surname="Bradner" /><date year="1997" month="March" /></front><seriesInfo name="RFC" value="2119" /></reference>
<reference anchor="RFC3339" target="https://www.rfc-editor.org/info/rfc3339"><front><title>Date and Time on the Internet: Timestamps</title><author initials="G." surname="Klyne" /><author initials="C." surname="Newman" /><date year="2002" month="July" /></front><seriesInfo name="RFC" value="3339" /></reference>
<reference anchor="RFC7493" target="https://www.rfc-editor.org/info/rfc7493"><front><title>The I-JSON Message Format</title><author initials="T." surname="Bray" /><date year="2015" month="March" /></front><seriesInfo name="RFC" value="7493" /></reference>
<reference anchor="RFC7515" target="https://www.rfc-editor.org/info/rfc7515"><front><title>JSON Web Signature (JWS)</title><author initials="M." surname="Jones" /><author initials="J." surname="Bradley" /><author initials="N." surname="Sakimura" /><date year="2015" month="May" /></front><seriesInfo name="RFC" value="7515" /></reference>
<reference anchor="RFC7518" target="https://www.rfc-editor.org/info/rfc7518"><front><title>JSON Web Algorithms (JWA)</title><author initials="M." surname="Jones" /><date year="2015" month="May" /></front><seriesInfo name="RFC" value="7518" /></reference>
<reference anchor="RFC7638" target="https://www.rfc-editor.org/info/rfc7638"><front><title>JSON Web Key (JWK) Thumbprint</title><author initials="M." surname="Jones" /><author initials="N." surname="Sakimura" /><date year="2015" month="September" /></front><seriesInfo name="RFC" value="7638" /></reference>
<reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174"><front><title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title><author initials="B." surname="Leiba" /><date year="2017" month="May" /></front><seriesInfo name="RFC" value="8174" /></reference>
<reference anchor="RFC8610" target="https://www.rfc-editor.org/info/rfc8610"><front><title>Concise Data Definition Language (CDDL): A Notational Convention to Express Concise Binary Object Representation (CBOR) and JSON Data Structures</title><author initials="H." surname="Birkholz" /><author initials="C." surname="Vigano" /><author initials="C." surname="Bormann" /><date year="2019" month="June" /></front><seriesInfo name="RFC" value="8610" /></reference>
<reference anchor="RFC8785" target="https://www.rfc-editor.org/info/rfc8785"><front><title>JSON Canonicalization Scheme (JCS)</title><author initials="A." surname="Rundgren" /><author initials="B." surname="Jordan" /><author initials="S." surname="Erdtman" /><date year="2020" month="June" /></front><seriesInfo name="RFC" value="8785" /></reference>
</references>
<references><name>Informative References</name>
<reference anchor="I-D.schrock-agent-operation-continuity" target="https://datatracker.ietf.org/doc/html/draft-schrock-agent-operation-continuity-00"><front><title>Agent Operation Continuity Across Executor Replacement</title><author initials="I." surname="Schrock" /><date year="2026" month="September" /></front><seriesInfo name="Internet-Draft" value="draft-schrock-agent-operation-continuity-00" /></reference>
<reference anchor="I-D.watts-rats-attested-fence-receipt" target="https://datatracker.ietf.org/doc/html/draft-watts-rats-attested-fence-receipt-00"><front><title>Attested Fence Receipts: Hardware-Rooted Evidence of Authority-Epoch Enforcement at Consequential Sinks</title><author initials="D." surname="Watts" /><date year="2026" month="November" /></front><seriesInfo name="Internet-Draft" value="draft-watts-rats-attested-fence-receipt-00" /></reference>
<reference anchor="I-D.das-agent-task-migration-recovery" target="https://datatracker.ietf.org/doc/html/draft-das-agent-task-migration-recovery-00"><front><title>Task Migration, Partition Recovery and Session Closure for Cross-Domain Agent Work: Pending-Work Escrow, Unknown-Outcome Reconciliation, Fencing and Irreversible Authority Retirement</title><author initials="S." surname="Das" /><date year="2026" month="December" /></front><seriesInfo name="Internet-Draft" value="draft-das-agent-task-migration-recovery-00" /></reference>
</references>
<section anchor="vector"><name>Signed Conformance Vector</name>
<t>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.</t>
<t>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.</t>
<sourcecode type="json"><![CDATA[
{
  "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"
}
]]></sourcecode>
<t>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.</t>
<artwork><![CDATA[
KEY
1dce7d105b01ebf2f4fe5b2a39ec48d49a2499bb80c8d3a67ac1d8316a2e357e
KID
38g1ZeVvpQpZv9qNRsnorNtTp92j726FcJLTVQBrs90
PIN
190d640a8633264b34f1259e11fa413339495acc28bdfa785dbd65a3c6377549
DIGEST
c8726be37a5c2bd2a7d5c6633add3e8cae723a2ae53f633d23b22e37ed54f510
x
HBXbxRLMSOiMyxthodh0UU2gt46hLw2xDY53NqUjJM8
y
SxuVsA4N_5I7IiVJiNrrETcQBpOGy2YTpSOuG42mZAU
H
eyJhbGciOiJFUzI1NiIsImtpZCI6IjM4ZzFaZVZ2cFFwWnY5cU5Sc25vck50VHA5M
mo3MjZGY0pMVFZRQnJzOTAiLCJ0eXAiOiJKT1NFIn0
S
YKlZxvxu3lAxquKJEXnOZvMCjgskaAFESwfJavsUq_jCphBJnqJq5tNHSXti96QWd
AHvkrCfFzbwBCgEN1F28g
]]></artwork>
<t>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.</t>
</section>
</back>
</rfc>
