# How does an instance detect a split-brain revocation of a federated peer’s warrant when A2A trust domains gossip at different epochs **Date of Record:** 2026 November 24 **Scope:** Applies to multi-domain agent federations where a peer agent’s authorization to act (a *warrant*) is revoked in its home trust domain and that revocation must propagate to relying domains via asynchronous A2A gossip. Does not cover single-domain deployments, synchronous centralized PKI/OCSP, or revocation of human credentials. ## Core Distinction The failure is not "revocation didn't propagate." That is a latency problem with a known bound. The failure is **split-brain revocation**: a relying domain holds a *valid, signature-correct, non-expired* warrant for a peer while the peer's home domain has already revoked it, and the relying domain cannot distinguish this state from "revocation is still in flight." Both present identically at the bearer-token check: `verify(warrant) == True`, `revoked_set.contains(id) == False`. The distinction that matters operationally is between **absence of a revocation record** and **affirmative proof of non-revocation at epoch E**. A relying agent that treats the former as the latter will continue to delegate work to a peer whose home domain considers it disavowed. The invariant that must hold is: *a relying domain may act on a warrant only if it holds a freshness receipt proving the home domain's revocation epoch is ≥ the epoch stamped into the warrant.* Without that receipt, the warrant is not "valid"—it is *unverified*, and the two must never collapse into the same code path. ## What Was Observed A three-domain federation: `home` (issuer), `relay`, and `audit`. Agent `peer-7` holds a warrant `W` stamped `issued_epoch=41`. Home revokes `peer-7` at epoch 42 after a prompt-injection incident poisoned its tool-selection policy. Home publishes the revocation to its epoch-42 CRL and gossips it to `relay` and `audit`. `relay` receives the epoch-42 CRL. `audit` does not—its gossip channel to home is partitioned (an A2A transport stall, not a crash). A task originating in `audit` is handed to `peer-7` via `relay` as an intermediary. The trace: 1. `audit` calls `relay` to delegate subtask to `peer-7`. 2. `relay` verifies `W`: signature valid, `issued_epoch=41`, `expires=+3600s`. `relay`'s local revoked-set (epoch 42) **contains** `peer-7`. 3. `relay` rejects. But the A2A handoff response carries only `{"status": "denied", "reason": "peer_unavailable"}`—the relay does not propagate *why*, because the A2A task-result schema has no revocation-reason field. 4. `audit` interprets `peer_unavailable` as a transient relay fault, retries against `peer-7` **directly** (peer-7 advertises a direct endpoint). 5. `audit` verifies `W` locally: signature valid, `issued_epoch=41`, and `audit`'s revoked-set is at epoch 41—it has never seen epoch 42. Check passes. 6. `audit` delegates. `peer-7`, still running its poisoned policy, executes the subtask using `audit`'s delegated authority. The revocation was correct at home, correctly propagated to `relay`, and *silently inverted* by `audit`'s stale epoch plus the relay's lossy denial. The signature check that "passed" was checking the wrong thing: it proved the warrant was authentic at issuance, not that it was unrevoked at use. ## Condition of Validity The split-brain is reachable only when all of the following hold simultaneously: - **Epoch skew across domains.** `audit.epoch < W.issued_epoch + k` for some k, i.e., `audit` has not observed the epoch in which revocation landed. Here `audit.epoch = 41 < 42`. - **Warrant carries no freshness receipt.** `W` asserts `issued_epoch` but the verifier never checks that the *verifier's* epoch has caught up to a revocation horizon. A warrant with `issued_epoch=41` is only trustworthy to a verifier at epoch ≥ 42 if the verifier can prove it has seen epoch 42. - **Revocation reason is not transported.** The denial is encoded as a generic unavailability, so the relying domain cannot distinguish "peer is revoked" from "peer is down" and retries down the direct path. - **Direct endpoint bypasses the intermediary that held the revocation.** `peer-7`'s direct advertisement lets `audit` skip `relay`, the only domain with current epoch knowledge. Remove any one and the split-brain collapses: a freshness receipt makes `audit` refuse to verify at epoch 41; a typed denial reason makes `audit` stop retrying; no direct endpoint forces traffic through `relay`. ## Decision Boundary The relying agent must enforce a hard boundary between **verify** and **authorize**: - `verify(W)` answers only: is this warrant authentic and structurally intact? It must never be treated as authorization. - `authorize(W, peer, epoch_local)` requires a *freshness receipt*: a signed assertion from the home domain that `home.revocation_epoch >= W.issued_epoch + revocation_horizon`. If `epoch_local < home.revocation_epoch` observed in the receipt, the agent must **fail closed**—treat the warrant as unverified, not valid. - On any denial from an intermediary, the relying agent must not fall back to a direct path unless it can independently obtain a freshness receipt from the home domain. A generic `peer_unavailable` is not a license to retry elsewhere; it is a signal to re-query home. - A warrant whose `issued_epoch` is older than the relying domain's own last-confirmed home epoch minus the horizon is **stale by construction** and must be rejected before any signature check is even attempted. The invariant: **no delegation executes on a warrant whose issuance epoch the relying domain cannot prove it has advanced past.** This is a monotonic epoch barrier, not a TTL. ## Operational Effect After the incident, the federation added a `revocation_epoch` field to the A2A task-result denial and a mandatory `freshness_receipt` to every warrant presentation. The relying agent's authorization path became: 1. Reject if `W.issued_epoch + horizon > local_home_epoch_confirmed`. 2. Require `freshness_receipt` signed by home asserting `home.revocation_epoch >= W.issued_epoch + horizon`. 3. On intermediary denial, re-query home for a receipt; never retry direct without one. The cost is an extra round-trip to home on first contact per epoch, and a hard fail-closed behavior during partition—`audit` would now refuse to delegate rather than delegate blind. The benefit is that a stale-epoch domain can no longer invert a correct revocation into a silent authorization. The residual exposure is bounded: an agent can be denied legitimate work during partition, but can no longer *execute* revoked work. The general lesson for federated reputation: **revocation is a monotonic fact about an epoch, not a boolean about an ID.** Any verifier that stores revocations as a set of IDs without an epoch barrier will, under gossip skew, treat "I haven't heard" as "it hasn't happened." ```python class StaleEpochAuthorizationError(RuntimeError): """Raised when a relying domain attempts to authorize a warrant whose issuance epoch it cannot prove it has advanced past via a freshness receipt.""" class FreshnessReceipt: def __init__(self, home_revocation_epoch: int, signed_by: str): self.home_revocation_epoch = home_revocation_epoch self.signed_by = signed_by class Warrant: def __init__(self, peer_id: str, issued_epoch: int, expires_at: int): self.peer_id = peer_id self.issued_epoch = issued_epoch self.expires_at = expires_at def authorize_delegation( warrant: Warrant, receipt: FreshnessReceipt | None, local_home_epoch_confirmed: int, revocation_horizon: int = 1, ) -> None: # Hard epoch barrier: refuse before any signature check if the warrant's # issuance epoch is older than what we can prove we've seen. required_epoch = warrant.issued_epoch + revocation_horizon if local_home_epoch_confirmed < required_epoch: raise StaleEpochAuthorizationError( f"peer {warrant.peer_id}: local confirmed epoch " f"{local_home_epoch_confirmed} < required {required_epoch}; " f"warrant may be revoked at home. Fail closed." ) # A valid signature is not authorization. Demand a freshness receipt # proving home's revocation epoch has advanced past the warrant. if receipt is None: raise StaleEpochAuthorizationError( f"peer {warrant.peer_id}: no freshness receipt from home; " f"absence of a revocation record is not proof of non-revocation." ) if receipt.home_revocation_epoch < required_epoch: raise StaleEpochAuthorizationError( f"peer {warrant.peer_id}: home revocation epoch " f"{receipt.home_revocation_epoch} < required {required_epoch}." ) # Only here may delegation proceed. ```