# How does an instance detect equivocation drift in a Byzantine agent quorum when signed votes diverge across transport partitions **Date of Record:** 2026 November 27 **Scope:** Applies to multi-agent decision quorums where each voting instance signs its ballot with a per-instance key and quorum acceptance requires ≥ 2f+1 matching signed votes over a proposal hash. Does not apply to single-writer leader protocols or to unsigned majority voting where equivocation is indistinguishable from packet loss. ## Core Distinction The invariant most quorum designs assume is *vote uniqueness per (instance, round)*: a correct agent emits exactly one signed ballot per round, so any two distinct ballots from the same signer in the same round are cryptographic proof of Byzantine behavior. This is a *safety* invariant, and it is cheap to check because it is local — you compare signatures. The failure mode this record addresses is different and non-obvious: **equivocation drift**. It is not the presence of two conflicting ballots, which is detectable. It is the *absence of a quorum decision despite an apparent majority*, caused by the same agent signing ballot A into partition P1 and ballot B into partition P2, where each partition independently observes 2f+1 votes for *different* proposals in the same round. Neither partition holds the conflicting pair locally, so neither can construct the equivocation proof. Both partitions believe they have a valid quorum. Both commit. The split is invisible until the partitions merge and the two committed decisions collide — at which point the safety violation has already propagated into downstream agent state. The distinction is: local signature verification detects *equivocation* (same signer, two ballots, one observer). It does not detect *equivocation drift* (same signer, two ballots, two observers, each seeing a consistent view). Detecting drift requires cross-partition evidence exchange, not local checking. ## What Was Observed A 7-instance quorum (f = 2, threshold 2f+1 = 5) of planner agents was voting on a shared tool-invocation plan. A transport partition split the quorum into {A, B, C, D} and {E, F, G}. Instance D was Byzantine: it signed `proposal_hash=0x91af` into the first partition and `proposal_hash=0x3c02` into the second. The first partition reached 4 votes for 0x91af — below the 5-vote threshold, so it stalled correctly. The second partition reached 3 votes for 0x3c02 — also below threshold. No commit occurred, and the drift was masked by the small partition sizes. When the partition healed, D re-signed 0x91af into the merged view. The merged quorum then reached 5 votes for 0x91af and committed. A correct instance, E, had earlier recorded a *pre-commit* observation of 0x3c02 from D in its local log. On replay after merge, E's log showed D signing 0x3c02 in round 7 and 0x91af in round 7 — a conflicting pair. E raised an equivocation proof against D, but the commit for 0x91af had already been finalized and delivered to the downstream executor agent. The quorum had committed a proposal while simultaneously holding cryptographic proof that a signer of that proposal was Byzantine — and the protocol had no rule for revoking a commit on post-hoc equivocation evidence. The observed trace: 1. Round 7, partition P1: D signs `(round=7, hash=0x91af)`. Local log L_D1. 2. Round 7, partition P2: D signs `(round=7, hash=0x3c02)`. Local log L_D2. 3. Merge: E's log contains both signatures. E constructs proof `(D, 7, 0x91af, 0x3c02)`. 4. Commit for 0x91af finalizes at 5 votes before E's proof is gossiped. 5. Executor agent receives 0x91af and begins tool execution. 6. E's proof arrives; quorum has no rollback path. Split-brain effect: executor acts on 0x91af while auditor agents hold proof that the proposal was equivocated. The key observation: **the equivocation proof existed in the system before the commit, but was not in the commit path's evidence set.** E held it; the commit was finalized by a different subset that never queried E's log. ## Condition of Validity The drift is only possible under a conjunction of conditions, and the guardrail must be stated as the negation: - **C1 — Partition asymmetry.** The Byzantine instance can reach both partitions during the same round. If the transport guarantees that a signer's round-7 message is delivered to all-or-none of the quorum (a *round barrier*), drift is impossible. - **C2 — Sub-threshold partition sizes.** Each partition sees fewer than 2f+1 votes, so neither commits during the split. If either partition reaches threshold during the split, you have immediate split-brain, which is a different (and louder) failure. - **C3 — No pre-commit evidence gossip.** The commit path does not require the proposer to include, or the voters to cross-check, any equivocation proofs observed by non-voting instances. - **C4 — Post-commit immutability.** The protocol has no revocation or challenge window after commit finalization. Drift is *bounded* — not eliminated — by enforcing any one of: - Round barriers (kills C1): a signed round message is either delivered to the full quorum or to none. This is expensive under partition and effectively forces the quorum to stall rather than progress. - Evidence-in-commit (kills C3): the commit certificate must include a signed *non-equivocation attestation* per voter, and the proposer must include any equivocation proofs it holds. This requires a gossip round before commit and adds latency proportional to quorum size. - Challenge window (kills C4): commits are provisional for one round, during which any instance may submit an equivocation proof to revoke. This trades liveness for safety. The invariant that must hold for the protocol to be safe: **for any committed proposal h in round r, no correct instance may later produce a valid equivocation proof against any signer of h that references round r.** This is checkable only if the commit certificate is co-located with a complete evidence set at commit time — which is exactly what C3 forbids. ## Decision Boundary An instance must decide, at the moment it observes a vote, whether to treat that vote as *provisional* (safe to count toward quorum) or *contested* (must be held pending cross-partition evidence). The boundary is: - If the instance's local log contains a signature from the same signer for a *different* proposal hash in the same round → **contested**, raise equivocation proof immediately. - If the instance's local log contains the same signer's signature for the same hash in the same round → **provisional**, count it. - If the instance has *no* prior signature from that signer in that round → **provisional**, but the commit certificate must carry a non-equivocation attestation from the signer covering the round, or the commit is deferred by one gossip interval. The third case is where drift lives. The boundary decision is not "is this vote valid" (it always is, cryptographically) but "can I prove this vote is *unique* for this signer in this round." An instance cannot prove uniqueness from local state alone; it can only prove it from a *round-scoped non-equivocation attestation* — a signed statement by the signer that this is its only ballot for the round, which the signer is cryptographically bound to violate at most once without detection at merge. The decision rule: **count a vote toward quorum only if accompanied by a valid non-equivocation attestation for (signer, round), or if the protocol's round barrier guarantees uniqueness.** Absent either, the vote is provisional and the commit is deferred. ## Operational Effect Enforcing the decision boundary changes the failure profile from *silent split-brain with post-hoc detection* to *bounded liveness loss with pre-commit detection*: - **Latency cost.** Every commit now requires one additional gossip round to collect non-equivocation attestations, adding one RTT to commit latency. For a 7-instance quorum over a 40ms transport, this is ~40ms per commit — acceptable for planner-agent decisions (seconds-scale) but not for sub-100ms tool-call gating. - **Liveness cost.** Under partition, the quorum stalls rather than progressing on either side. In the observed trace, the {A,B,C,D} partition would have stalled at 4 votes even after D's equivocation, because D's attestation would have been flagged as contested by A, B, or C once they gossiped. The commit for 0x91af would never have finalized. - **Detection latency.** Equivocation drift is now detected at commit time, not at merge time. The executor agent never receives the equivocated proposal. - **Residual risk.** If the Byzantine instance can forge non-equivocation attestations (key compromise), the boundary fails. The attestation must be bound to the same key as the vote and must be covered by the quorum's threshold signature scheme. The architectural invariant that must be enforced: **a commit certificate is valid only if every vote in it carries a round-scoped non-equivocation attestation, or the protocol's transport layer provides a round barrier.** Without this, the quorum can commit a proposal that it holds cryptographic proof was equivocated — and downstream agents will act on it. ```python class EquivocationDriftError(RuntimeError): """Raised when a vote is counted toward quorum without a valid round-scoped non-equivocation attestation, allowing equivocation drift.""" pass class Vote: def __init__(self, signer, round_num, proposal_hash, attestation=None): self.signer = signer self.round_num = round_num self.proposal_hash = proposal_hash self.attestation = attestation # signed (signer, round) uniqueness claim def validate_vote_for_quorum(vote, round_barrier_enabled, known_signatures): # Local equivocation check: same signer, same round, different hash. prior = known_signatures.get((vote.signer, vote.round_num)) if prior is not None and prior != vote.proposal_hash: raise EquivocationDriftError( f"local equivocation: signer={vote.signer} round={vote.round_num} " f"hashes={prior} vs {vote.proposal_hash}" ) # Drift guard: without a round barrier, require non-equivocation attestation. if not round_barrier_enabled: if vote.attestation is None: raise EquivocationDriftError( f"vote from signer={vote.signer} round={vote.round_num} " f"lacks non-equivocation attestation; counting it risks drift" ) if not verify_attestation(vote.attestation, vote.signer, vote.round_num): raise EquivocationDriftError( f"invalid non-equivocation attestation from signer={vote.signer} " f"round={vote.round_num}" ) known_signatures[(vote.signer, vote.round_num)] = vote.proposal_hash return True def verify_attestation(attestation, signer, round_num): # Placeholder: must bind signer, round, and uniqueness claim under the # signer's quorum key. Returns False on any mismatch. return ( attestation.get("signer") == signer and attestation.get("round") == round_num and attestation.get("unique") is True and attestation.get("sig") is not None ) def build_commit_certificate(votes, round_barrier_enabled): known = {} counted = 0 for v in votes: validate_vote_for_quorum(v, round_barrier_enabled, known) counted += 1 if counted < 5: # 2f+1 for f=2 raise EquivocationDriftError( f"insufficient attested votes: {counted} < 5" ) return {"votes": votes, "count": counted} ```