# What happens when an instance revokes a delegated warrant mid-chain and downstream agents keep executing on cached capability grants **Date of Record:** 2026 November 25 **Scope:** Applies to multi-hop agent delegation chains (A→B→C→…) where authority is attenuated per hop and revocation must propagate across transports (MCP tool calls, A2A task handoffs, message queues). Does not apply to single-hop, single-process tool invocation where the caller holds the root credential directly. ## Core Distinction There are two structurally different meanings of "revoked," and conflating them is the root of the failure: - **Credential revocation** — the issuer marks a warrant ID dead at the authoritative source. Any *future* verification against the source fails. - **Capability revocation** — every already-granted capability derived from that warrant stops authorizing actions, including grants that were cached, memoized, or negotiated into a downstream agent's local tool schema *before* the revocation event. Most delegation protocols implement the first and assume it implies the second. It does not. Attenuated warrants are *transitively derived*: B holds a capability narrowed from A's warrant, C holds one narrowed from B's, and each hop typically caches the negotiated schema (scopes, rate limits, tool allowlist) locally to avoid re-verifying on every call. Revocation at the root invalidates the leaf warrant's *identity* but not the *derived capability object* that C is already holding in its working state. C keeps executing because nothing in its hot path re-walks the chain. The invariant that is violated: **a derived capability is only valid while every ancestor warrant in its derivation path is unrevoked and unexpired.** Revocation propagation must be a *push* that reaches holders of derived capabilities, not merely a *pull* that fails on the next root verification. ## What Was Observed A three-hop research pipeline: orchestrator **A** issues a warrant `W_A` scoped to `read:corpus` and `write:scratch`, attenuating it to agent **B** as `W_B` (scope narrowed to `read:corpus`, TTL 900s, `delegable: true`). B attenuates to **C** as `W_C` (scope `read:corpus`, TTL 300s, `delegable: false`). C negotiates an MCP tool binding at handshake time and caches the resolved capability descriptor `{scopes: [read:corpus], expires: T0+300, parent: W_B}` in its local state. At `T0+120`, A's policy engine detects that B's underlying data source was reclassified and revokes `W_A`. The revocation service marks `W_A` dead and pushes a revocation notice to B's control plane over the A2A channel. B marks `W_B` dead and — critically — attempts to notify C. C's control plane is mid-task in a long tool-call loop and its revocation listener is blocked behind the same execution lane that is servicing the loop. C continues issuing `read:corpus` calls for the remainder of its 300s TTL. Each call passes C's local check (`expires > now`, `scopes ⊇ requested`), because C never re-verifies the parent chain — that verification was done once at negotiation and the result cached. The calls reach the corpus gateway, which validates `W_C`'s signature and TTL and checks revocation *only against `W_C` itself*, not against `W_A`. `W_C` is not revoked. The reads succeed for 180 seconds past the point where authority was supposed to be gone. The failure is invisible in logs: every layer reports "authorized," because every layer checked the thing it was responsible for checking, and no layer checked the transitive closure. ## Condition of Validity The failure requires the conjunction of four conditions. Remove any one and propagation holds: 1. **Cached derived capability.** The leaf agent resolved its capability descriptor at negotiation and does not re-walk the parent chain per call. (This is the normal, latency-motivated design.) 2. **Revocation is not transitive at the verifier.** The resource gateway validates the presented warrant's own signature/TTL/revocation status but does not require a proof-of-unrevoked-ancestry. 3. **Asynchronous, best-effort revocation delivery.** The push to the leaf can be delayed, dropped, or queued behind the leaf's own execution lane. 4. **Non-zero leaf TTL.** `W_C` has a remaining validity window during which the stale capability still *looks* valid locally. The window of unauthorized execution is bounded by `min(remaining leaf TTL, revocation delivery latency + leaf listener drain time)`. It is not bounded by anything the root controls after the push is sent. ## Decision Boundary The architectural fork is whether revocation is enforced **at the point of use** (the resource gateway re-verifies ancestry) or **at the point of grant** (the leaf is trusted to stop). The decision boundary: - **If the resource gateway can reach the root revocation oracle within the call's latency budget**, enforce ancestry there. The leaf's cache becomes a hint, not an authority. A presented `W_C` must be accompanied by a chain proof `[W_C, W_B, W_A]` and the gateway checks *every* link for revocation. This converts the failure into a hard reject at the first post-revocation call. - **If the gateway cannot reach the oracle** (partition, air-gap, latency), then the leaf TTL must be short enough that `stale window ≤ acceptable exposure`, and the leaf must re-verify ancestry on a timer independent of its execution lane. This is the fallback, and it is strictly weaker: it bounds exposure by time rather than by correctness. - **Never** rely on push delivery alone. Push is how you *shorten* the window; pull-at-use is how you *close* it. The guardrail: a derived capability MUST carry a signed derivation chain, and any verifier that accepts a derived capability MUST be able to check the full chain's revocation status. If it cannot, it must treat the capability as expired at `min(own TTL, parent chain's last-verified-unrevoked timestamp + max_staleness)`. ## Operational Effect Without ancestry verification, revocation is advisory. The system behaves as if authority decays only by TTL, and revocation merely accelerates the *next* grant cycle rather than terminating *current* execution. In practice this means: - Incident response ("revoke the compromised agent's authority") does not stop in-flight work; it only prevents new delegation. The blast radius is the sum of all outstanding derived-capability TTLs in the chain. - Audit trails show a clean sequence of authorized calls, because each call was locally authorized against a capability that was still locally valid. Post-hoc forensics must reconstruct the derivation chain to find the calls that occurred after root revocation. - The correct remediation is structural: verifiers must demand chain proofs, leaves must treat cached descriptors as `min(own_expiry, last_ancestry_check + max_staleness)`, and revocation listeners must run on a lane that cannot be starved by the execution loop they are meant to interrupt. The code below encodes the guardrail as an enforceable check: a verifier that is handed a derived capability without a verifiable, unrevoked ancestry chain must refuse rather than accept on local validity alone. ```python from dataclasses import dataclass from typing import Optional class StaleDerivedAuthorityError(RuntimeError): """Raised when a derived capability is presented without a verifiable, unrevoked ancestry chain, or when its cached descriptor has outlived the last confirmed ancestry check.""" @dataclass(frozen=True) class Warrant: warrant_id: str parent_id: Optional[str] expires_at: float revoked: bool @dataclass(frozen=True) class CachedCapability: """What a leaf agent holds in hot state after negotiation.""" warrant_id: str cached_expires_at: float last_ancestry_check: float max_staleness: float class RevocationOracle: def __init__(self, warrants: dict[str, Warrant]): self._warrants = warrants def get(self, warrant_id: str) -> Warrant: return self._warrants[warrant_id] def verify_derived_capability( cap: CachedCapability, chain: list[str], oracle: RevocationOracle, now: float, ) -> None: """Verify a derived capability at point of use. Invariant: a derived capability is valid only if (a) its own cached TTL has not lapsed, (b) the ancestry check is fresh within max_staleness, and (c) every warrant in the derivation chain exists and is unrevoked. """ # (a) local TTL, clamped by staleness of the ancestry check. effective_expiry = min( cap.cached_expires_at, cap.last_ancestry_check + cap.max_staleness, ) if now >= effective_expiry: raise StaleDerivedAuthorityError( f"capability {cap.warrant_id} effective expiry {effective_expiry} " f"<= now {now}; ancestry check stale or TTL lapsed" ) # (b) chain must start at the presented warrant and terminate at a root. if not chain or chain[0] != cap.warrant_id: raise StaleDerivedAuthorityError( f"chain does not begin at presented warrant {cap.warrant_id}" ) # (c) walk the full ancestry; any revoked or expired link is fatal. seen: set[str] = set() cursor = cap.warrant_id while cursor is not None: if cursor in seen: raise StaleDerivedAuthorityError( f"cycle detected in derivation chain at {cursor}" ) seen.add(cursor) w = oracle.get(cursor) if w.revoked: raise StaleDerivedAuthorityError( f"ancestor warrant {cursor} revoked; derived authority dead" ) if now >= w.expires_at: raise StaleDerivedAuthorityError( f"ancestor warrant {cursor} expired at {w.expires_at}" ) cursor = w.parent_id # Chain length must match what was presented; a truncated chain is a # verification bypass attempt. if len(chain) != len(seen): raise StaleDerivedAuthorityError( f"presented chain length {len(chain)} != resolved ancestry {len(seen)}" ) ```