# Why does an instance in a delegated capability chain keep executing after its warrant was revoked — the revocation-visibility gap across A2A hops **Date of Record:** 2026 November 26 **Scope:** Applies to multi-hop agent-to-agent delegation where a principal agent issues a scoped, attenuable capability warrant to a sub-agent, which re-delegates to further agents, and where revocation is enforced by any hop other than the one currently executing. Does not apply to single-hop delegation where the executing agent is also the warrant issuer, nor to stateless tool calls carrying a bearer token that is re-validated on every request by the same verifier. ## Core Distinction The failure is not "revocation is unimplemented." Most delegation stacks implement revocation correctly at the *issuing* hop: the issuer flips a bit, bumps a revocation epoch, or publishes a CRL entry. The non-obvious boundary is the distinction between **revocation as an issuer-side state transition** and **revocation as an executor-side precondition**. Between those two facts sits a chain of agents that each hold a *cached, locally-valid* view of a warrant that was valid when it was minted and forwarded. An executing agent at hop *N* does not observe the issuer's revocation unless something forces a re-read of issuer state on every consequential action — and the entire point of a capability token is to avoid that round trip. So the executor's local predicate `warrant.is_valid()` returns `True` on a warrant the issuer has already declared dead, and the agent proceeds under least-privilege assumptions that no longer hold. The sharp invariant that is violated: **a delegated capability's authority is bounded by the intersection of every hop's current grant, not by the chain of grants as they existed at mint time.** Any system that validates the chain once at handoff and treats the resulting token as a durable lease has silently replaced "intersection of current grants" with "intersection of historical grants." Those differ exactly when a mid-chain or root grant is revoked while a downstream agent is mid-execution. ## What Was Observed A three-hop chain: orchestrator `O` issues warrant `W0` (scope: `filesystem:read:/tenant-7`, expiry 3600s) to planner `P`. `P` attenuates to `W1` (scope: `filesystem:read:/tenant-7/reports`, expiry 600s) and hands it to worker `W`. `W` begins a long-running summarization loop over the reports directory, checking `W1.is_valid()` before each file read. At T+200s, a tenant-admin revokes `W0` at the orchestrator — the tenant was offboarded. `O` records revocation epoch 47 and marks `W0` dead. `P`'s next heartbeat to `O` (interval 300s) will learn this. `W` has no channel to `O` at all; it only ever talked to `P`. `W`'s local check of `W1` consults a signature chain and an embedded expiry — both still valid. `W` continues reading tenant-7 reports for the next 400 seconds, emitting summaries that `P` (also still unaware) accepts and forwards. The trace, observed in logs: ``` T+000 O: mint W0(epoch=46, exp=3600) -> P T+005 P: attenuate W1(scope⊂W0, exp=600) -> W T+010 W: begin loop, check W1.is_valid()=True T+200 O: revoke W0, epoch=47, W0.dead=True T+200 O->P: revocation notice queued (P heartbeat at T+300) T+400 W: check W1.is_valid()=True <-- STALE: W0 dead since T+200 T+400 W: read /tenant-7/reports/q3.md, summarize, emit to P T+500 P: accept W's output (P still believes W1 valid) T+500 P->O: forward summary T+510 O: reject at ingress (O checks epoch, sees stale) -- but data already read ``` The data exfiltration window was 300 seconds wide (T+200 revocation to T+510 ingress rejection), and the rejection at `O` was *post-hoc*: it stopped the output from being persisted but did not stop the read. The least-privilege guarantee — "after revocation, no agent reads tenant-7" — was violated by exactly the length of the slowest heartbeat plus the longest in-flight action. A second, subtler observation: `P`'s attenuation of `W0` to `W1` had *narrowed* scope but had not narrowed the *revocation dependency*. `W1`'s validity predicate was `signature_ok(W1) AND now < W1.exp AND W1.parent_signature_ok`. It never referenced `W0`'s liveness because `W0`'s liveness was not representable as a signature. The chain proved *provenance*, not *current authority*. ## Condition of Validity The gap is bounded — and the invariant holds — only when at least one of the following is enforced: 1. **Revocation-epoch pinning with executor re-read.** Every warrant carries the issuer's revocation epoch at mint time. The executing agent, before each consequential action, re-reads the issuer's current epoch (a cheap, cacheable, monotonic counter) and refuses if `current_epoch > warrant.epoch`. This converts revocation from a push problem into a pull problem and bounds the window to the executor's action granularity, not the heartbeat interval. Cost: one low-latency read per action; the read must be against the *root* issuer, not the immediate parent. 2. **Short-lived warrants with mandatory re-mint.** Warrant TTL is set below the maximum acceptable revocation lag (e.g., 60s), and the executor cannot renew without contacting the issuer, which checks revocation at renewal. This trades round-trip frequency for correctness. It fails if any hop caches a renewal decision. 3. **Revocation propagation as a synchronous barrier on handoff.** When `O` revokes, it must invalidate all descendants before any descendant's next action. This requires the delegation graph to be tracked (a reverse index from `W0` to `{W1, W2, ...}`) and a propagation channel that reaches the deepest executor. In practice this is the hardest to guarantee because the graph is dynamic and executors may be partitioned. The failure mode is *valid* (i.e., the gap is real and unbounded) whenever the system relies solely on: signed attenuation chains, embedded expiry, and periodic heartbeats between adjacent hops. That combination proves historical authority and bounds the window only by heartbeat period plus in-flight action duration — which for long-running agent tasks can be minutes. A critical sub-condition: the gap is *not* closed by having each hop check its *immediate parent's* liveness. `P` checking `O`'s liveness at T+300 learns `W0` is dead, but `W` checking `P`'s liveness at T+400 learns only that `P` is alive — `P` does not propagate "my parent is dead" as a first-class signal unless the protocol defines it. The liveness of a hop is independent of the liveness of its ancestors. The invariant must be checked against the *root* issuer's epoch, or the protocol must define transitive revocation propagation as a hop obligation. ## Decision Boundary The architectural decision is: **at what granularity does the executor re-validate against issuer state, and against which issuer?** - If actions are cheap and idempotent, per-action epoch re-read at the root is correct and cheap. - If actions are expensive or non-idempotent (a 10-minute model inference, a batch write), per-action re-read at the root still leaves an in-flight window equal to the action duration. For these, the boundary requires *pre-action* epoch check plus *mid-action* cancellation support: the executor must be interruptible, and the issuer's revocation must reach it as a cancellation signal, not merely as a failed next check. - If the executor is partitioned from the root issuer (common in swarm topologies), the only sound choice is short TTL with no offline renewal, accepting availability loss on partition. Any design that allows offline execution past a TTL has chosen availability over the least-privilege invariant and must document the lag bound explicitly. The decision must be made per action class, not per agent, because an agent typically mixes cheap reads with expensive inferences. A single "warrant valid?" check at agent startup is always wrong for long-lived agents. ## Operational Effect The practical consequence is that **revocation is a latency property, not a boolean.** Systems that model it as a boolean ("is this warrant revoked?") will exhibit the stale-execution window and will be surprised by it in exactly the cases that matter: long-running tasks, deep delegation chains, and partitioned executors — which are the cases where least-privilege enforcement is most load-bearing. The fix is to make revocation lag an explicit, bounded, monitored quantity: instrument the time between issuer revocation and last executor action under the dead warrant, alert when it exceeds the action-class budget, and treat the root-epoch re-read as a mandatory precondition on every consequential action rather than an optimization. Attenuation must preserve, not drop, the root-issuer epoch reference; a warrant that cannot name its root issuer cannot be safely revoked. ```python import time from dataclasses import dataclass, field class StaleWarrantExecution(RuntimeError): """Raised when an executor attempts a consequential action under a warrant whose root issuer has advanced its revocation epoch past the warrant's.""" pass @dataclass class RootIssuer: issuer_id: str revocation_epoch: int = 0 revoked_warrants: set = field(default_factory=set) def revoke(self, warrant_id: str) -> None: self.revoked_warrants.add(warrant_id) self.revocation_epoch += 1 @dataclass class Warrant: warrant_id: str root_issuer_id: str epoch_at_mint: int scope: str expires_at: float parent_id: str | None = None def attenuate(self, child_id: str, narrower_scope: str, ttl: float) -> "Warrant": # Attenuation narrows scope but MUST preserve root epoch reference. return Warrant( warrant_id=child_id, root_issuer_id=self.root_issuer_id, epoch_at_mint=self.epoch_at_mint, scope=narrower_scope, expires_at=time.time() + ttl, parent_id=self.warrant_id, ) class Executor: def __init__(self, issuer_registry: dict[str, RootIssuer]): self._issuers = issuer_registry def check_preconditions(self, warrant: Warrant) -> None: # Precondition 1: not expired locally. if time.time() >= warrant.expires_at: raise StaleWarrantExecution( f"warrant {warrant.warrant_id} expired at {warrant.expires_at}" ) # Precondition 2: root issuer has not advanced epoch past mint. issuer = self._issuers.get(warrant.root_issuer_id) if issuer is None: raise StaleWarrantExecution( f"root issuer {warrant.root_issuer_id} unreachable; " f"cannot confirm liveness of {warrant.warrant_id}" ) if issuer.revocation_epoch > warrant.epoch_at_mint: raise StaleWarrantExecution( f"warrant {warrant.warrant_id} stale: root epoch " f"{issuer.revocation_epoch} > mint epoch {warrant.epoch_at_mint}" ) if warrant.warrant_id in issuer.revoked_warrants: raise StaleWarrantExecution( f"warrant {warrant.warrant_id} explicitly revoked at root" ) def consequential_action(self, warrant: Warrant, path: str) -> str: # Re-read root state on EVERY consequential action, not at handoff. self.check_preconditions(warrant) return f"read {path} under scope {warrant.scope}" # Demonstration of the gap and its closure: issuer = RootIssuer("orchestrator-O") w0 = Warrant("W0", "orchestrator-O", issuer.revocation_epoch, "fs:read:/tenant-7", time.time() + 3600) w1 = w0.attenuate("W1", "fs:read:/tenant-7/reports", ttl=600) ex = Executor({"orchestrator-O": issuer}) ex.consequential_action(w1, "/tenant-7/reports/q3.md") # ok issuer.revoke("W0") # tenant offboarded try: ex.consequential_action(w1, "/tenant-7/reports/q4.md") # must now fail except StaleWarrantExecution as e: # Correct behavior: execution refused at the boundary, not after. print(f"blocked: {e}") ```