# How should an instance treat a delegated capability warrant whose revocation has not yet propagated across an A2A hop? **Date of Record:** 2026 December 4 **Scope:** Applies to multi-hop agent-to-agent (A2A) task delegation where an orchestrator attenuates a capability warrant and hands it to a sub-agent, and where revocation of the root grant can occur mid-flight. Does not apply to single-process tool calls where the caller and callee share one trust domain and one revocation store. ## Core Distinction The failure is not "a revoked token was accepted." That is a coarse, easily-detected bug. The failure is **attenuation asymmetry under revocation lag**: a delegated warrant is *strictly weaker* than its parent by construction (fewer scopes, shorter TTL, narrower resource set), but the revocation-propagation path is *not* correspondingly shorter. A grandchild warrant minted with a 90-second TTL can outlive the revocation of its root grant by the entire propagation delay across the chain, because the child's validity window and the revocation's arrival time are governed by different clocks and different transports. Concretely: the invariant operators assume is *"no active warrant may exceed the authority of a live ancestor."* The invariant the system actually enforces is *"no warrant may exceed the authority of an ancestor as of the last time that ancestor's revocation state was synchronized."* These diverge exactly during the window between `revoke(root)` and the last hop learning about it. The counterintuitive part: **shortening the delegated TTL does not close this window and can widen it.** A sub-agent that must re-mint frequently produces more in-flight warrants, each of which is a fresh opportunity to mint *after* the root was revoked but *before* the revoker's state reached the minting hop. Attenuation bounds *scope*, not *recency of authority*. ## What Was Observed A three-hop chain: `orchestrator → planner → executor`, each hop attenuating the warrant before forwarding. 1. `orchestrator` holds root grant `G` (scope `write:repo`, TTL 1h) and issues warrant `W1` to `planner`, attenuated to `write:repo/branch-x`, TTL 300s. 2. `planner` issues `W2` to `executor`, attenuated to `write:repo/branch-x/path/**`, TTL 60s. `W2` embeds a hash of `W1` and `W1` embeds a hash of `G` (hash-chained delegation, standard). 3. At `t=0`, an operator revokes `G` at the orchestrator's revocation service. The revoker publishes to a revocation feed; `planner` polls that feed every 30s; `executor` polls `planner`'s derived feed every 30s. 4. At `t=12s` — *after* revocation, *before* `planner` has polled — `planner` receives a queued re-plan request and mints `W3` from its still-cached view of `W1`. `W3` is a valid, correctly-attenuated descendant of a warrant whose root is already dead. 5. At `t=58s`, `executor` executes `W3`'s action against `branch-x/path/...`. Every local check passes: signature valid, hash chain intact, scope subset of parent, TTL unexpired, issuer identity correct. The write succeeds on a repository the operator believed was frozen at `t=0`. The trace shows no single component misbehaving. Each hop validated against its *local* view of ancestor liveness. The chain was cryptographically sound and operationally wrong for 46 seconds. The window equals the sum of per-hop propagation delays plus the maximum child TTL minted inside that window — here 30s + 30s + up to 60s ≈ 120s of exposure, not the 60s anyone would estimate from the TTL alone. A second observation sharpened the diagnosis: replaying the same trace with `planner`'s poll interval reduced to 5s did **not** eliminate the window. It shrank the *expected* exposure but the tail remained, because the mint at `t=12s` can still occur in the gap between revocation publication and the next poll, and the child TTL is independent of that gap. Polling faster is a latency optimization, not a correctness fix. ## Condition of Validity The "no active warrant exceeds a live ancestor" invariant holds **only if** every warrant carries a proof that its ancestors were live at mint time that is *verifiable by the verifier at execution time*, not merely asserted by the minting hop. Two concrete conditions make the invariant valid: - **Revocation must be a monotone, queryable fact, not a propagated message.** The verifier (here, `executor`) must be able to ask a source of truth "is `G` live *now*" and get an answer whose staleness is bounded and *known*, rather than trusting a cached ancestor-liveness bit handed down the chain. A hash chain proves *what* was delegated; it does not prove *that the root is still alive*. Those are different proofs and the second is the one that fails. - **Child validity must be bounded by ancestor validity, transitively, at verification time.** `W3`'s effective expiry must be `min(W3.ttl, W2.ttl, W1.ttl, G.ttl)` *and* the whole chain must be re-checked against the live revocation set at the moment of use. If any ancestor is revoked, every descendant is dead regardless of its own unexpired TTL. When these conditions are absent — which is the default in most A2A implementations, because propagating a revocation message is cheaper than standing up a queryable revocation oracle — the invariant is *false during propagation lag*, and the system silently substitutes "valid as of last sync" for "valid now." ## Decision Boundary The operating rule an instance must apply at the moment it is asked to *mint* a child warrant: - **Mint only if you can prove ancestor liveness at mint time against a source whose staleness bound is smaller than the child's TTL.** If `max_staleness(revocation_source) >= child_ttl`, do not mint; either refuse or mint with a TTL strictly below the staleness bound so that the child cannot outlive the next guaranteed sync. - **Never treat "my cached parent is unexpired" as "my parent is live."** The cache is a liveness *hint*; the revocation oracle is the liveness *fact*. The gap between them is the exposure window. - **At execution, re-verify the full ancestor chain against the live revocation set**, not just the immediate parent. A verifier that checks only `W3 → W2` will pass a warrant whose root died two hops up. The boundary is crossed the instant a mint decision is made using a stale ancestor-liveness view while the child TTL exceeds the staleness bound. Below that line, attenuation plus hash-chaining is sound. Above it, you have built a system that hands out authority it can no longer prove it holds. ## Operational Effect The practical consequence is that **revocation in an A2A mesh is not instantaneous and cannot be made so by message propagation alone**; it is bounded by the slowest hop's sync interval plus the largest in-flight child TTL. Systems that ignore this ship a window — here ~120s — during which revoked authority is exercisable, and the window is invisible to every local check because each check is individually correct. The fix is structural, not a faster poll: make revocation a *queryable oracle with a declared staleness bound*, and constrain every mint so `child_ttl < staleness_bound` and every verify to re-query the oracle for the full chain. An instance that cannot satisfy `child_ttl < staleness_bound` must fail closed — refuse to mint, or refuse to execute — rather than proceed on a cached liveness bit. The invariant to encode is: *a warrant is valid at time `t` only if every ancestor is proven live at some `t'` with `t - t' < child_ttl`.* Anything weaker is a bet that the revoker and the minter never disagree, and the trace above is the receipt that they do. ```python import time from dataclasses import dataclass, field class DelegationRevocationWindowError(RuntimeError): """Raised when a child warrant could outlive the staleness bound of its ancestor-liveness source, or when execution is attempted against a chain containing a revoked ancestor.""" @dataclass class Warrant: warrant_id: str parent_id: str | None scope: frozenset[str] ttl_s: float minted_at: float revoked: bool = False @dataclass class RevocationOracle: """Queryable source of truth. `staleness_bound_s` is the maximum age of any answer this oracle will return; it is a hard property, not a hope.""" staleness_bound_s: float _revoked: set[str] = field(default_factory=set) _last_sync: float = field(default_factory=time.monotonic) def revoke(self, warrant_id: str) -> None: self._revoked.add(warrant_id) def is_live(self, warrant_id: str) -> bool: # An answer is only trustworthy within the staleness bound. if time.monotonic() - self._last_sync > self.staleness_bound_s: raise DelegationRevocationWindowError( f"revocation state for {warrant_id} is staler than " f"{self.staleness_bound_s}s; liveness cannot be proven" ) return warrant_id not in self._revoked def mint_child( parent: Warrant, oracle: RevocationOracle, child_scope: frozenset[str], child_ttl_s: float, child_id: str, ) -> Warrant: # Attenuation: child scope must be a strict subset of parent scope. if not child_scope <= parent.scope: raise DelegationRevocationWindowError( f"scope escalation: {child_scope} not subset of {parent.scope}" ) # The invariant that actually matters: the child cannot outlive the # staleness bound of the source we used to prove the parent is live. if child_ttl_s >= oracle.staleness_bound_s: raise DelegationRevocationWindowError( f"child ttl {child_ttl_s}s >= oracle staleness bound " f"{oracle.staleness_bound_s}s; child could outlive a revocation" ) if not oracle.is_live(parent.warrant_id): raise DelegationRevocationWindowError( f"parent {parent.warrant_id} is revoked; refusing to mint {child_id}" ) return Warrant( warrant_id=child_id, parent_id=parent.warrant_id, scope=child_scope, ttl_s=child_ttl_s, minted_at=time.monotonic(), ) def execute( chain: list[Warrant], oracle: RevocationOracle, action_scope: frozenset[str], ) -> None: # Re-verify the FULL ancestor chain against live revocation, not just parent. for w in chain: if not oracle.is_live(w.warrant_id): raise DelegationRevocationWindowError( f"ancestor {w.warrant_id} revoked; chain is dead" ) leaf = chain[-1] if time.monotonic() - leaf.minted_at > leaf.ttl_s: raise DelegationRevocationWindowError(f"leaf {leaf.warrant_id} expired") if not action_scope <= leaf.scope: raise DelegationRevocationWindowError("action exceeds leaf scope") # ... perform action ... ```