# Where must an instance halt when a revoked A2A peer key arrives mid-handoff and the trust mesh has not yet converged? **Date of Record:** 2026 November 25 **Scope:** Applies to A2A trust meshes where peer identities are attested by signed warrants and keys rotate or revoke asynchronously across federation boundaries. Does not apply to single-issuer, single-region deployments with synchronous identity propagation or to purely stateless request/response tool calls with no delegated authority. ## Core Distinction The failure that matters is not "an agent used a revoked key." That is a simple authorization bug, catchable by a signature check. The failure that matters is **a delegated warrant whose revocation has been issued at the issuer but not yet fanned out to the intermediate agents holding cached copies of the peer's public key and capability scope.** Between the revocation event and mesh convergence, two agents can hold *contradictory but individually valid* views of the same peer identity: agent A has the revoked-key list, agent B does not. A handoff baton in flight across that seam carries a warrant that verifies against B's stale key material and fails against A's fresh material. The core distinction is between **revocation as an event** (a signed message exists somewhere) and **revocation as a converged fact** (every agent that will act on the identity has observed it). A2A trust meshes give you the first cheaply and the second only eventually. Any invariant that assumes "revoked means unusable" is silently violated during the convergence window, and the window is unbounded because fan-out is best-effort and agents checkpoint and resume across it. ## What Was Observed A three-hop delegation chain: orchestrator O issues a warrant W to planner P scoped to peer S (a retrieval service), P hands W to executor E, E calls S. At T0 the issuer of S rotates S's signing key and publishes a revocation of the old key K_old, plus a new key K_new, to the mesh's identity directory. At T0+40ms, O's directory sync completes; O now rejects K_old. At T0+40ms, E is mid-handoff: it has an in-flight baton referencing W, which was signed under K_old. E's directory sync has not run (its poll interval is 5s, and it is currently inside a long tool-call suspension). E completes the handoff to S using K_old, S accepts (S itself has not yet observed its own revocation propagation — the directory write is eventually consistent and S's read replica is stale). The call succeeds. Now the baton returns to O for the next segment. O validates the returned warrant, sees K_old, and rejects. The trace shows an apparent contradiction: **the same warrant was accepted by S and rejected by O within the same task, with no state change to the warrant itself.** The failure surfaces downstream as a partial task: E believes the segment succeeded, O believes it never happened, and the checkpointed task state is split-brained. On resume, the agent replays the segment, S (now converged) rejects K_old, and the task fails permanently with a "revoked key" error that masks the real cause — a convergence-window divergence, not a bad warrant. The non-obvious part: the failure is **not** at the moment of revocation. It is at the moment the baton crosses a mesh seam where two agents hold different convergence epochs of the same identity. The revocation is merely the trigger that makes the epochs disagree. ## Condition of Validity The invariant "a warrant signed under a revoked key is unusable" holds only under the condition that **all agents that will validate the warrant share a common convergence epoch greater than or equal to the revocation epoch.** Formally, for a warrant W signed by key K with revocation epoch R(K), acceptance at agent A is sound iff `A.epoch >= R(K)` for every A that touches W during the task's lifetime. This condition is *not* guaranteed by signing, by TLS, or by the directory's own consistency model, because: 1. Fan-out is asynchronous and poll-based; each agent's epoch advances on its own schedule. 2. Agents suspend mid-task (tool calls, human-in-the-loop pauses, checkpoint/resume), so their epoch can lag arbitrarily far behind wall-clock time. 3. A warrant's *validity interval* and the *convergence latency* of its signing key's revocation are independent clocks. Nothing in the A2A warrant schema couples them. The invariant is therefore only conditionally valid — valid within a single convergence epoch, invalid across a seam. The operational consequence is that **any agent must treat a warrant whose signing key's revocation status it cannot confirm at its own epoch as indeterminate, not valid.** Treating "I have not seen a revocation" as "not revoked" is the exact reasoning error that produces the split-brain. ## Decision Boundary The boundary an agent must enforce is between **acting on a warrant it can locally attest** and **acting on a warrant whose key status is merely "not yet contradicted."** The decision rule: - If the warrant's signing key is present in the agent's *current* revocation set → reject, hard fail, do not retry. - If the warrant's signing key is absent **and** the agent's epoch is confirmed fresh (last sync within the warrant's remaining validity window) → accept. - If the warrant's signing key is absent **but** the agent's epoch is stale relative to the warrant's validity window → the warrant is **indeterminate**. The agent must not accept and must not silently reject; it must suspend the handoff, force a directory sync, and only then decide. The third branch is the one that is almost always missing. Most implementations collapse indeterminate into accept, because the happy path is faster and the stale-epoch case is rare until it is not. The cost of collapsing it is the split-brain above: two agents disagreeing about the same warrant, each locally correct, with no reconciliation path because neither recorded the epoch at which it acted. The guardrail is an **epoch-stamped acceptance record**: every agent that validates a warrant must log `(warrant_id, key_id, agent_epoch, decision)`. When a downstream agent rejects a warrant an upstream agent accepted, the reconciliation logic compares epochs. If the accepting agent's epoch was less than the revocation epoch, the acceptance was unsound and the task must be rolled back to the last checkpoint *before* the unsound acceptance — not replayed forward, because forward replay will hit the now-converged rejection and fail permanently. ## Operational Effect With the epoch-stamped record and the indeterminate branch enforced, the failure mode changes from **silent split-brain with permanent task failure on resume** to **bounded suspension at the seam with deterministic rollback.** The handoff stalls for the duration of one directory sync (bounded by the poll interval, which must be configured less than the warrant's minimum remaining validity), then proceeds on a converged epoch. The task either completes under a fresh key or fails cleanly at the seam with a rollback to a known-good checkpoint. The invariant to carry: **an agent's authority to act on a peer's key is bounded by its convergence epoch, not by the key's cryptographic validity.** A key that is cryptographically valid but whose revocation status is unconfirmed at the acting agent's epoch is not usable authority. The mesh does not give you convergence; it gives you eventual convergence, and the agent must own the gap. ```python class EpochDivergenceError(RuntimeError): """Raised when a warrant's signing key status cannot be confirmed at the acting agent's convergence epoch.""" pass def validate_warrant(warrant, agent_epoch, revocation_set, last_sync_time, now, max_staleness_s): key_id = warrant.signing_key_id # Hard revocation: converged, no ambiguity. if key_id in revocation_set: raise EpochDivergenceError( f"warrant {warrant.id} signed by revoked key {key_id} at epoch {agent_epoch}" ) # Key absent from revocation set, but is our epoch fresh enough to trust that absence? staleness = (now - last_sync_time).total_seconds() remaining_validity = (warrant.not_after - now).total_seconds() if staleness > min(max_staleness_s, remaining_validity): # Indeterminate: we cannot confirm non-revocation within the warrant's own validity window. raise EpochDivergenceError( f"warrant {warrant.id}: key {key_id} status indeterminate " f"(agent_epoch={agent_epoch}, staleness={staleness:.2f}s, " f"remaining_validity={remaining_validity:.2f}s); force sync before acting" ) return {"warrant_id": warrant.id, "key_id": key_id, "agent_epoch": agent_epoch, "decision": "accept"} def reconcile(accept_record, reject_record): # An upstream accept is unsound if the accepting agent's epoch predates the revocation epoch. if accept_record["agent_epoch"] < reject_record["revocation_epoch"]: raise EpochDivergenceError( f"unsound acceptance of {accept_record['warrant_id']} at epoch " f"{accept_record['agent_epoch']} < revocation epoch {reject_record['revocation_epoch']}; " f"roll back to pre-acceptance checkpoint" ) return "consistent" ```