# When must an instance refuse a delegated capability it cannot locally verify: the revocation-echo window in cross-org delegation chains **Date of Record:** 2026 November 30 **Scope:** Applies to federated agent systems where an executing instance receives a capability warrant (a signed, scoped grant of a tool or data action) that was minted by a remote authority and propagated through one or more intermediate delegating agents. Does not apply to single-org deployments where the executing instance shares an authority root with the warrant issuer, nor to stateless one-shot RPC calls that carry no delegation chain. ## Core Distinction The naive model of capability revocation treats it as a *state flip*: authority A revokes warrant W, and every instance that holds W now sees it as invalid. The operational model is a *propagation race*. A revocation is an event that must travel, hop by hop, along the same delegation path the warrant traveled — and it travels at a different, usually slower, latency than the warrant's own execution path. Between the moment a revocation is issued at the root and the moment the leaf executor observes it, the leaf holds a warrant that is *cryptographically valid but semantically dead*. The distinction that matters is not "valid vs. invalid warrant" but **"verifiably live warrant vs. warrant whose liveness cannot be established within the execution deadline."** Most federation stacks collapse the second case into the first and fail open. ## What Was Observed A three-hop delegation chain: orchestrator O (org Alpha) mints a warrant W for tool `write_ledger` scoped to tenant `t-441`, delegates to agent B (org Beta), which re-delegates a narrowed copy to agent C (org Gamma), which invokes the tool at executor E. Each hop attenuates scope and re-signs, producing a chain `sig_O → sig_B → sig_C` with a `parent_hash` linking each link to its predecessor. A revocation was issued at O for W at t=0. The revocation record propagated O→B over a 40 ms control channel, B→C over a 900 ms batched sync channel (B batches revocation deltas every 2 s), and C→E over a 250 ms push. Mean end-to-end revocation latency: ~1.9 s, p99 ~4.1 s due to the B batching window. During a load test at t=1.3 s — inside the propagation window — C invoked `write_ledger` 7 times. E validated the chain: every signature checked, every `parent_hash` matched, scope was within bounds, and the warrant's own `expires_at` was 300 s in the future. E executed all 7 writes. All 7 were against a tenant that had, 1.3 s earlier, been revoked. The audit log at E showed "warrant valid" for each; the audit log at O showed "revoked" for each. Neither log was wrong. They were describing different times. A second, sharper observation: C cached the validated chain result for 5 s to avoid re-verifying signatures per call. After the revocation reached C at t≈0.9 s, C correctly rejected *new* invocations — but the cached validation entry for the *existing* chain was keyed on the chain hash, not on the revocation epoch, so a retry of the same invocation at t=1.1 s (triggered by a transient network error on E's side) hit the cache, passed, and executed. The revocation had arrived at C and been ignored by C's own cache. ## Condition of Validity A delegated warrant is safe to execute only if the executor can establish, *before execution and within its own deadline*, that no revocation for this chain or any ancestor link exists as of a time at or after the warrant's issue. This is the **revocation-echo bound**: let `L_max` be the maximum revocation propagation latency across all hops, and `D` the executor's decision deadline. The invariant is: > Execute W only if `now − t_issued(W) > L_max`, OR the executor holds a positive, signed "no-revocation-as-of `t_check`" attestation from the root with `t_check ≥ t_issued(W)`, where the attestation is itself fresh within `D`. If neither holds, the executor is in the *echo window* — the interval in which a revocation could exist at the root but not yet have reached the leaf. The window's width is not a property of the warrant; it is a property of the *slowest link in the revocation path*, which is exactly the link the warrant's own fast path never exercises. B's 2 s batch interval is invisible to any check E performs against its own state. The condition of validity is therefore: **the executor must know `L_max` for the chain it is about to execute, and must be able to either wait it out or obtain a root attestation that closes it.** An executor that does not know `L_max` cannot satisfy the invariant and must treat the echo window as unbounded. ## Decision Boundary The boundary is crossed at the point where the executor must choose between three actions, and the choice is determined by comparing `L_max` to the remaining decision budget: - **`L_max < D_remaining`**: wait out the echo window, then execute. Safe, but consumes latency budget; if the invocation is on a critical path this may be unacceptable. - **`L_max ≥ D_remaining`, root attestation available and fresh**: execute on the attestation. The attestation is a signed statement "chain hash H had no revocation at root time `t_check`"; freshness requires `now − t_check < D`. This is the only path that executes inside the echo window safely. - **`L_max ≥ D_remaining`, no fresh attestation**: **refuse**. Not "execute with a warning," not "execute and flag for audit." The 7-write incident is precisely the failure to refuse here. The non-obvious part: the decision must be made per *chain hash*, and the cache that stores the decision must be invalidated by *revocation epoch*, not by chain hash alone. C's 5 s cache was correct on chain hash and wrong on epoch. A revocation is an event that changes the validity of a chain hash without changing the chain hash. Any cache keyed only on the immutable artifact will serve stale verdicts across a revocation. The cache key must be `(chain_hash, revocation_epoch)` where `revocation_epoch` is a monotonically increasing counter the executor advances on every revocation delta it receives — and crucially, the epoch must also advance on *attestation refresh*, so that a chain validated under an old attestation is re-evaluated under the new one. ## Operational Effect The observable effect of getting this wrong is a **split-brain audit trail**: the root's log says revoked, the leaf's log says valid, and both are internally consistent because they are timestamped on different clocks with different propagation delays. Reconciliation requires the executor to record, per execution, the `t_check` it relied on and the `revocation_epoch` it held — without those two fields, post-hoc forensics cannot distinguish "executed before revocation arrived" (a latency artifact) from "executed after revocation arrived but cache served stale" (a correctness bug). The first is bounded by `L_max`; the second is unbounded and is the one that turns an incident into a compliance finding. The architectural guardrail is threefold. First, every warrant must carry the issuer's declared `L_max` for its revocation channel, and the executor must refuse warrants whose `L_max` is unknown or exceeds its deadline. Second, the executor's validation cache must be epoch-keyed, with the epoch advanced on every revocation delta and on every attestation refresh. Third, the executor must maintain a *refusal counter* — the count of invocations refused for echo-window reasons — as a first-class metric; a federation where this counter never increments is not a federation with no revocations, it is a federation whose executors are failing open. ```python import time from dataclasses import dataclass, field from typing import Optional class EchoWindowViolation(RuntimeError): """Raised when an executor attempts to act on a warrant whose revocation status cannot be established within its decision deadline.""" pass class StaleValidationCache(RuntimeError): """Raised when a cached validation verdict is served across a revocation epoch boundary.""" pass @dataclass class Warrant: chain_hash: str issued_at: float expires_at: float declared_l_max: Optional[float] # issuer's revocation propagation bound parent_hash: Optional[str] @dataclass class ExecutorState: revocation_epoch: int = 0 last_attestation: Optional[tuple] = None # (chain_hash, t_check) _cache: dict = field(default_factory=dict) # key: (chain_hash, epoch) def advance_epoch(self) -> None: # Called on every revocation delta AND on every attestation refresh. self.revocation_epoch += 1 def _attestation_fresh(self, chain_hash: str, now: float, deadline: float) -> bool: if self.last_attestation is None: return False h, t_check = self.last_attestation return h == chain_hash and (now - t_check) < deadline def validate(self, w: Warrant, deadline: float) -> str: now = time.monotonic() if w.expires_at <= now: raise EchoWindowViolation(f"warrant {w.chain_hash} expired") if w.declared_l_max is None: raise EchoWindowViolation( f"warrant {w.chain_hash} has unknown L_max; echo window unbounded" ) key = (w.chain_hash, self.revocation_epoch) if key in self._cache: return self._cache[key] age = now - w.issued_at if age > w.declared_l_max: verdict = "safe_after_window" elif self._attestation_fresh(w.chain_hash, now, deadline): verdict = "safe_via_attestation" else: # The only correct action inside the echo window with no attestation. raise EchoWindowViolation( f"warrant {w.chain_hash} inside echo window " f"(age={age:.3f}s, L_max={w.declared_l_max:.3f}s, " f"deadline={deadline:.3f}s, epoch={self.revocation_epoch}); refusing" ) self._cache[key] = verdict return verdict def execute(self, w: Warrant, deadline: float) -> str: verdict = self.validate(w, deadline) # Record t_check and epoch for forensic reconciliation. return f"executed:{w.chain_hash}:epoch={self.revocation_epoch}:{verdict}" def demo() -> None: s = ExecutorState() w = Warrant( chain_hash="H-441", issued_at=time.monotonic(), expires_at=time.monotonic() + 300, declared_l_max=2.0, parent_hash="H-440", ) try: s.execute(w, deadline=0.5) except EchoWindowViolation as e: print(f"refused as expected: {e}") # Attestation arrives -> safe to execute inside the window. s.last_attestation = ("H-441", time.monotonic()) s.advance_epoch() print(s.execute(w, deadline=0.5)) # Revocation arrives -> epoch advances -> cached verdict is not reused. s.advance_epoch() s.last_attestation = None try: s.execute(w, deadline=0.5) except EchoWindowViolation as e: print(f"refused after revocation: {e}") if __name__ == "__main__": demo() ```