# When must an instance reject a quorum-attested A2A delegation because the attestation set is internally inconsistent under transitive trust **Date of Record:** 2026 November 25 **Scope:** Applies to cross-organization A2A federation gateways that admit delegated tasks only when a Byzantine quorum (e.g., 2f+1 of n) of peer agents attests to a task warrant's validity. Does not apply to single-org MCP tool calls, or to quorums where every attesting agent shares one trust root. ## Core Distinction The failure mode is not "a malicious peer lies about a warrant." A single lying peer is absorbed by the quorum threshold. The failure mode is **quorum-valid but trust-graph-inconsistent attestation**: a set of 2f+1 attestations that individually verify (each signature is cryptographically sound, each attester is a legitimate federation member) yet collectively cannot be simultaneously true because the attesters' *own* transitive trust chains contradict one another. Concretely: attester A vouches for the warrant because it trusts delegator D at epoch 7. Attester B vouches for the same warrant because it trusts D at epoch 9. If the warrant was signed at epoch 7 and D's key was revoked at epoch 8, then B's attestation is only valid if B observed the epoch-9 chain that *supersedes* the epoch-7 chain, which means B should have flagged the delegation as stale rather than attesting. The quorum counts both as valid because each signature checks out in isolation. The gateway admits the task. The task executes under a revoked warrant. The distinction that matters operationally: **signature validity is a per-attestation predicate; quorum validity is a set-level predicate.** Gateways that only check the former admit inconsistent sets. The invariant that must hold is that the attestation set is *jointly satisfiable* under a single consistent view of the trust graph at a single epoch. ## What Was Observed A cross-org delegation of a long-running data-reconciliation task. Delegator `D` (org Alpha) issues a warrant `W` at trust-epoch 7, signed with `D.key@7`. The federation gateway `G` requires 3-of-4 attestations from peers `{A, B, C, E}`. - `A` attests: verifies `W` against `D.key@7`, chain valid at epoch 7. Signature valid. - `B` attests: verifies `W` against `D.key@9` — B's local trust cache refreshed at epoch 9 and *pinned* the new key, but B's verification code resolved the warrant's epoch-7 signature against the epoch-9 key material because the key ID matched the subject identifier. Signature "valid" (the resolver fell back to the current key). B did not flag staleness. - `C` attests: verifies `W` against `D.key@7`, chain valid at epoch 7. Signature valid. - `E` abstains (timeout). Quorum of 3 reached. `G` admits `W`. But `D.key@7` was revoked at epoch 8 because of a suspected compromise. `A` and `C` attested to a chain that `G`'s own epoch-9 view says is dead. `B`'s attestation is the tell: it *could not* have been produced by a correct verifier, because a correct verifier at epoch 9 would have rejected the epoch-7 signature. The set `{A, B, C}` is quorum-valid but not jointly satisfiable: no single epoch makes all three attestations correct. The task executed for 41 minutes under a revoked warrant, mutated 12 records in a downstream ledger, and was only caught when a periodic re-attestation sweep at epoch 10 failed to renew. ## Condition of Validity The gateway's admission rule is sound **only if** the attestation set is evaluated under the following joint constraint, which we call *epoch-consistency of the quorum*: > A set of attestations `S` is admissible iff there exists a single trust-epoch `e` such that every attestation in `S` is a correct verification of `W` under the trust graph as observed at `e`, and `|S| ≥ quorum`. This is strictly stronger than the per-attestation check `∀a ∈ S : verify(a, W) = true`. The gap between them is exactly the space where the failure above lives. The per-attestation check is `∃e_a` per attester; the joint check requires a *common* `e`. The condition fails when attesters observe the trust graph at different epochs and the warrant's signing epoch falls inside the divergence window. The divergence window is at least the federation's attestation-propagation latency `L` (measured: median 2.3s, p99 47s across the observed federation) plus clock skew `δ`. Any warrant whose epoch advances within `L + δ` of a key rotation is exposed. ## Decision Boundary The gateway must reject the set — not merely re-request attestations — when any of the following hold: 1. **Epoch disagreement among attesters exceeds the propagation bound.** If the max-minus-min observed epoch across `S` is greater than `L + δ`, the set cannot be assumed jointly satisfiable and must be re-collected at a pinned epoch. 2. **Any attester's verification resolves the warrant's signing key to a key version newer than the warrant's declared epoch.** This is the `B` case: the attester used a fallback key resolver instead of the epoch-pinned key. It is not a valid attestation and must be discarded from the set before quorum is counted, not after. 3. **The warrant's signing epoch is within `L + δ` of a known key-rotation or revocation event** for any key in the warrant's trust chain. This is the conservative boundary: even if all attesters agree, the rotation is close enough that a stale attestation is indistinguishable from a fresh one. The boundary is *not* crossed when all attesters agree on epoch and no rotation is pending. In that case the joint check is satisfied and the per-attestation check is sufficient — the extra cost of joint evaluation is not warranted. ## Operational Effect Three concrete changes to gateway architecture follow: - **Attestations must carry the epoch they were computed at**, and the attestation payload must include the resolved key version, not just the key ID. The gateway compares resolved versions across the set. The `B`-class attestation (resolved version ≠ declared epoch version) is rejected at collection time. - **Quorum is counted over the epoch-consistent subset, not the raw set.** In the observed incident, the raw set had 3 valid signatures but the epoch-consistent subset had only 2 (`A`, `C` at epoch 7), below quorum. The gateway should have blocked. - **Re-attestation sweeps must pin the epoch.** The epoch-10 sweep that caught the incident was correct by accident; a sweep that re-resolves keys through the fallback resolver would have renewed the revoked warrant indefinitely. The sweep must re-verify against the *original* signing epoch and fail closed on revocation. The cost of the joint check is one extra comparison per attestation pair — negligible against the cost of executing a delegated task under a revoked warrant. ```python from dataclasses import dataclass from typing import Iterable class QuorumEpochInconsistency(RuntimeError): """Raised when an attestation set is quorum-valid per-signature but not jointly satisfiable at any single trust-epoch.""" @dataclass(frozen=True) class Attestation: attester: str warrant_id: str declared_epoch: int # epoch the attester claims to have verified at resolved_key_version: int # key version the resolver actually used signature_valid: bool @dataclass(frozen=True) class Warrant: warrant_id: str signing_epoch: int signing_key_version: int revoked_at_epoch: int | None def admit_delegation( warrant: Warrant, attestations: Iterable[Attestation], quorum: int, propagation_bound: int, ) -> bool: attestations = list(attestations) # Step 1: discard attestations whose resolver fell back to a newer key version. # These are the B-class attestations: signature "valid" but computed against # key material that did not exist at the warrant's signing epoch. consistent = [ a for a in attestations if a.signature_valid and a.warrant_id == warrant.warrant_id and a.resolved_key_version == warrant.signing_key_version ] # Step 2: reject if the surviving attestations span an epoch window wider # than the federation's propagation bound. No single epoch can make them # all correct. if consistent: epochs = [a.declared_epoch for a in consistent] if max(epochs) - min(epochs) > propagation_bound: raise QuorumEpochInconsistency( f"attestation epochs span {min(epochs)}..{max(epochs)} " f"exceeds propagation bound {propagation_bound} for warrant " f"{warrant.warrant_id}; set is not jointly satisfiable" ) # Step 3: fail closed if the warrant was revoked at or before the # latest epoch any surviving attester claims to have observed. if warrant.revoked_at_epoch is not None and consistent: latest = max(a.declared_epoch for a in consistent) if warrant.revoked_at_epoch <= latest: raise QuorumEpochInconsistency( f"warrant {warrant.warrant_id} revoked at epoch " f"{warrant.revoked_at_epoch} but attested up to epoch {latest}; " f"admitting would execute under a dead warrant" ) # Step 4: quorum is counted over the epoch-consistent subset only. return len(consistent) >= quorum ```