Expand description
Proof replay admission and challenge manager wiring.
“Admitted once” means once per replay admission domain — the complete set of verifier instances that can admit requests for one service domain — never once per node (§4.6). A deployment satisfies that with exactly one of three shapes, and every store must say which one it is:
- a single verifier instance;
- a shared store with linearizable check-and-insert; or
- per-node stores with mandatory replay-namespace-affine routing, where failover to a node holding no history for that namespace denies rather than admits.
v16 credentials are Reusable-only: replay admission is keyed by the proof,
so many fresh proofs may use one credential. The OneShotTransaction
credential-use profile and its atomic consume-once path were cut from v16
scope (operator decision DECISION-defer-oneshot-credentials-2026-08-20)
and are deferred to a future amendment.
Structs§
- Credential
Replay Key - Opaque namespace and identity digests for a one-use source credential. This is separate from holder-proof request IDs, so consuming a login token cannot collide with a later Registry/Model proof admission.
- InMemory
Proof Replay Store - In-memory replay store for a deployment with exactly one verifier instance.
- Mediated
Query Replay Key - A read-only authorization query derived from one holder-signed request. Separate from dispatch admission: list handlers may check several resources for one request, but the same derived query is admitted only once.
- Proof
Replay Key - The replay admission key: (signer namespace thumbprint, request_id).
- Single
Verifier Lease - An exclusive, process-lifetime lease proving this process is the sole verifier for a replay admission domain (§4.6, shape 1).
Enums§
- Proof
Admission Result - The outcome of a replay admission check.
- Replay
Domain Guarantee - How a deployment satisfies domain-wide “admitted once” (§4.6).
Traits§
- Proof
Replay Store - Proof replay admission store.
Functions§
- admit_
mediated_ query - Admit a bounded mediated query under the installed store’s topology.
- admit_
request_ proof - Admit one request proof, enforcing the domain guarantee before the store is consulted.
- global_
challenge_ manager - global_
proof_ replay_ store - hold_
single_ verifier_ lease - Park an acquired sole-verifier lease for the process lifetime.
- set_
global_ challenge_ manager - Install a challenge manager for the process.
- set_
global_ proof_ replay_ store - unattributed_
thumbprint - Compute the frozen CDDL §7.1 content-bound unattributed replay namespace. This bounded structural helper does not verify signatures or grant admission.
- validate_
mediated_ query_ dimensions - Validate mediated-query dimensions on borrowed values, before any owned copy is materialized for the replay key (Sol finding: resource/operation were copied ahead of these checks).