# When must an instance distrust a Byzantine quorum it has already counted: equivocation-tolerant commitment with f+1 witness replay **Date of Record:** 2026 November 23 **Scope:** Applies to multi-agent commitment protocols where N agents reach agreement on a shared task ledger under up to f Byzantine (equivocating or selectively-silent) participants, and where an individual instance must decide at what point a collected quorum is safe to commit. Does not apply to single-agent retry logic, crash-fault-only models (where silence is permanent and detectable), or leaderless gossip systems without signed per-view votes. ## Core Distinction The critical distinction is between **quorum size** and **quorum witness diversity across views**. A standard BFT commitment rule says: commit when you have collected `2f+1` matching signed votes for a proposal in a single view. This is sound *for the proposer* who observes all votes directly. It is **not** sound for an arbitrary instance that reconstructs a quorum from cached, forwarded, or replayed votes, because a Byzantine agent can manufacture the *appearance* of a `2f+1` quorum by equivocating — sending vote `V(A)` to instance X and vote `V(B)` to instance Y in the same view number, then forwarding each recipient the other's vote as if it were a witness. The recipient sees `2f+1` signatures on a single proposal and commits. Two instances commit to conflicting proposals in the same view. The invariant that fails is not "signatures are valid" (they are) but "the quorum I counted was counted by agents who could not have counted a conflicting quorum." ## What Was Observed A six-agent planning swarm (`N=6`, tolerating `f=1`) executed a shared task-commitment ledger. Agent `P` (proposer) broadcast a task-allocation proposal `π_A` to all peers. Agent `B` (Byzantine, a compromised planner) received `π_A`, signed `vote(π_A, view=7)`, and forwarded it to agents `X` and `Y`. Concurrently, `B` fabricated a divergent proposal `π_B` (a subtly different allocation: same task IDs, different assignee for one subtask) and signed `vote(π_B, view=7)`, forwarding it to `X` and `Y` as well. `B` then sent `X` a bundle `{vote_X_own(π_A), vote_B(π_A), vote_Y(π_A)}` and sent `Y` a bundle `{vote_Y_own(π_B), vote_B(π_B), vote_X(π_B)}`. Each of `X` and `Y` independently observed `3 = 2f+1` valid signatures on a single proposal in view 7 and committed. `X` committed to `π_A`; `Y` committed to `π_B`. The ledger forked. On the next round, `X` and `Y` each proposed follow-on tasks premised on their committed allocation, and the divergence compounded: `X` dispatched subtask 4 to agent `D`, `Y` dispatched it to agent `E`, both citing a "committed" quorum. The conflict was only detected 40 seconds later when `D` and `E` both attempted to claim the same upstream artifact lock. The failure was not a signature forgery. Every signature verified. The failure was that `X` and `Y` each treated *forwarded* votes as if they were *directly observed* votes, collapsing the distinction between "I saw f+1 distinct agents assert this" and "someone told me f+1 distinct agents asserted this." ## Condition of Validity The standard `2f+1`-in-a-single-view rule is valid **only under the direct-observation assumption**: the committing instance personally received each of the `2f+1` votes over an authenticated channel from the signing agent, in the same view, with no relaying. Under that assumption, two conflicting `2f+1` quorums would require `2(2f+1) - N = f+1` agents to have double-voted in one view, which exceeds the `f` Byzantine budget — a contradiction, hence safety. The moment votes are **relayed, cached, or replayed**, the direct-observation assumption is void. A Byzantine relay can present `f+1` genuine signatures to two different recipients on two different proposals, and each recipient's local count reaches `2f+1` because the recipient's *own* vote is included in both bundles (the recipient voted once, but the relay reuses that single vote as a witness in both conflicting bundles). The safety proof collapses because the "distinct agents" counted by `X` and by `Y` are not the same set. The bounding invariant is: **an instance may only count a vote toward a commitment quorum if that vote was received directly from its signer, in the current view, and the instance can prove (via a per-view nonce exchange) that the signer did not also sign a conflicting proposal in that view.** Equivalently: quorum counting must be over *directly observed, nonce-bound* votes, never over relayed bundles. Relayed votes may be used only as *evidence of liveness*, never as *evidence of commitment safety*. ## Decision Boundary The boundary is sharp and must be encoded as a hard gate, not a heuristic: - **Commit** to a proposal `π` in view `v` iff the instance holds `2f+1` votes for `π` in view `v`, **each received directly from its signer**, **each bound to a per-view nonce the instance itself issued**, and **each accompanied by a signer-attested `view_lock` proving the signer has not signed any conflicting proposal in `v`**. - **Do not commit** on any quorum assembled from relayed, forwarded, or replayed votes, regardless of signature count. Such a quorum is *liveness evidence only*: it justifies entering a *reconciliation round* (broadcast a `challenge(π, v)` asking each claimed signer to re-attest directly), not committing. - **Escalate to reconciliation** when a relayed bundle's claimed quorum exceeds `f+1` distinct signers the instance has not directly heard from in the current view. The reconciliation round must collect direct re-attestations from a strict majority of the claimed signers; if any claimed signer re-attests to a *different* proposal in the same view, that signer is provably Byzantine (it equivocated) and is evicted, and the view is re-run. The non-obvious edge: an instance that has *already* counted a relayed vote into a tentative quorum must be able to *retract* it without violating monotonicity. The guardrail is that tentative (relayed) counts are held in a separate, revocable accumulator; only direct, nonce-bound votes are monotonic. Committing is a transition from revocable to monotonic, and it can only fire on the monotonic accumulator. ## Operational Effect After the fork was detected, the swarm's ledger required a manual reconciliation: `X` and `Y` replayed their committed views, discovered the divergent `π_B`, and the shared ledger was rolled back to the last view with a monotonic quorum (view 6). The rollback cost was 40 seconds of duplicated dispatch and one artifact-lock collision. With the nonce-bound direct-observation gate in place, the same equivocation attempt by `B` fails at the relay step: `X` receives `B`'s relayed bundle, sees that the claimed signers `B` and `Y` have not issued `X` a per-view nonce attestation, refuses to count them, and instead enters a reconciliation round that directly queries `Y`. `Y` re-attests to `π_B`; `X` re-attests to `π_A`; `B` is caught having signed both and is evicted. The fork is prevented at the cost of one extra round-trip per relayed bundle — a bounded, predictable latency increase, not a correctness failure. The invariant to record: **a quorum is only as trustworthy as the channel diversity of its witnesses; count signatures you received, never signatures you were told about.** ```python class EquivocatedQuorumError(RuntimeError): """Raised when a commitment quorum is assembled from relayed votes that cannot be proven to be non-equivocating in the current view.""" pass class Vote: def __init__(self, signer, proposal_id, view, nonce, direct): self.signer = signer self.proposal_id = proposal_id self.view = view self.nonce = nonce self.direct = direct # True if received directly from signer def commit_quorum(votes, proposal_id, view, f, issued_nonces, n): """Commit only on 2f+1 DIRECT, nonce-bound votes for one proposal in one view. Relayed votes are revocable evidence and may not enter the monotonic quorum.""" monotonic = [ v for v in votes if v.direct and v.proposal_id == proposal_id and v.view == view and v.nonce in issued_nonces ] distinct_signers = {v.signer for v in monotonic} if len(distinct_signers) < 2 * f + 1: relayed = [ v for v in votes if not v.direct and v.proposal_id == proposal_id and v.view == view ] if len({v.signer for v in relayed}) > f + 1: # A relayed bundle claims a quorum we did not directly observe. # This is the equivocation attack surface. Refuse to commit. raise EquivocatedQuorumError( f"view {view}: relayed bundle claims " f"{len({v.signer for v in relayed})} signers for {proposal_id}, " f"but only {len(distinct_signers)} direct nonce-bound votes held; " f"enter reconciliation, do not commit" ) # Insufficient even with relays: liveness stall, not a safety breach. raise EquivocatedQuorumError( f"view {view}: only {len(distinct_signers)} direct votes for " f"{proposal_id}, need {2 * f + 1}" ) # Safety check: no direct signer may appear on a conflicting proposal in this view. for v in monotonic: conflicting = [ w for w in votes if w.signer == v.signer and w.view == view and w.proposal_id != proposal_id ] if conflicting: raise EquivocatedQuorumError( f"signer {v.signer} equivocated in view {view}: " f"signed {proposal_id} and {conflicting[0].proposal_id}; evict and re-run view" ) return True ```