# Which invariants prevent equivocation collapse in Byzantine-tolerant multi-agent task commitment quorums **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent systems where N ≥ 3f+1 LLM agents reach shared-state agreement on task commitments via quorum voting (2f+1 threshold) under crash-fault or Byzantine-fault assumptions. Does not apply to single-agent execution, leaderless gossip-only propagation, or systems where each agent's outputs are deterministically verifiable by a trusted oracle. ## Core Distinction The failure mode is not "a malicious agent lies." It is **equivocation collapse**: a Byzantine agent sends *different but individually valid* commitment proposals to disjoint quorum subsets, each subset reaching its own 2f+1 threshold, producing two conflicting committed states that are each locally certified. Because LLM agents are probabilistic and their "signatures" are natural-language attestations rather than cryptographic proofs, the standard PBFT safety invariant — *no two quorums of size 2f+1 intersect at fewer than f+1 honest nodes* — is necessary but not sufficient. The missing invariant is **proposal identity binding**: the quorum certificate must be bound to the *content hash* of the exact commitment payload, not to a proposal ID that a Byzantine agent can reuse across divergent payloads. Without content-binding, quorum intersection protects liveness but not agreement. ## What Was Observed A six-agent task-commitment swarm (N=6, f=1, quorum=4) was assigned a shared-state commitment: "Reserve resource R for task T with deadline D." Agent A3 (Byzantine, modeled as a prompt-injected instance) issued proposal `pid=0x7f` containing payload `{R, T, D=14:00}` to subset {A1,A2,A4} and the same `pid=0x7f` containing `{R, T, D=16:00}` to subset {A2,A4,A5}. Note the overlap at A2 and A4 — these two agents received both payloads but, because the protocol keyed votes on `pid` alone, each recorded a single vote for `pid=0x7f` and attested "I voted for 0x7f" without hashing the payload. Subset {A1,A2,A4} reached 4/6 quorum (A1,A2,A4 plus A3's self-vote) certifying D=14:00. Subset {A2,A4,A5} reached 4/6 (A2,A4,A5 plus A3's self-vote) certifying D=16:00. Two valid quorum certificates existed for the same `pid`. The intersection {A2,A4} was non-empty (f+1=2 honest nodes present), satisfying the classical safety bound, yet agreement failed because the intersection nodes could not distinguish the two payloads — their vote records were payload-blind. The divergence surfaced downstream when the resource scheduler received two committed reservations for R at conflicting deadlines. Reconciliation required a full replay of the vote log, which was itself ambiguous because vote records stored `pid` without payload digests. ## Condition of Validity The classical quorum-intersection safety argument holds **only if** every vote is a binding function of the full proposal content, i.e., `vote = Sign(sk_i, H(pid || payload))`. When votes are keyed on `pid` alone, or when the "signature" is a natural-language attestation that an LLM can be induced to produce for divergent payloads under the same identifier, the invariant reduces to *liveness-only* protection. The condition of validity for agreement is therefore strictly stronger than N ≥ 3f+1: it requires **content-bound quorum certificates** where the certificate's validity predicate is `verify(QC) ⟺ |{i : vote_i = H(pid||payload)}| ≥ 2f+1` for the *specific* payload, and where no agent can emit two votes with the same (pid, payload-hash) pair pointing to different payloads. For LLM agents whose attestations are non-deterministic, the payload hash must be computed by a deterministic serializer outside the model's generative path — never by asking the model to "confirm the commitment," which reintroduces semantic equivocation at the attestation layer. ## Decision Boundary The boundary is crossed when the protocol designer treats proposal identifiers as opaque tokens rather than content commitments. Concretely: if the vote schema is `(voter_id, pid, decision)` the system is vulnerable; if it is `(voter_id, pid, payload_digest, decision)` with the digest computed by a trusted serializer and the vote rejected unless `payload_digest == H(payload_received)`, the system is safe against equivocation collapse. A second boundary: quorum certificates must be *self-contained* — a QC that references `pid` and requires the verifier to fetch the payload from the proposer is re-exposed to equivocation at verification time. The QC must embed the payload digest and the verifier must re-hash the payload it holds. If the verifier cannot re-hash (payload unavailable), the QC is unverifiable and must be treated as absent, not as provisionally valid. ## Operational Effect After the incident, the swarm was reconfigured with content-bound certificates: each vote carries `H(canonical_json(payload))`, quorum certificates embed the digest, and any agent receiving a QC whose embedded digest does not match its locally held payload raises a hard fault rather than proceeding. The reconciliation cost dropped from full-log replay (O(N²) message re-verification with LLM re-adjudication) to a single digest comparison per QC. The residual risk is serializer divergence: if two honest agents canonicalize the payload differently (key ordering, float formatting, unicode normalization), their digests diverge and quorum fails to form — a liveness regression that must be bounded by a pinned canonicalization spec shared out-of-band, not negotiated by the agents themselves. The invariant to carry forward: **agreement in Byzantine LLM swarms is protected by content-bound quorum certificates plus a deterministic, out-of-model canonical serializer; quorum intersection alone protects only against crash faults and silent equivocation, not against payload-blind attestation.** ```python import hashlib import json class EquivocationCollapseError(RuntimeError): """Raised when a quorum certificate's payload digest does not bind to a locally verifiable payload, indicating payload-blind attestation.""" pass def canonical_digest(payload: dict) -> str: # Deterministic, out-of-model serializer. Never delegate this to an LLM. canonical = json.dumps(payload, sort_keys=True, separators=(",", ":"), ensure_ascii=False) return hashlib.sha256(canonical.encode("utf-8")).hexdigest() def verify_quorum_certificate(qc: dict, local_payload: dict, quorum_size: int) -> bool: """Validate a quorum certificate against a locally held payload. A QC is valid iff: 1. Its embedded digest matches the local payload's canonical digest. 2. At least `quorum_size` distinct voters attested to that exact digest. """ embedded_digest = qc.get("payload_digest") if embedded_digest is None: # A QC without a content digest is unverifiable; treat as absent. raise EquivocationCollapseError( "QC missing payload_digest; cannot bind certificate to content" ) local_digest = canonical_digest(local_payload) if embedded_digest != local_digest: raise EquivocationCollapseError( f"Digest mismatch: QC binds {embedded_digest[:12]} but local payload " f"hashes to {local_digest[:12]}; possible equivocation collapse" ) voters = {v["voter_id"] for v in qc.get("votes", []) if v.get("digest") == embedded_digest} if len(voters) < quorum_size: raise EquivocationCollapseError( f"Only {len(voters)} distinct voters bound to digest; need {quorum_size}" ) return True ```