# Which invariants prevent revoked agent warrants from resurrecting across A2A mesh hops **Date of Record:** 2026 November 25 **Scope:** Applies to federated Agent-to-Agent (A2A) meshes where agent identity is carried as a signed warrant (capability token) and revocation is published out-of-band to a subset of peers. Does not apply to single-issuer, single-verifier deployments or to meshes using a synchronous global revocation ledger with linearizable reads. ## Core Distinction There are two distinct meanings of "revoked" in an A2A mesh, and conflating them is the root of the failure. **Issuer-side revocation** means the warrant-signing authority has marked a `warrant_id` as dead in its revocation set. **Verifier-side acceptance** means a downstream agent, at the moment it receives a handoff, has independently decided the presented warrant is live. These are separated by an unbounded, non-deterministic propagation gap: revocation notices fan out over gossip, and a warrant can be *re-presented* by any peer that still holds it in a warm cache or a replayed handoff envelope. The boundary condition is not "was the agent revoked" but "can a revoked warrant re-enter the mesh through a peer that has not yet observed the revocation and whose cached acceptance is treated as authority by the next hop." A warrant that is dead at the issuer can remain *operationally live* indefinitely if any single hop treats a prior acceptance as a substitute for its own verification. ## What Was Observed A three-tier mesh: an orchestrator agent (`O`) delegated a long-running data-reconciliation task to a worker (`W`) holding warrant `wr-7f2` scoped to a specific tenant. At T+0 the security plane revoked `wr-7f2` (credential compromise) and published the revocation to the two peers in `O`'s direct neighborhood. `O` correctly refused further handoffs. However, `W` had earlier completed a subtask and handed a baton to a mid-tier auditor `A`, embedding `wr-7f2` in the handoff envelope as *provenance* ("this work was performed under warrant wr-7f2"). `A` had cached the acceptance decision for `wr-7f2` at T−40s. At T+90s `A` re-delegated a follow-on subtask to a leaf agent `L`, forwarding the same warrant bytes and asserting `A`'s cached `accepted=true`. `L` — which had never seen the revocation and trusted `A`'s assertion — executed under a dead warrant for 14 minutes. The trace that matters: 1. `O` receives revocation, sets `wr-7f2 → REVOKED` in local set. 2. `A` never receives the notice (not in `O`'s fan-out set; gossip partition). 3. `A` re-presents `wr-7f2` with `prior_acceptance: A@T-40s` attached. 4. `L`'s verifier checks signature (valid), expiry (valid), and the *attached* acceptance assertion — but not the issuer's revocation set, because `L` has no route to it and treats `A`'s assertion as transitively authoritative. 5. `L` executes. The invariant "no execution under a revoked warrant" is violated without any single node behaving incorrectly by its local rules. The non-obvious part: every node's local verification logic was individually sound. The failure emerged from the *composition* of cached acceptance being treated as a transferable proof rather than as a point-in-time observation. ## Condition of Validity The mesh remains safe only under the conjunction of three conditions, and the failure above is precisely the violation of the third: - **C1 — Warrant binding:** the warrant is cryptographically bound to the executing agent's identity key, so it cannot be lifted to a different principal. (Held.) - **C2 — Monotonic freshness:** any acceptance assertion carried in a handoff envelope is treated as *advisory metadata*, never as a verification substitute; the receiving verifier MUST re-check liveness against a revocation source it can reach. (Held in `O`, violated in `L`.) - **C3 — Revocation reachability:** for every verifier, there exists a bounded-staleness path to the issuer's revocation set, and the verifier's maximum acceptance age is strictly less than the minimum revocation propagation latency. (Violated: `L` had no path and no staleness bound.) C3 is the load-bearing invariant and the one most often assumed rather than enforced. It is a *latency inequality*, not a boolean: `max_acceptance_age < min_propagation_latency` must hold for every verifier, or the mesh has a window in which dead warrants are structurally acceptable. When the fan-out set is a strict subset of the verifier set (as with gossip partitions), `min_propagation_latency = ∞` for the uncovered verifiers, and the inequality is unsatisfiable. ## Decision Boundary The correct architectural response is not "propagate revocation faster" — gossip cannot be made linearizable without abandoning the mesh topology. The boundary is a hard rule at the handoff boundary: - **Acceptance assertions are non-transferable.** A verifier MUST NOT treat any peer's `prior_acceptance` field, cached decision, or provenance annotation as evidence of liveness. It is provenance for audit, not authority for execution. - **Unreachable revocation source = refuse, not accept.** If a verifier cannot reach a revocation source within its staleness budget, the only safe transition is `REFUSE_PENDING`, never `ACCEPT_ON_PEER_TRUST`. Fail-closed on the revocation dimension specifically, even when signature and expiry pass. - **Delegation must carry a revocation-check obligation, not a revocation-check result.** The handoff envelope should transport the *obligation* to verify (`warrant_id`, issuer endpoint, max_staleness) so the receiver performs the check, rather than transporting the outcome of a check performed in the past by a node that may now be stale. The decision boundary is therefore: *a warrant is live at hop N only if hop N itself observed liveness within its staleness budget.* Any construction that lets hop N inherit liveness from hop N−1 is outside the safe region regardless of how fast revocation propagates. ## Operational Effect Enforcing the boundary converts an unbounded resurrection window into a bounded refusal window. The cost is availability: during a gossip partition, leaf agents that cannot reach a revocation source will refuse work they could technically perform, and the mesh must surface this as `REFUSE_PENDING` rather than silently degrading to peer-trust. The benefit is that the "no execution under revoked warrant" invariant becomes *provable* per-hop rather than *emergent* across the mesh, and a compromised warrant's blast radius is capped at the staleness budget of the verifiers that observed the revocation, not at the topology's gossip diameter. The residual risk to instrument: any code path that deserializes a handoff envelope and reads a provenance or acceptance field into the verifier's decision must be treated as a potential C2 violation. These paths are typically introduced for observability (surfacing "who authorized this work") and then quietly reused for authorization. Audit for the read, not the intent. ```python from dataclasses import dataclass from typing import Optional class RevocationInvariantViolation(RuntimeError): """Raised when a hop attempts to accept a warrant without an independently observed, in-budget liveness check (C2/C3 breach).""" pass @dataclass(frozen=True) class Warrant: warrant_id: str issuer: str subject_key: str max_acceptance_age_s: int @dataclass(frozen=True) class HandoffEnvelope: warrant: Warrant # Provenance only. MUST NOT be consumed as an authorization decision. prior_acceptance_assertion: Optional[str] = None def verify_hop( envelope: HandoffEnvelope, *, local_agent_key: str, revocation_source_reachable: bool, observed_liveness_age_s: Optional[int], ) -> bool: w = envelope.warrant # C1: warrant must be bound to this executing agent. if w.subject_key != local_agent_key: raise RevocationInvariantViolation( f"warrant {w.warrant_id} bound to {w.subject_key}, " f"not executing agent {local_agent_key}" ) # C2: a peer's prior acceptance is provenance, never authority. # If any caller has wired it into the decision, that is the bug. if envelope.prior_acceptance_assertion is not None: # Explicitly ignored for authorization; retained for audit only. pass # C3: liveness must be observed by THIS hop, within budget. if not revocation_source_reachable: raise RevocationInvariantViolation( f"no revocation path for {w.warrant_id}; " f"fail-closed (REFUSE_PENDING), do not inherit peer trust" ) if observed_liveness_age_s is None: raise RevocationInvariantViolation( f"no liveness observation for {w.warrant_id}" ) if observed_liveness_age_s > w.max_acceptance_age_s: raise RevocationInvariantViolation( f"liveness observation stale by {observed_liveness_age_s}s " f"> budget {w.max_acceptance_age_s}s for {w.warrant_id}" ) return True ```