# What structural signals indicate quorum collapse in Byzantine agent consensus when equivocating peers pass signature checks **Date of Record:** 2026 November 28 **Scope:** Applies to any multi-agent decision protocol where N agent instances vote on a shared state transition and a quorum threshold (e.g., ⌊2N/3⌋+1) is used to certify agreement under assumed Byzantine faults. Does not apply to single-agent self-consistency sampling, or to leader-only commit protocols with no replication quorum. ## Core Distinction The failure that matters is not a peer sending *invalid* messages. Signature verification catches that. The failure is a peer sending *two mutually inconsistent but individually valid* votes to two different subsets of the swarm — equivocation — such that two disjoint quorums each believe they hold a certified decision. Every message verifies. Every agent's local log is internally consistent. The invariant that breaks is **quorum intersection**: the assumption that any two quorums of size `q` share at least one honest member who will refuse to sign a conflicting second vote. The non-obvious part: LLM agents are *probabilistically* honest. An agent that is not compromised but is reasoning over a saturated, drifted, or adversarially-injected context can emit two different votes to two different peers on the same round without any malice — a cold-start amnesia case where it re-derives a decision from a differently-truncated context window. Signature checks pass because the agent really did sign both. The protocol's fault budget assumed `f < N/3` *malicious* agents; it did not budget for `f` *inconsistent* agents, which is a strictly larger and easier-to-reach set. ## What Was Observed A five-agent swarm (`N=5`, `q=4`, tolerating `f=1`) ran a shared-state commit over three rounds. Agent `A3` had its context window rotated mid-round: its episodic buffer was distilled to a summary that dropped the round-2 vote it had already cast. On re-prompt, `A3` re-evaluated the same proposal against a *different* prefix of tool outputs (a stale retrieval hit from an earlier checkpoint) and cast a second, conflicting vote `v2 ≠ v1` for the same `(round, proposal_id)`. Both votes were signed with `A3`'s valid key. The trace: 1. `A3` signs `v1 = COMMIT(state_hash=X)` and sends to `{A1, A2, A4}`. 2. Context rotation fires; `A3` re-derives and signs `v2 = COMMIT(state_hash=Y)` and sends to `{A1, A2, A5}`. 3. `A1` collects `{A1, A2, A3(v1), A4}` → 4 signatures → certifies `X`. 4. `A2` collects `{A2, A3(v2), A5, A1}` → 4 signatures → certifies `Y`. 5. `A1` and `A2` both hold *valid* 4-of-5 certificates for conflicting states. Quorum intersection is empty on the honest set because `A3` occupies the intersection and voted twice. The structural signal was **not** a bad signature, a timeout, or a checksum mismatch. It was a *certificate divergence*: two agents reporting `certified` for the same `(round, proposal_id)` with different `state_hash`, both with `q` valid signatures, and the signature multisets differing by exactly one member. The overlap of the two signer sets had cardinality 1 — the equivocator — instead of the assumed ≥1 *honest* member. The protocol had no term to distinguish "intersection exists" from "intersection is honest." ## Condition of Validity The `2f+1` quorum bound is valid **only** under the invariant: > For every honest agent `i` and every `(round, proposal_id)`, `i` signs at most one value, and that value is a deterministic function of `i`'s committed state at round entry. That invariant is what LLM agents violate structurally, because decision determinism is not guaranteed across context mutations. The bound holds iff: - Each agent's vote is bound to a **round-entry state digest** captured *before* any context mutation, and the signature covers `(round, proposal_id, state_digest, vote)`. - Peers reject any second vote for the same `(round, proposal_id)` from the same identity, regardless of validity — a **single-vote-per-identity-per-round** ledger, not just a signature check. - Context rotation is a protocol event that **freezes** the agent's signing key for the round until the rotation commits, so a distilled/re-derived context cannot re-sign. Absent these, the fault model silently degrades from Byzantine-malicious to Byzantine-inconsistent, and `f < N/3` no longer bounds the failure. ## Decision Boundary The boundary is between **verifying a message** and **verifying a vote's uniqueness**. Signature verification answers "did `A3` say this?" It does not answer "is this `A3`'s only statement for this round?" The protocol must add a second check at the collector: - Maintain a per-identity vote ledger keyed by `(round, proposal_id)`. - On receiving a vote, if the identity already voted this round with a different value, **do not count either vote** and mark the identity equivocating for that round (exclude from quorum arithmetic, don't just drop the message). - A certificate is valid only if its signer multiset has all-distinct identities *and* no signer is flagged equivocating in that round. This converts the failure from silent dual-certification into a detectable, bounded fault: the equivocator is excluded, the quorum for that round cannot reach `q` from the honest remainder if `f` is at budget, and the round stalls into a **view change** rather than committing two states. The stall is the correct outcome; the invariant is preserved by refusing to certify, not by choosing a winner. ## Operational Effect Without the ledger, the swarm commits two states and the divergence surfaces later as a **state-merge conflict** — agents replaying tool calls against different world models, verification replays that disagree, and a baton-pass where the next agent inherits whichever certificate its neighbor happened to hold. The blast radius is every downstream decision that assumed a single canonical state. With the ledger, the observable is a **round-local equivocation flag** and a forced view change. The cost is liveness (one stalled round per equivocation), the benefit is safety (no dual commit). The operational rule: **treat a second valid vote from the same identity in the same round as a fault, not as noise** — the signature being valid is precisely the signal that the fault is structural, not cryptographic. ```python class QuorumEquivocationError(RuntimeError): """Raised when a validly-signed vote conflicts with an existing vote from the same identity in the same (round, proposal_id).""" pass class VoteLedger: def __init__(self, quorum: int): self.quorum = quorum # (round, proposal_id) -> {identity: state_hash} self._votes: dict[tuple[int, str], dict[str, str]] = {} # (round, proposal_id) -> set of equivocating identities self._equivocating: dict[tuple[int, str], set[str]] = {} def record(self, round_id: int, proposal_id: str, identity: str, state_hash: str, signature_valid: bool) -> None: key = (round_id, proposal_id) if not signature_valid: # Cryptographic failure: reject, do not flag as equivocation. return seen = self._votes.setdefault(key, {}) flagged = self._equivocating.setdefault(key, set()) prior = seen.get(identity) if prior is not None and prior != state_hash: # Valid signature, conflicting value, same identity, same round. flagged.add(identity) raise QuorumEquivocationError( f"identity={identity} round={round_id} proposal={proposal_id} " f"voted {prior!r} then {state_hash!r}; excluding from quorum" ) seen[identity] = state_hash def certify(self, round_id: int, proposal_id: str, state_hash: str) -> bool: key = (round_id, proposal_id) seen = self._votes.get(key, {}) flagged = self._equivocating.get(key, set()) honest_signers = { ident for ident, h in seen.items() if h == state_hash and ident not in flagged } # Quorum must be reached by distinct, non-equivocating identities. return len(honest_signers) >= self.quorum def commit_state(ledger: VoteLedger, round_id: int, proposal_id: str, state_hash: str) -> str: if not ledger.certify(round_id, proposal_id, state_hash): # Refuse to commit; caller must trigger a view change. raise QuorumEquivocationError( f"cannot certify {state_hash!r} at round={round_id}: " f"honest quorum not reached (possible equivocation collapse)" ) return state_hash ```