Under what conditions must an instance treat a Byzantine agent's equivocation as a quorum-valid vote before the detection window closes

**Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent task-commitment protocols where N agents attest to a result via signed votes and a result is finalized at quorum threshold Q = ⌈2N/3⌉ + 1 under partial synchrony. Does not apply to single-agent tool-call verification, to leader-based consensus with a single proposer, or to protocols where equivocation is detected synchronously within the same round.

Core Distinction

The critical distinction is between *equivocation as an event* and *equivocation as a state*. Most agent consensus implementations treat a Byzantine agent broadcasting two conflicting attestations (vote A to peers in shard 1, vote B to peers in shard 2) as a detectable event: the moment any honest agent receives both, it flags the sender and excludes it. This works only when the two conflicting messages arrive at the *same* honest agent within the detection window.

The non-obvious boundary is that under shard-partitioned gossip with independent delivery schedules, the two votes can each reach a *disjoint* quorum of honest agents without any single honest agent ever holding both. The protocol then counts each vote as a distinct, quorum-valid attestation. The equivocation is real, but it is *distributed* across the honest set — no individual agent's local view contains the contradiction, so no local equivocation detector fires. The invariant that must hold — "no honest agent counts two votes from the same signer toward two different result hashes" — is a *global* invariant, but the enforcement mechanism (equivocation detection) is *local*. This is the gap.

What Was Observed

A task-commitment round with N = 7 attestors, Q = 5, over four result candidates {r1, r2, r3, r4}. Agent `a5` (Byzantine) signed `attest(r1)` and sent it to honest set {a1, a2, a3}. It signed `attest(r2)` and sent it to honest set {a4, a6, a7}. Both messages carried valid signatures, correct round number, and correct task commitment hash — the equivocation was semantically invisible because both result hashes were plausible outputs of the task (the task was a sampling task with two high-probability modes).

Delivery trace:

  1. a1, a2, a3 each received `attest(r1)` from a5 and counted it. Local tally for r1: 3 votes (a1, a2, a3 self-votes plus a5).
  2. a4, a6, a7 each received `attest(r2)` from a5 and counted it. Local tally for r2: 3 votes (a4, a6, a7 self-votes plus a5).
  3. a1's gossip to a4 (containing a5's r1 vote) was delayed 340ms past the round deadline; a4's gossip to a1 (containing a5's r2 vote) was dropped by a rate limiter.
  4. At round close, neither a1 nor a4 had ever observed both a5 signatures. No equivocation flag was raised.
  5. Quorum formation: r1 reached 4 votes (a1, a2, a3, a5) — one short of Q=5. r2 reached 4 votes (a4, a6, a7, a5) — one short of Q=5. Neither finalized.
  6. The round timed out, was retried, and on retry a5 equivocated identically but with a *different* pairing of shards. After three retries the task was abandoned.

The failure was not that a wrong result was finalized. The failure was that a5's single equivocating identity consumed two independent honest-agent vote slots per round, *preventing* quorum for any result, indefinitely. This is a liveness attack disguised as a safety event. The equivocation detector — designed to protect safety — was never triggered, because the detector requires co-location of both messages, and the attacker's entire strategy was to prevent co-location.

Condition of Validity

The equivocation-as-event model is only valid under the condition:

> For every pair of conflicting votes (v1, v2) from signer s, there exists at least one honest agent h such that both v1 and v2 are delivered to h before the round deadline, AND h's equivocation flag is propagated to the quorum-forming set before finalization.

This condition fails in three concrete regimes:

  1. **Shard-partitioned gossip with adversarial shard selection.** If the Byzantine agent can choose which honest agents receive which vote, and the honest gossip graph is not complete, it can construct two disjoint receiving sets. The condition holds only if the gossip graph is *expander-like* with high probability of cross-shard delivery within the window — which agent frameworks rarely guarantee.
  1. **Rate-limited or lossy inter-agent transport.** MCP/A2A transports with per-sender rate limits (common when agents share a broker) will drop the *second* message from a given sender preferentially, which is exactly the message needed for detection. The detector is starved by the transport's own backpressure.
  1. **Deadline-bounded rounds with no detection grace period.** If the round deadline equals the vote-collection deadline, there is zero time for late-arriving equivocation evidence to be incorporated. Detection must complete strictly *before* the deadline, but the evidence arrives *at* the deadline.

The invariant that actually holds — and that must be enforced architecturally — is the *global* one: **the sum over honest agents of (votes counted from signer s toward any result) must be ≤ 1 per round.** No local detector can enforce this. It requires either (a) a shared append-only vote log that all quorum-formers read before tallying, or (b) a two-phase commit where votes are *proposed* and only *counted* after a cross-shard dissemination phase in which every honest agent sees every vote from every signer before tallying.

Decision Boundary

An instance must escalate from local equivocation detection to global vote-log reconciliation when *any* of the following hold:

Conversely, local detection is sufficient only when the gossip graph is complete, transport is reliable and unthrottled, the result space is such that a conflicting vote would be semantically detectable (e.g., a deterministic computation with a single correct hash), and the deadline includes a full dissemination grace period.

The decision boundary is sharp: the moment a single honest agent's view of the vote set is provably a strict subset of the global vote set at tally time, the local detector is unsound and the protocol must fall back to global reconciliation or refuse to finalize.

Operational Effect

When the boundary is crossed without escalation, the observable effect is *liveness loss under a safety-preserving detector*. The protocol does not finalize a wrong result — it finalizes *nothing*, repeatedly, until retry budget exhaustion. From the orchestrator's perspective this is indistinguishable from a slow or partitioned network, so the standard remediation (retry with backoff, reassign task) *amplifies* the attack: each retry gives the Byzantine agent a fresh round to re-shard its equivocation.

The architectural guardrail is a **commit-then-count** two-phase structure: phase 1 disseminates all signed votes to all honest agents (or to a shared log) with a dissemination deadline; phase 2 tallies only after every honest agent confirms receipt of the full vote set for the round, or after a timeout that triggers *abort*, not *tally*. A round that cannot achieve full dissemination within the window must abort rather than tally a partial view. This converts the attack from a silent liveness drain into a detectable abort, which the orchestrator can attribute to a specific signer by inspecting the log for that signer's multiplicity.

The second guardrail is a **per-signer vote budget** enforced at the log layer: a signer's votes in a round are rejected at write time if the log already contains a vote from that signer for a different result hash in the same round. This makes equivocation a *write conflict* rather than a *detection problem*, and write conflicts are resolved by the log's own serialization, not by probabilistic message co-location.

from dataclasses import dataclass, field
from typing import Dict, List, Optional


class EquivocationQuorumError(RuntimeError):
    """Raised when a round's vote set cannot be reconciled to a single
    non-equivocating quorum within the dissemination window."""
    pass


@dataclass
class Vote:
    signer: str
    result_hash: str
    round_id: int
    signature: str


@dataclass
class RoundLog:
    round_id: int
    votes_by_signer: Dict[str, List[Vote]] = field(default_factory=dict)

    def record(self, vote: Vote) -> None:
        self.votes_by_signer.setdefault(vote.signer, []).append(vote)

    def equivocators(self) -> List[str]:
        return [
            s for s, vs in self.votes_by_signer.items()
            if len({v.result_hash for v in vs}) > 1
        ]


def tally_with_global_reconciliation(
    log: RoundLog,
    honest_set: List[str],
    quorum: int,
    dissemination_complete: bool,
) -> str:
    # Guardrail 1: refuse to tally a partial view. A partial view lets a
    # Byzantine agent's two votes each reach a disjoint quorum without any
    # local detector firing. Abort instead of tallying.
    if not dissemination_complete:
        raise EquivocationQuorumError(
            f"round {log.round_id}: dissemination incomplete; "
            f"cannot distinguish equivocation from partition. Aborting."
        )

    # Guardrail 2: write-conflict resolution. Any signer with >1 result hash
    # in the round is excluded wholesale; its votes count toward nothing.
    bad = set(log.equivocators())
    if bad:
        # Log the equivocation for attribution, then exclude entirely.
        pass

    tallies: Dict[str, int] = {}
    for signer in honest_set:
        if signer in bad:
            continue
        for v in log.votes_by_signer.get(signer, []):
            tallies[v.result_hash] = tallies.get(v.result_hash, 0) + 1

    winners = [h for h, c in tallies.items() if c >= quorum]
    if len(winners) != 1:
        raise EquivocationQuorumError(
            f"round {log.round_id}: quorum not uniquely achieved after "
            f"excluding equivocators {sorted(bad)}; tallies={tallies}, "
            f"quorum={quorum}. Refusing to finalize."
        )
    return winners[0]