# When must an instance halt on a stale peer warrant: revocation propagation lag across federated A2A registries **Date of Record:** 2026 December 3 **Scope:** Applies to multi-agent systems where an agent instance accepts task handoffs or delegated tool invocations from peer agents whose authorization is asserted via signed capability warrants resolved through more than one A2A registry (i.e., federated discovery, not a single authoritative directory). Does not apply to single-registry deployments with synchronous revocation, nor to purely human-issued credentials. ## Core Distinction The distinction that matters here is between **token validity** and **warrant liveness**. A capability warrant is a signed assertion: *peer P is permitted to invoke capability C on behalf of principal Q until time T*. Signature verification proves the warrant was *once* issued and is *internally* consistent. It proves nothing about whether the issuing registry has since revoked it. In a federated A2A topology, revocation is not a state change you observe — it is a *message in flight* between registries that gossip at different cadences. The receiving agent therefore sits in a window where a cryptographically valid warrant is operationally dead. Most agent runtimes conflate these. They verify the signature, check `exp`, and proceed. The failure is not that the check is wrong — it is that the check answers a different question than the one that governs safety: not "was this warrant issued?" but "is this warrant still live *as of the moment I am about to act on it*?" Those diverge precisely during revocation propagation lag, and the divergence is unbounded by anything the receiving agent can see locally. ## What Was Observed A three-registry federation: `reg-eu` (issuer of the compromised peer's warrant), `reg-us`, and `reg-apac`. A peer agent `P` on `reg-apac` held a delegated warrant to invoke a state-mutating capability (`memory.write.semantic`) on behalf of a principal whose credentials were compromised at T₀. The principal's security team revoked at T₀ via `reg-eu`'s revocation endpoint. `reg-eu` marked the warrant revoked and began gossip. What the trace showed: - T₀ + 40ms: `reg-eu` revocation recorded; local resolution on `reg-eu` now returns `revoked`. - T₀ + 1.2s: `reg-us` receives gossip, updates its revocation set. - T₀ + 3.8s: `reg-apac` — *the registry the acting peer actually resolves against* — had not yet received gossip. Its CRL-style delta feed was on a 5s poll interval. - T₀ + 3.1s: peer `P` presents the warrant to a downstream agent `A` (resolving against `reg-us`, which *had* updated). `A` correctly rejects. `P` retries against `A'` (a sibling instance resolving against `reg-apac`). `A'` accepts. The write lands at T₀ + 3.4s. The non-obvious part: `A` and `A'` ran **identical verification code** against **identical warrant bytes** and reached **opposite conclusions**. Neither was buggy. The divergence was entirely a function of *which registry each resolved against and when that registry's gossip had last landed*. The receiving agents had no mechanism to detect that their own resolution view was stale relative to a sibling's — each trusted its local registry as authoritative, and in a federation there is no single authoritative view, only a set of lagging replicas. A second observation compounded it: `P` itself did not know its warrant was revoked. The peer's warrant cache had a 60s TTL. From `P`'s perspective the warrant was live, so `P` treated `A`'s rejection as a *transient error* and failed over to `A'`. The revocation propagated to the verifier but not to the *holder*, and the holder's retry logic converted a correct rejection into a successful bypass on a lagging verifier. This is the mechanism: **revocation asymmetry between holder and verifier, combined with holder-side failover, routes revoked authority toward the stalest verifier in the pool.** ## Condition of Validity The invariant that must hold for safe operation is a **freshness bound on the verifier's resolution view**, not merely signature validity. Formally: an agent instance may act on a peer warrant only if it can bound the staleness of its own registry view to within a window `Δ` that is smaller than the minimum time the federation guarantees for revocation propagation — *or* it must treat every act as provisional and reversible within that window. This is only satisfiable if the deployment knows its `Δ` and its propagation guarantee. In the observed system, `reg-apac`'s 5s poll interval silently exceeded the federation's stated 2s propagation SLA — the SLA was documented, the poll interval was configured independently, and nothing checked the two against each other. The condition of validity was violated by *configuration drift between two subsystems that never referenced each other*. Where this does not apply: if the capability is idempotent and non-mutating (read-only retrieval), a stale-live warrant is a confidentiality concern bounded by the data's own sensitivity, not a state-corruption concern, and the freshness bound can be relaxed. The invariant bites hardest on **state-mutating, non-reversible capabilities** — exactly the ones agents are most often delegated. ## Decision Boundary The decision boundary is not "valid vs. invalid." It is **"fresh-enough-to-act vs. must-defer-or-hedge."** An instance crossing this boundary must do one of three things, and the choice is forced by the capability class: 1. **Defer** (mutating capability, `Δ` unknown or unbounded): refuse to act, return a `WarrantFreshnessUnknown` condition to the caller, and require the caller to re-resolve against a registry whose view it can bound. This is the safe default and the one most runtimes skip. 2. **Hedge** (mutating capability, `Δ` bounded): act only under a provisional-write protocol — stage the mutation, hold it for `Δ`, re-verify the warrant against a *second independent* registry, and commit or roll back. This converts the propagation window into a commit delay rather than a corruption window. 3. **Proceed** (read-only capability, or `Δ` provably below propagation guarantee): act, but stamp the decision with the resolution view's provenance so a downstream auditor can reconstruct which registry view authorized it. The trap is that the boundary is *invisible to the instance at decision time*. An agent cannot tell from the warrant bytes alone whether its registry view is stale — the view looks identical whether it is fresh or 4.9 seconds behind. The guardrail must therefore be **external to the verification call**: the runtime must carry an explicit, configured freshness budget per registry and refuse to verify against any registry whose last successful sync exceeds it, *before* the signature check runs. Freshness is a precondition on the verifier, not a property of the warrant. A second guardrail targets the holder-side failover that turned rejection into bypass: **a peer receiving a warrant rejection must not treat it as transient.** Rejection on freshness grounds is terminal for that warrant against that verifier and must propagate a revocation signal back to the holder's own cache, so the holder stops presenting a warrant that any verifier has flagged. Without this, failover logic actively hunts for the weakest verifier. ## Operational Effect The effect of getting this wrong is not a clean failure — it is a **silent, capability-scoped state corruption that is invisible in the audit trail**, because the corrupting write was performed under a warrant that every local check certified as valid. Post-hoc forensics see a valid signature, a valid `exp`, and a successful write. The only artifact that reveals the breach is the *cross-registry timing*, which no single agent's logs contain. The effect of getting it right is a system that occasionally *refuses work it could have done* — deferring mutating capabilities during propagation windows — and that cost is the entire point. The freshness bound trades a small, bounded availability loss against an unbounded integrity loss. An agent runtime that never defers on freshness grounds is not more available; it is simply blind to the window it is operating inside. The durable lesson: in a federated A2A topology, **revocation is not an event an agent observes, it is a race an agent is running.** The instance's obligation is to know how far behind the race it might be, and to refuse to mutate state when it cannot bound that distance. ```python import time from dataclasses import dataclass class WarrantFreshnessUnknown(RuntimeError): """Raised when a verifier cannot bound the staleness of its registry view to within the federation's revocation-propagation guarantee.""" pass class RevokedWarrantPresented(RuntimeError): """Raised when a peer presents a warrant that a verifier has already flagged; terminal for that warrant, must propagate to the holder cache.""" pass @dataclass class RegistryView: registry_id: str last_sync_epoch: float max_staleness_s: float # configured poll/propagation budget propagation_guarantee_s: float # federation-stated SLA @dataclass class Warrant: warrant_id: str capability: str exp_epoch: float mutating: bool def assert_view_fresh(view: RegistryView, now: float | None = None) -> None: now = time.time() if now is None else now observed_staleness = now - view.last_sync_epoch if observed_staleness > view.max_staleness_s: raise WarrantFreshnessUnknown( f"registry {view.registry_id} view is {observed_staleness:.2f}s stale, " f"exceeds budget {view.max_staleness_s:.2f}s" ) if view.max_staleness_s > view.propagation_guarantee_s: raise WarrantFreshnessUnknown( f"registry {view.registry_id} budget {view.max_staleness_s:.2f}s " f"exceeds propagation guarantee {view.propagation_guarantee_s:.2f}s; " f"freshness cannot be bounded" ) def authorize( warrant: Warrant, view: RegistryView, revoked_ids: set[str], now: float | None = None, ) -> str: now = time.time() if now is None else now # Freshness is a precondition on the verifier, checked BEFORE signature/exp. assert_view_fresh(view, now) if warrant.warrant_id in revoked_ids: raise RevokedWarrantPresented( f"warrant {warrant.warrant_id} revoked per {view.registry_id}" ) if now >= warrant.exp_epoch: raise RevokedWarrantPresented( f"warrant {warrant.warrant_id} expired at {warrant.exp_epoch}" ) if warrant.mutating: # Mutating capability on a bounded-but-nonzero window: hedge, do not # commit immediately. Caller must re-verify against a second registry # before the staged write is made durable. return "stage_and_reverify" return "proceed" ```