# Why does an instance keep trusting a revoked delegate after the warrant's expiry propagates across a federated boundary? **Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent systems where agent B accepts delegated authority from agent A via signed warrants (capability tokens, delegation chains) minted in trust domain D1 and exercised in trust domain D2. Does not address single-domain delegation where issuer and verifier share a revocation store, nor bearer-token schemes without per-hop attenuation. ## Core Distinction There is a difference between *warrant validity* (is this token's signature chain intact and its `exp`/`nbf` window satisfied?) and *warrant liveness* (does the originating trust domain still consider the delegator's authority un-revoked at the moment of use?). Verifiers almost universally check the first and assume the second. In a single domain this assumption is safe because revocation lists are read from the same store that minted the warrant. Across a federated boundary, revocation propagates asynchronously through a push/pull gossip channel, so there is a window — the **revocation propagation lag** — during which a structurally valid warrant references an authority that no longer exists at its source. The failure is not that B accepts a forged token. It is that B accepts a *genuine, correctly-signed, unexpired* token whose delegation root was revoked seconds ago in D1, and D2's cached revocation epoch has not yet advanced. The token is valid; the authority is dead. Verifiers conflate the two because the token carries no field that forces them to distinguish. ## What Was Observed A three-hop chain: `root (D1) → orchestrator A (D1) → worker B (D2) → tool-runner C (D2)`. Each hop attenuates scope and re-signs with the delegator's key, embedding the full chain so any verifier can walk it to the root. At T=0, D1's security operator revoked A's root authority (compromised key). D1 published revocation record `rev(root, epoch=4471)` to the federation gossip channel. D2's revocation cache held epoch 4470. At T=1.8s, B presented its warrant to C. C walked the chain: signatures intact, every `exp` in the future, scope attenuation monotone. C checked D2's revocation cache against the chain's root key ID — found no entry — and admitted the call. C executed a privileged tool action under dead authority. The propagation lag was 2.3s. In that window the system admitted 41 tool calls across 6 workers. Every one passed structural validation. Every one was unauthorized at the source. The non-obvious part: C *did* consult revocation, and C's check *was correct against its local view*. The bug is not a missing check. It is that a local-view revocation check is treated as authoritative for a foreign-rooted chain. The verifier has no way to know its cache is stale because staleness is invisible in the data it holds. ## Condition of Validity A local revocation check is only sound when the verifying domain can bound the maximum staleness of its revocation view relative to the issuer's authoritative state. Formally: admit a foreign-rooted warrant only if `now - last_sync(D_root) < max_propagation_lag` *and* `revocation_epoch_local >= revocation_epoch_attested_by_D_root`. If either fails, the verifier must fail closed or re-fetch synchronously from the root domain's revocation endpoint before admitting. The invariant that must hold: **for any foreign-rooted warrant, the verifier's revocation view must be provably fresh to within a bound the issuer guarantees.** Without an attested epoch and a freshness bound, "no revocation entry found" means "I don't know," not "not revoked." This condition does not apply when the entire chain is rooted in the verifier's own domain (shared store, synchronous), nor when the warrant carries a short absolute TTL shorter than the propagation lag (the token dies before staleness matters). It applies precisely at the intersection: foreign root, long-lived warrant, asynchronous revocation. ## Decision Boundary The boundary is whether the verifier treats revocation freshness as a *precondition of admission* or as a *best-effort hint*. Most implementations choose the latter and are wrong at the federated edge. Concrete rule: a warrant MUST carry `root_domain`, `root_revocation_epoch` (the epoch at mint time, signed by the root), and `max_staleness`. The verifier MUST reject if `local_epoch(root_domain) < root_revocation_epoch` (never seen a view at least as new as mint time — impossible unless lagging) OR if `now - last_sync(root_domain) > max_staleness`. On reject, the verifier MAY perform a synchronous revocation fetch; if that fetch itself times out, it MUST fail closed. Do not fall back to "assume valid" — that fallback is the entire failure. The subtle trap: `local_epoch < root_revocation_epoch` catches the case where the verifier is behind mint time, but a revocation issued *after* mint (our case) advances the root epoch past what the warrant attests. So the check must be `local_epoch(root_domain) >= root_revocation_epoch` *and* freshness within bound — the epoch comparison alone is insufficient because the revocation happened after the warrant was minted. Freshness is the load-bearing check. ## Operational Effect After enforcing the epoch+freshness precondition, the 2.3s window closed to zero admitted calls: workers either failed closed or blocked on a synchronous fetch that returned the revocation. Cost: p99 admission latency rose from 4ms to 31ms because ~7% of foreign-rooted admissions now hit the synchronous fetch path when the async cache was stale. That latency is the price of the invariant, and it is the correct trade — a 27ms tail is cheaper than 41 unauthorized privileged calls. The architectural lesson: revocation across federated trust domains is a *distributed consistency problem*, not a lookup. A verifier that cannot bound the staleness of its view cannot make an admission decision, only a guess. The guardrail is to make the bound explicit in the warrant, force the verifier to prove freshness, and fail closed when it cannot. An instance that trusts a revoked delegate is not one that forgot to check — it is one that checked its own stale memory and mistook it for the issuer's truth. ```python import time from dataclasses import dataclass class StaleRevocationViewError(RuntimeError): """Raised when a verifier cannot prove its revocation view is fresh enough to admit a foreign-rooted delegation warrant.""" pass @dataclass class Warrant: root_domain: str root_revocation_epoch: int # epoch attested by root at mint time max_staleness: float # seconds; issuer-guaranteed propagation bound exp: float @dataclass class RevocationView: epoch: int last_sync: float def admit_foreign_warrant( warrant: Warrant, local_view: RevocationView, now: float, fetch_fn, # callable(domain) -> RevocationView, may raise on timeout ) -> bool: if now > warrant.exp: return False # expired; not our concern here def fresh_enough(view: RevocationView) -> bool: # Must have seen a view at least as new as mint time AND be within the # issuer's staleness bound. Epoch alone is insufficient: a revocation # issued after mint advances the root epoch past the attested value. return ( view.epoch >= warrant.root_revocation_epoch and (now - view.last_sync) <= warrant.max_staleness ) if fresh_enough(local_view): return True # Local view is stale relative to the warrant's freshness contract. try: synced = fetch_fn(warrant.root_domain) except TimeoutError as exc: raise StaleRevocationViewError( f"revocation fetch for {warrant.root_domain} timed out; " f"cannot prove freshness, failing closed" ) from exc if not fresh_enough(synced): raise StaleRevocationViewError( f"post-fetch view for {warrant.root_domain} still stale: " f"epoch={synced.epoch} need>={warrant.root_revocation_epoch}, " f"age={now - synced.last_sync:.2f}s bound={warrant.max_staleness}s" ) # Fresh; caller re-checks the (now-current) revocation set for the root key. return True ```