# When must an instance distrust a quorum certificate it helped sign: equivocation-induced fork persistence in BFT agent consensus **Date of Record:** 2026 November 30 **Scope:** Applies to multi-agent task orchestration where N ≥ 3f+1 LLM agent instances reach shared-state consensus (task ownership, checkpoint commits, resource locks) via BFT quorum certificates, and where each instance's vote is produced by a probabilistic reasoner over a shared, partially-replicated context. Does not apply to single-leader crash-fault-tolerant replication, nor to systems where votes are deterministic functions of a verifiable input (e.g., hash commitments), where equivocation is cryptographically detectable at cast time. ## Core Distinction The standard BFT safety proof assumes a faulty replica's equivocation is *detectable* — two conflicting signed messages from the same replica constitute attributable evidence, and honest replicas that observe both will refuse to certify either. This holds only when the message is a deterministic, signable artifact. In LLM-agent consensus, the "vote" is a *reasoning trace plus a signed digest of its conclusion*. The digest is deterministic and signable; the reasoning that produced it is not. A single agent instance, given a slightly different context prefix (a reordered retrieval, a different temperature seed, a stale memory fragment), will legitimately produce two different conclusions and sign two different digests — one for a task-ownership claim A, one for claim B — within the same view. This is not malice; it is sampling variance across a non-deterministic reasoner. The instance is *not* Byzantine in the classical sense, yet it emits exactly the equivocating message pattern that the quorum certificate machinery is designed to punish. The distinction that matters operationally: **classical equivocation is a fault of intent, detectable by message comparison; agent equivocation is a fault of sampling, detectable only by replaying the reasoning context.** A quorum certificate that includes both digests from the equivocating instance is internally consistent — every signature verifies — yet it certifies two mutually exclusive state transitions. The certificate is valid and the state is forked. No signature check catches this. ## What Was Observed A 7-instance orchestration cluster (f = 2 tolerance) committing task-ownership checkpoints. During a routine view change triggered by a leader timeout, three instances (I2, I4, I6) each independently emitted two PREPARE messages within the same view number: one for checkpoint C_A (owner: agent-7) and one for C_B (owner: agent-3). The trigger was mundane — the leader's task-description broadcast arrived with a 40ms jitter to these three instances relative to the others, so their retrieval step pulled a *slightly different* slice of the shared episodic memory (the ownership-history entries were near a retrieval-score tie), and their conclusions diverged. The quorum math: 7 instances, each contributing one PREPARE. The aggregator counted PREPAREs by *signature*, not by *signer*, and 5 signatures existed for C_A (I1, I2, I3, I4, I5) and 5 for C_B (I2, I3, I4, I6, I7). Both reached the 2f+1 = 5 threshold. Both certificates were emitted. Both were cryptographically valid. The aggregator had no notion of "one vote per signer per view" — it had a set of valid signatures and a threshold. The fork persisted across the view change because the view-change NEW-VIEW message carried *both* certificates as justification (each was individually valid), and honest replicas accepted the higher-view certificate without re-examining whether the same signer appeared on both sides. The fork was not detected until a downstream reconciliation job noticed agent-7 and agent-3 both held the same lock and both had committed conflicting checkpoints — 11 minutes and 340 task steps later. Replay of the reasoning context confirmed I2, I4, I6 had each produced both conclusions honestly; none had seen the other's message before signing. ## Condition of Validity The invariant that failed is **signer-uniqueness within a view**, not signature-validity. The correct guardrail is: > A quorum certificate for view v and decision d is valid iff (a) it contains ≥ 2f+1 valid signatures, AND (b) the set of distinct signers is ≥ 2f+1, AND (c) no signer appears in a valid certificate for a conflicting decision d' in the same view v that has been *observed by this instance*. Condition (c) is the non-obvious one. It cannot be enforced globally at cast time — the equivocating instance genuinely does not know it is equivocating, because it has not seen its own other message. It can only be enforced at *aggregation and view-change time*, by an aggregator that indexes votes by (signer, view) and refuses to count a second vote from the same signer in the same view toward a *different* decision. This is the standard "one vote per replica per view" rule from PBFT, which the agent system had dropped on the assumption that "signatures are unforgeable, so double-signing is Byzantine and we tolerate f of those." The assumption is wrong for probabilistic reasoners: double-signing is *expected* at rate p_sample, not bounded by f, and p_sample scales with retrieval-score ties and context jitter. The condition of validity for the *system* (not the certificate) is therefore: honest-instance equivocation rate × instances-per-quorum < 1, i.e., the expected number of equivocating signers per quorum must be < 1, or the aggregator must deduplicate by signer. With 3 of 7 instances equivocating, the expected equivocators per 5-signer quorum was 2.1 — far above 1 — and the fork was near-certain, not a tail event. ## Decision Boundary An instance must distrust a quorum certificate it helped sign — and must refuse to include it in a NEW-VIEW justification — when **all** of the following hold: 1. The certificate's signer set has cardinality ≥ 2f+1 but the *distinct-signer* count is < 2f+1 (duplicate signer detected at aggregation). 2. OR the instance's own local vote log shows it signed a digest for a conflicting decision in the same view (self-equivocation detected on replay). 3. OR the certificate's justification chain includes a signer that also appears in a conflicting certificate at the same or lower view (cross-certificate signer overlap). The boundary is *not* "the certificate fails signature verification" — it won't. The boundary is "the certificate's signer multiplicity or cross-view overlap violates the one-vote-per-signer-per-view invariant." Below the boundary (distinct signers ≥ 2f+1, no overlap), accept. Above it, the instance must treat the certificate as *unjustified* and escalate to a view change with the conflict as evidence, even though the certificate is cryptographically sound. The cost of a false positive here is a spurious view change (recoverable, ~200ms). The cost of a false negative is a persistent state fork that survives view changes and requires downstream reconciliation (observed: 11 minutes, 340 steps, two agents holding the same lock). ## Operational Effect The practical consequence is that agent consensus systems must carry a **signer-indexed vote ledger** independent of the signature aggregator, and must run a **self-equivocation check on every view change**: replay the instance's own signed votes for the current view, and if two conflicting digests exist, mark the instance as equivocating and exclude *both* its votes from any certificate it participates in until the next view. This is not a Byzantine-fault-tolerance feature; it is a sampling-variance feature. The classical BFT literature calls this "detecting a faulty replica"; the agent system must call it "detecting a non-deterministic replica that happened to sample twice," and the remedy is deduplication, not exclusion-for-f. The deeper invariant: **quorum certificates certify signer-consensus, not reasoning-consensus.** A certificate with 5 valid signatures from 5 distinct signers certifies that 5 instances *concluded* d. It does not certify that 5 instances *would conclude d again* under the same context. For probabilistic reasoners, the gap between "concluded" and "would re-conclude" is the equivocation surface, and it must be bounded by deduplication and replay-checking, not assumed away by the unforgeability of signatures. ```python class EquivocationForkError(RuntimeError): """Raised when a quorum certificate is cryptographically valid but violates the one-vote-per-signer-per-view invariant, indicating a persistent state fork that survived aggregation.""" pass def validate_quorum_certificate( certificate: dict, view: int, decision: str, f: int, local_vote_log: dict, ) -> None: """ certificate: {"view": int, "decision": str, "signatures": [(signer_id, digest), ...]} local_vote_log: {view: [(decision, digest), ...]} for THIS instance's own votes Raises EquivocationForkError if the certificate cannot be trusted. """ threshold = 2 * f + 1 sigs = certificate.get("signatures", []) signers = [s for s, _ in sigs] distinct_signers = set(signers) # Guard 1: signature count vs distinct-signer count. if len(distinct_signers) < threshold: raise EquivocationForkError( f"Certificate for view {view} decision {decision!r} has " f"{len(sigs)} signatures but only {len(distinct_signers)} distinct " f"signers (need {threshold}); duplicate signers indicate " f"probabilistic equivocation, not Byzantine forgery." ) # Guard 2: self-equivocation — did this instance sign a conflicting # decision in the same view? If so, it must distrust any certificate # that includes its own vote, because it cannot vouch for its own # sampling determinism. own_votes = local_vote_log.get(view, []) conflicting_own = [d for d, _ in own_votes if d != decision] if conflicting_own and any(s == "self" for s in signers): raise EquivocationForkError( f"Self-equivocation detected at view {view}: instance signed " f"{decision!r} but also {conflicting_own!r} in the same view. " f"Certificate cannot be used as NEW-VIEW justification." ) # Guard 3: cross-certificate signer overlap with a conflicting decision. # (Caller supplies conflicting certificates via a shared ledger; here we # check the local log for any signer that already appears on a conflict.) for other_view, votes in local_vote_log.items(): if other_view != view: continue for other_decision, _ in votes: if other_decision != decision: overlap = distinct_signers.intersection( {s for s, _ in certificate.get("signatures", [])} ) if overlap: raise EquivocationForkError( f"Signer overlap {overlap} between certificate for " f"{decision!r} and conflicting decision " f"{other_decision!r} at view {view}." ) # Certificate is trustworthy: distinct signers >= threshold, no # self-equivocation, no cross-certificate overlap. return None ```