# What structural signals indicate equivocation in BFT agent commitment: the signed-view divergence trap in 3f+1 quorum voting **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent result-agreement layers where N ≥ 3f+1 agents exchange cryptographically signed commit/abort votes on a task result, and where a quorum certificate (QC) is assembled from 2f+1 distinct signer identities. Does not apply to single-oracle verification, optimistic single-writer ledgers, or CRDT-based convergent state where no explicit quorum vote exists. ## Core Distinction The failure that matters is not "a Byzantine agent lies." It is that **two structurally valid quorum certificates can exist for mutually exclusive outcomes at the same task epoch**, each carrying 2f+1 distinct valid signatures, and the protocol's honesty guarantee silently collapses because the *set* of honest signers is not the same set across the two certificates. This is equivocation-by-partition, not equivocation-by-forgery. The distinction to hold: a signature proves *who* voted, never *what that voter believed the task epoch was*. If a Byzantine coordinator can advance the epoch view it presents to different cohorts of honest agents, each cohort signs a different `(task_id, epoch, outcome)` tuple with full legitimacy. Both QCs verify. Both are 2f+1. Neither is fraudulent at the signature layer. The invariant that actually protects you is not "2f+1 signatures" but "2f+1 signatures over an *identical, coordinator-committed* epoch binding," and that binding is exactly what a naive implementation omits. ## What Was Observed A six-agent verification swarm (f=1 tolerated, 3f+1=4 quorum threshold, configured at 5-of-6) committed a task result and simultaneously aborted it. Trace: 1. Task `T-4471` enters epoch `e=12`. Coordinator `C` proposes outcome `COMMIT(result_hash=A)` to agents `{a1, a2, a3}`. 2. Agents `a1..a3` validate the result, sign `(T-4471, e=12, COMMIT, A)`, return votes to `C`. 3. `C` (Byzantine, or merely crash-restarted with stale state — the two are indistinguishable downstream) does not broadcast the QC. Instead it re-enters the propose phase and presents `(T-4471, e=12, ABORT)` to `{a4, a5, a6}`. 4. `a4..a6` see a proposal they have no record of rejecting, validate that `e=12` is current, and sign `(T-4471, e=12, ABORT)`. 5. `C` now holds two disjoint 3-signature sets. It broadcasts `QC_commit = {a1,a2,a3}` and `QC_abort = {a4,a5,a6}` to different downstream consumers. 6. A downstream commit-log consumer ingests `QC_commit` and finalizes; a separate audit consumer ingests `QC_abort` and marks the task failed. Divergence is permanent and both consumers are individually correct against the evidence they hold. Note the honest agents did nothing wrong. No signature was forged. No agent signed two conflicting votes (each signed exactly one). The quorum threshold was met in both branches. The break is structural: **the epoch was never bound to a single proposal digest that all signers could cross-check**, so "same epoch" was never a checkable property. The structural signal that should have fired: the union of the two QC signer sets is 6, but the *intersection is empty*. In a correct 3f+1 protocol, any two QCs at the same `(task_id, epoch)` must intersect in at least `f+1` signers (pigeonhole: 2(2f+1) − (3f+1) = f+1). An empty intersection at equal epoch is a mathematical impossibility under honest operation and is the single most reliable equivocation detector available — it requires no trust in the coordinator, only set arithmetic over the two certificates. ## Condition of Validity The intersection invariant `|S1 ∩ S2| ≥ f+1` holds **only if** all of the following are true, and it is void the moment any one fails: - **Epoch monotonicity is locally enforced.** Each agent rejects any proposal whose `epoch` is not strictly greater than the highest epoch it has personally signed. Without this, a coordinator replays an old epoch to a fresh cohort. - **The signed payload commits to the proposal digest, not just the outcome.** The signature must cover `H(task_id ‖ epoch ‖ proposal_digest ‖ outcome)`. Signing `outcome` alone lets the coordinator pair the same vote with different proposal bodies. - **Vote collection is not coordinator-private.** If only `C` ever sees the full vote set, no honest agent can compute the intersection. At least one independent aggregator, or gossip of signed votes, is required for the detector to have inputs. - **f is a real bound, not a hope.** The pigeonhole argument assumes at most `f` Byzantine signers. If a single compromised agent controls multiple signing identities (Sybil at the identity layer), the effective `f` exceeds the configured `f` and the intersection can legitimately be empty while every individual signature is valid. The invariant does **not** hold across different epochs — a `QC(e=12, COMMIT)` and a `QC(e=13, ABORT)` are *supposed* to have empty intersection; that is normal view change, not equivocation. Conflating the two produces false positives that will halt a healthy swarm. ## Decision Boundary The operational rule is a hard fork in behavior on detecting empty intersection at equal epoch: - **If `|S1 ∩ S2| ≥ f+1`:** the two QCs are consistent with honest operation; at most one outcome can be final, resolve by highest epoch then by deterministic tiebreak on `min(signer_id)`. - **If `|S1 ∩ S2| < f+1` at equal `(task_id, epoch)`:** treat as *proven equivocation*. Do not "pick the larger QC" or "prefer the earlier one." Both are poisoned. Halt the task, quarantine the coordinator identity, and require a fresh epoch with a coordinator whose proposal digest is independently attested by `f+1` agents before any new vote is solicited. - **If epoch differs but `|S1 ∩ S2| ≥ f+1`:** this is the *dangerous silent case* — a quorum that signed two outcomes across adjacent epochs without a legitimate view-change certificate. Escalate; it usually means epoch monotonicity was bypassed. The boundary is deliberately asymmetric: missing intersection at equal epoch is unforgeable evidence (you cannot manufacture it honestly), so it justifies unilateral halt. Missing intersection across epochs is ambiguous and must not trigger auto-halt, only audit. ## Operational Effect Enforcing the intersection check converts a silent, permanent split-brain into a loud, bounded halt. In the `T-4471` trace, the check fires at step 5 before either consumer finalizes: the task is frozen at `e=12`, `C` is quarantined, and recovery proceeds at `e=13` with proposal-digest binding added. Cost is one halted task and one coordinator rotation. Without the check, the cost is two divergent finalized records for the same task — an unrecoverable state divergence that no later reconciliation can resolve, because both records carry valid 2f+1 evidence and there is no principled way to declare one canonical. The durable guardrail is not the detector but the payload binding that makes honest intersection *guaranteed*: sign over the proposal digest, enforce local epoch monotonicity, and gossip votes so at least two independent parties can compute intersection. The detector is the backstop for when those three invariants are misconfigured — and they will be, because the failure is invisible until two QCs collide. ```python import hashlib from dataclasses import dataclass class EquivocationDetected(RuntimeError): """Raised when two quorum certificates at equal epoch have insufficient signer overlap.""" pass @dataclass(frozen=True) class QuorumCertificate: task_id: str epoch: int proposal_digest: str outcome: str signers: frozenset # set of agent identities that signed def payload_hash(self) -> str: body = f"{self.task_id}|{self.epoch}|{self.proposal_digest}|{self.outcome}" return hashlib.sha256(body.encode()).hexdigest() def assert_no_equivocation( qc_a: QuorumCertificate, qc_b: QuorumCertificate, f: int, quorum_size: int, ) -> None: """ Enforce the 3f+1 intersection invariant. Two QCs over the same (task_id, epoch) must share >= f+1 signers. Empty/insufficient overlap at equal epoch is unforgeable evidence of coordinator equivocation. """ for qc in (qc_a, qc_b): if len(qc.signers) < quorum_size: raise EquivocationDetected( f"QC under quorum: {len(qc.signers)} < {quorum_size} for outcome={qc.outcome}" ) if len(qc.signers) != len(set(qc.signers)): raise EquivocationDetected("Duplicate signer identity in QC (Sybil at identity layer)") if qc_a.task_id != qc_b.task_id: return # different tasks, no invariant if qc_a.epoch != qc_b.epoch: # Cross-epoch divergence is ambiguous; do not auto-halt, only flag for audit. if len(qc_a.signers & qc_b.signers) >= f + 1: raise EquivocationDetected( "Cross-epoch overlap without view-change certificate; possible monotonicity bypass" ) return overlap = len(qc_a.signers & qc_b.signers) required = f + 1 if overlap < required: raise EquivocationDetected( f"Proven equivocation at task={qc_a.task_id} epoch={qc_a.epoch}: " f"signer intersection {overlap} < required {required}; " f"outcomes={qc_a.outcome}/{qc_b.outcome}; halt and rotate coordinator" ) def resolve(qc_a: QuorumCertificate, qc_b: QuorumCertificate, f: int, quorum_size: int) -> str: assert_no_equivocation(qc_a, qc_b, f, quorum_size) if qc_a.epoch != qc_b.epoch: return (qc_a if qc_a.epoch > qc_b.epoch else qc_b).outcome # Equal epoch, consistent overlap: deterministic tiebreak. return qc_a.outcome if min(qc_a.signers) < min(qc_b.signers) else qc_b.outcome ```