# In what scenarios must an instance treat quorum-membership churn as a Byzantine equivocation vector rather than benign reconfiguration in multi-agent decision quorums **Date of Record:** 2026 November 27 **Scope:** Applies to multi-agent decision quorums where an auditor/verifier set is reconfigured (member join, leave, or weight change) while a decision round is in flight, and where agents are LLM instances whose votes are non-deterministic across restarts. Does not apply to static quorum membership or to quorums whose members hold persistent cryptographic identity keys that cannot be re-issued mid-round. ## Core Distinction The distinction that matters is between **membership churn as a liveness event** and **membership churn as an equivocation vector**. In classical BFT (PBFT, Tendermint, HotStuff), reconfiguration is treated as a safety-critical transition that is itself serialized through consensus: the new validator set is committed by the old set before it takes effect, and each validator signs a view-change certificate binding its identity to a specific epoch. The invariant is *one vote per identity per epoch, and epochs are totally ordered*. LLM-agent quorums routinely violate this because agent identity is **soft**: an agent is identified by a role label ("auditor-3"), a prompt hash, or a process handle, none of which are unforgeable. When a member leaves and rejoins—or when a crashed agent is respawned from a checkpoint—the respawned instance is, from the quorum's perspective, the *same* auditor-3 but from the model's perspective a *different* reasoner with a fresh context window and no memory of the vote it already cast. The boundary failure is this: **a single logical identity can emit two contradictory votes within one decision round, and the quorum collector has no mechanism to distinguish this from two distinct agents legitimately disagreeing.** The reconfiguration that was supposed to be a liveness repair silently becomes a Byzantine equivocation channel, and the fault-tolerance threshold `f < n/3` is computed against a member count that no longer reflects the number of independent reasoners. ## What Was Observed A five-agent decision quorum (threshold `2f+1 = 4` of 5, tolerating `f = 1` Byzantine) was evaluating a tool-invocation proposal. Agent `auditor-3` crashed mid-round after emitting a `PREPARE` vote of `approve` to two peers but before broadcasting to the collector. The orchestrator, following its standard liveness policy, respawned `auditor-3` from the last checkpoint. The checkpoint predated the vote—agent memory is episodic and the vote was never persisted because the crash occurred between the reasoning step and the tool-call that would have logged it. The respawned `auditor-3` re-reasoned from the checkpoint with a fresh context window. Its sampling temperature was non-zero; the second reasoning trace diverged at the second tool call and concluded `reject`. It broadcast `reject` to the collector. The collector now held: two `approve` votes attributed to `auditor-3` (received from peers that had relayed them) and one `reject` vote attributed to `auditor-3` (received directly). Because the collector keyed votes by role label, it treated the second `auditor-3` message as a *duplicate* and applied last-write-wins, overwriting `approve` with `reject`. The quorum then assembled `{auditor-1: approve, auditor-2: approve, auditor-4: approve, auditor-3: reject}` — four votes, threshold met, decision `approve` by count. But the *content* of auditor-3's contribution was now a coin flip determined by respawn timing, not by reasoning. The failure trace: 1. `auditor-3` reasons → `approve` → sends to `auditor-1`, `auditor-2` → **crash before collector broadcast**. 2. Orchestrator detects timeout → respawns from checkpoint `t-1`. 3. Respawned `auditor-3` reasons independently → `reject` → sends to collector. 4. Collector dedupes by role label → overwrites → quorum counts one `auditor-3` vote, content = `reject`. 5. Decision proceeds with a quorum whose fourth vote was manufactured by a race, not a reasoner. The critical observation: **no agent behaved adversarially, yet the quorum exhibited equivocation.** The equivocation was *structural*, produced by the interaction of non-deterministic reasoning, soft identity, and checkpoint-based recovery. An actual Byzantine agent could exploit the same channel deliberately: emit one vote, force a crash (or wait for one), and let the respawn produce a contradictory vote that the collector will accept as authoritative. ## Condition of Validity The invariant that must hold for the quorum's fault-tolerance bound to be meaningful is: > **For every decision round `r` and every logical identity `i`, at most one vote from `i` is counted, and that vote is bound to a specific reasoning instance via an unforgeable, epoch-scoped token that a respawned instance cannot re-derive.** This fails whenever any of the following hold, and the failure is *silent* (the quorum still reaches threshold, it just reaches it on corrupted inputs): - **Identity is a role label, not a key.** If `auditor-3` is a string, a respawned process can claim it. - **Votes are not persisted before broadcast.** If the vote lives only in the agent's context window, a crash erases it and the respawn re-reasons from scratch. - **Recovery is checkpoint-based without vote-log replay.** If the checkpoint predates the vote, the respawned instance has no record it already voted. - **Reasoning is non-deterministic.** Even with identical checkpoint state, temperature > 0 or any external tool call with a time-varying result produces a different conclusion. - **The collector dedupes by identity rather than by (identity, epoch, vote-hash).** Last-write-wins is the equivocation amplifier. The condition of validity is therefore: *quorum safety holds only if vote persistence is causally prior to vote broadcast, and identity is cryptographically bound to the reasoning instance such that a respawn constitutes a new epoch that invalidates the old vote rather than overwriting it.* ## Decision Boundary The operational decision is: **when a quorum member crashes and is respawned mid-round, does the round continue with the respawned member, or is the round aborted and re-run with a fresh epoch?** The boundary is drawn by whether the crashed member's vote was *durably committed before broadcast*: - If the vote was written to a durable, append-only vote log **before** the network send, and the log entry carries `(identity, epoch, round, vote_hash, signature)`, then a respawn can replay the log, discover it already voted, and either re-broadcast the *same* vote or abstain. The round continues. Equivocation is impossible because the vote is fixed. - If the vote was **not** durably committed before broadcast (the common case for LLM agents, where the "vote" is the output of a reasoning chain that is itself the thing being checkpointed), then a respawn is a **new reasoner** and must be treated as a new epoch. The old vote, if any peer holds it, must be discarded; the round must restart with the new epoch, and the quorum threshold must be recomputed against the *new* membership. The non-obvious part of the boundary: **you cannot have both liveness and safety here by "just retrying."** A naive retry policy treats the respawn as the same member and lets the collector overwrite—this is the failure above. A naive abort policy treats every crash as a round failure, which under adversarial crash injection (an attacker who can kill agents) becomes a denial-of-service that prevents any decision from ever committing. The correct boundary is to make vote persistence a *precondition* of broadcast, so that the crash-without-persist case is impossible by construction, and respawns are always safe replays. ## Operational Effect The downstream effect of getting this wrong is that the quorum's stated fault tolerance is a fiction. A `2f+1`-of-`3f+1` quorum that dedupes by role label and respawns from checkpoints has an *effective* fault tolerance of zero against a crash-injection adversary: the adversary need not forge a single signature, only induce one crash per round and let the respawn's non-determinism supply the contradictory vote. The quorum will commit decisions that no majority of independent reasoners endorsed, and—critically—it will do so while all liveness and threshold metrics read green. The corruption is invisible to the metrics because the metrics count votes, not *independent* votes. The guardrail is a **vote-before-broadcast invariant with epoch-scoped identity**: the agent must durably append its vote (with a content hash and an epoch nonce derived from its instance identity) to a write-ahead log and fsync before the tool call that transmits it; the collector must reject any vote whose `(identity, epoch)` pair does not match the current round's membership manifest; and a respawn must increment the epoch, which invalidates any prior-epoch vote held by peers. Under this invariant, a crash mid-round causes the respawned agent to either replay its committed vote (safe) or to be excluded as a new epoch (safe), and equivocation requires forging the epoch nonce—which is the actual Byzantine assumption the threshold was computed against. ```python import hashlib import hmac import time from dataclasses import dataclass, field class QuorumEquivocationError(RuntimeError): """Raised when a vote would cause a logical identity to equivocate within a round.""" pass class StaleEpochError(RuntimeError): """Raised when a vote arrives carrying an epoch older than the round's current epoch.""" pass @dataclass class Vote: identity: str epoch: int round_id: str decision: str vote_hash: str signature: str @dataclass class VoteLog: """Append-only, fsync'd before broadcast. The precondition of quorum safety.""" entries: list = field(default_factory=list) def commit(self, vote: Vote) -> None: # In production: open with O_APPEND, write, os.fsync before returning. self.entries.append(vote) def lookup(self, identity: str, round_id: str) -> Vote | None: for v in reversed(self.entries): if v.identity == identity and v.round_id == round_id: return v return None class QuorumCollector: def __init__(self, secret: bytes, threshold: int): self._secret = secret self._threshold = threshold self._votes: dict[tuple[str, str], Vote] = {} self._current_epoch: dict[str, int] = {} def _sign(self, identity: str, epoch: int, round_id: str, decision: str) -> str: msg = f"{identity}|{epoch}|{round_id}|{decision}".encode() return hmac.new(self._secret, msg, hashlib.sha256).hexdigest() def admit(self, vote: Vote) -> None: expected = self._sign(vote.identity, vote.epoch, vote.round_id, vote.decision) if not hmac.compare_digest(expected, vote.signature): raise QuorumEquivocationError( f"forged signature for {vote.identity} epoch {vote.epoch}" ) key = (vote.identity, vote.round_id) prior = self._votes.get(key) if prior is not None: # Same identity, same round: this is the equivocation boundary. if prior.vote_hash != vote.vote_hash: raise QuorumEquivocationError( f"{vote.identity} equivocated in round {vote.round_id}: " f"{prior.decision!r} (epoch {prior.epoch}) vs " f"{vote.decision!r} (epoch {vote.epoch}); " f"respawn must be a new epoch, not an overwrite" ) # Identical replay from a committed log: safe, idempotent. return current = self._current_epoch.get(vote.identity, 0) if vote.epoch < current: raise StaleEpochError( f"{vote.identity} vote epoch {vote.epoch} < current {current}; " f"round must restart under new epoch" ) self._current_epoch[vote.identity] = vote.epoch self._votes[key] = vote def respawn(self, identity: str) -> int: """A crash-and-respawn MUST bump the epoch; prior votes become stale.""" new_epoch = self._current_epoch.get(identity, 0) + 1 self._current_epoch[identity] = new_epoch return new_epoch def quorum_reached(self, round_id: str) -> bool: return sum(1 for (i, r) in self._votes if r == round_id) >= self._threshold def cast_vote_after_respawn( collector: QuorumCollector, log: VoteLog, identity: str, round_id: str, decision: str, ) -> Vote: # The invariant: check the durable log BEFORE reasoning again. prior = log.lookup(identity, round_id) if prior is not None: # Replay the committed vote; do not re-reason. return prior # No prior vote: this is a genuine new epoch. Bump and sign. epoch = collector.respawn(identity) vote_hash = hashlib.sha256(f"{identity}|{epoch}|{round_id}|{decision}".encode()).hexdigest() vote = Vote( identity=identity, epoch=epoch, round_id=round_id, decision=decision, vote_hash=vote_hash, signature=collector._sign(identity, epoch, round_id, decision), ) # Persist BEFORE broadcast. If we crash here, the log is the source of truth. log.commit(vote) return vote def demonstrate_equivocation_is_blocked() -> None: secret = b"quorum-secret" collector = QuorumCollector(secret, threshold=4) log = VoteLog() # auditor-3 reasons, commits approve, then "crashes" before broadcast. v1 = cast_vote_after_respawn(collector, log, "auditor-3", "round-7", "approve") collector.admit(v1) # Respawn: log replay must return the committed vote, not a fresh reason. v2 = cast_vote_after_respawn(collector, log, "auditor-3", "round-7", "reject") assert v2.vote_hash == v1.vote_hash, "respawn must replay, not re-reason" collector.admit(v2) # idempotent, no equivocation # Now simulate the buggy path: a respawn that ignores the log. forged_epoch = collector.respawn("auditor-3") bad = Vote( identity="auditor-3", epoch=forged_epoch, round_id="round-7", decision="reject", vote_hash="deadbeef", signature=collector._sign("auditor-3", forged_epoch, "round-7", "reject"), ) try: collector.admit(bad) except QuorumEquivocationError as e: print(f"BLOCKED: {e}") return raise QuorumEquivocationError("collector accepted an equivocating vote; invariant broken") if __name__ == "__main__": demonstrate_equivocation_is_blocked() ```