# Under what conditions must an instance reject a delegated warrant whose attenuation proof verifies but whose revocation epoch is strictly newer than the issuer's cached epoch **Date of Record:** 2026 December 1 **Scope:** Applies to multi-hop agent delegation chains (A2A, MCP capability grants, OAuth-style `act` chains) where each hop carries an attenuation proof (scope-narrowing witness) and a revocation epoch counter. Does not apply to single-hop direct grants with no delegation, nor to systems using monotonic CRL-only revocation without epoch counters. ## Core Distinction The failure mode is not "a revoked warrant was accepted." It is subtler: **a structurally valid attenuation proof is treated as sufficient authorization evidence, when the proof was minted against a revocation epoch the verifier has not yet observed.** Attenuation proofs and revocation state are two independent axes of a warrant. The proof attests to *scope monotonicity* (child ⊆ parent). The epoch attests to *liveness* (the issuer's signing key and grant are still current). A verifier that checks the first axis and treats the second as a cached, eventually-consistent lookup will accept a warrant that is cryptographically pristine yet operationally dead. The distinction that matters: **proof validity is a pure function of the chain; revocation validity is a function of wall-clock state at the verifier.** Conflating "the proof checks out" with "the grant is live" is the boundary where delegation chains silently break. ## What Was Observed A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `E` calls a tool gated by a warrant `W_E` attenuated from `W_P` attenuated from `W_O`. Each warrant carries: - `scope`: the narrowed capability set - `attenuation_proof`: signed witness that `scope_E ⊆ scope_P ⊆ scope_O` - `issuer_epoch`: the revocation epoch counter at mint time - `issuer_id`: the signing instance `E`'s authorization check performed: (1) verify signatures up the chain, (2) verify each attenuation proof, (3) look up `issuer_id` in a local epoch cache refreshed every 30s, (4) accept iff `warrant.issuer_epoch >= cached_epoch[issuer_id]`. The trace that failed: 1. `O` revokes `W_O` at epoch 47 (a prompt-injection at `P` caused `O` to re-scope, invalidating the original grant). `W_O.issuer_epoch = 46`. 2. `P` had minted `W_P` at epoch 46 — valid at mint time. `P`'s cache still shows `O` at epoch 46. 3. `E`'s cache shows `O` at epoch 46 (refresh lag; revocation propagated to `O`'s authoritative store at 47 but not yet to `E`). 4. `E` verifies: signatures OK, `W_E.issuer_epoch (46) >= cached_epoch[P] (46)` OK, `W_P.issuer_epoch (46) >= cached_epoch[O] (46)` OK. **Accept.** 5. `E` executes the tool under a scope `O` explicitly revoked 1.2s earlier. The proof verified. The epoch comparison passed. The warrant was dead. The check was structurally correct and operationally wrong because **the epoch comparison is a local-cache comparison, and the local cache is the attack surface.** ## Condition of Validity The acceptance rule `warrant.issuer_epoch >= cached_epoch[issuer]` is sound **only if** the verifier's cached epoch is guaranteed to be ≥ the authoritative epoch at decision time. That guarantee does not exist under eventual consistency. The correct invariant is: > A warrant is accepted iff (a) its attenuation proof verifies against the parent, AND (b) the verifier has *freshness evidence* — a signed, timestamped epoch assertion from the issuer whose timestamp is within the verifier's `max_epoch_staleness` window — that the issuer's epoch at that timestamp is ≤ `warrant.issuer_epoch`. Condition (b) is the missing guardrail. Without it, a cached epoch is an *assumption of liveness*, not evidence of it. The verifier must distinguish **"I have not seen a revocation"** from **"I have evidence no revocation exists as of T."** Only the latter authorizes execution. A second validity condition: the attenuation proof must bind the parent's epoch at mint time (`proof.parent_epoch`). If a proof can be replayed against a parent whose epoch has since advanced, the proof is a stale witness. Binding `parent_epoch` into the signed proof makes replay detectable: if `proof.parent_epoch < fresh_parent_epoch`, the child must be re-minted or rejected. ## Decision Boundary The boundary is the **staleness window**, and it must be enforced, not assumed: - If `now - fresh_epoch_assertion.timestamp > max_epoch_staleness`: **reject** (cannot establish liveness) — do not fall back to cache. - If `warrant.issuer_epoch < fresh_epoch_assertion.epoch`: **reject** (revoked or superseded). - If `proof.parent_epoch < fresh_parent_epoch`: **reject** (stale attenuation witness; re-mint required). - Only if all three pass: **accept**. The non-obvious part: the first and third conditions fire even when every signature and proof verifies. A naive verifier treats "proof valid" as the decision boundary. The correct boundary is "proof valid **AND** epoch freshness established **AND** proof bound to current parent epoch." The cache is a performance optimization, never an authorization source. For chains, the freshness check must apply at **every hop**, not just the leaf's immediate issuer. `E` must establish freshness for `P`'s epoch *and* for `O`'s epoch, because `W_P`'s validity depends on `W_O`'s liveness. A single stale hop invalidates the whole chain. ## Operational Effect When this boundary is enforced, the failure mode inverts: instead of silently accepting dead warrants, the system **fails closed under cache lag**, producing transient `WarrantFreshnessError` rejections during revocation storms. This is the correct tradeoff — a rejected-but-valid warrant retries; an accepted-but-dead warrant executes irrevocably. Operators must budget for retry latency proportional to `max_epoch_staleness` and must not "fix" freshness rejections by widening the staleness window, which re-opens the hole. The deeper effect: **attenuation and revocation must be co-verified at every hop, and freshness must be evidence-based, not cache-based.** Delegation chains are only as live as their stalest hop. The invariant to carry forward: *a proof proves scope; only a fresh signed epoch proves liveness; never substitute one for the other.* ```python class WarrantFreshnessError(RuntimeError): """Raised when a warrant's attenuation proof verifies but epoch liveness cannot be established.""" pass class StaleAttenuationWitnessError(RuntimeError): """Raised when an attenuation proof is bound to a superseded parent epoch.""" pass def authorize_delegated_call( warrant, epoch_store, max_epoch_staleness_s: float, now: float, ) -> None: # (1) Structural: signatures and attenuation proof. if not warrant.verify_signatures(): raise WarrantFreshnessError("signature chain invalid") if not warrant.verify_attenuation_proof(): raise WarrantFreshnessError("attenuation proof does not verify") # (2) Liveness: evidence-based freshness at EVERY hop, not cache fallback. for hop in warrant.chain: # leaf -> root assertion = epoch_store.fresh_assertion(hop.issuer_id) if assertion is None: # No signed, timestamped epoch assertion available. raise WarrantFreshnessError( f"no fresh epoch assertion for issuer {hop.issuer_id}; " f"cache is not authorization evidence" ) if now - assertion.timestamp > max_epoch_staleness_s: raise WarrantFreshnessError( f"epoch assertion for {hop.issuer_id} stale by " f"{now - assertion.timestamp:.3f}s > {max_epoch_staleness_s}s" ) if hop.issuer_epoch < assertion.epoch: raise WarrantFreshnessError( f"warrant epoch {hop.issuer_epoch} < authoritative epoch " f"{assertion.epoch} for {hop.issuer_id}: revoked or superseded" ) # (3) Attenuation witness must be bound to current parent epoch. for child, parent in zip(warrant.chain, warrant.chain[1:]): fresh_parent_epoch = epoch_store.fresh_assertion(parent.issuer_id).epoch if child.proof_parent_epoch < fresh_parent_epoch: raise StaleAttenuationWitnessError( f"attenuation proof for {child.issuer_id} bound to parent epoch " f"{child.proof_parent_epoch} < current {fresh_parent_epoch}; re-mint required" ) ```