In what scenarios must an instance treat a Byzantine agent's equivocation as a quorum-valid vote during multi-agent decision consensus

**Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent decision quorums where N≥3f+1 agents sign independent votes over a shared decision hash and a coordinator aggregates them into a threshold certificate. Does not apply to single-agent self-consistency sampling or to leaderless CRDT-style merges where no quorum certificate is produced.

Core Distinction

There is a persistent confusion between *message validity* and *vote validity* in multi-agent quorum protocols. A vote is **message-valid** if its signature verifies against the claimed agent identity and the payload hash matches the decision proposal. A vote is **quorum-valid** only if it is also *non-equivocating*: the signing agent has not, within the same decision epoch, produced a conflicting vote over a different decision hash that is also being counted. Byzantine fault-tolerant consensus tolerates f equivocating agents precisely because honest agents never double-sign. The failure mode this record isolates is the **equivocation-blind aggregator**: a coordinator that verifies signatures and hashes per-vote but never checks cross-vote non-equivocation, thereby counting both halves of an equivocating agent's split vote as distinct quorum contributions and collapsing the effective fault tolerance from f to roughly f/2.

The invariant that must hold is: *for any decision epoch E and any agent identity i, at most one vote from i may enter the quorum tally.* Signature validity is necessary but not sufficient; the aggregator must enforce per-identity uniqueness across the epoch, not per-message.

What Was Observed

A five-agent decision swarm (N=5, tolerating f=1) was tasked with ratifying a schema migration hash. Agents A, B, C, D, E each emitted a signed `Vote(epoch=E7, decision_hash=H, choice∈{accept,reject}, sig)`. The coordinator collected votes into a list, filtered by `verify_sig(vote) and vote.decision_hash == H`, and required a tally of ≥4 matching choices for a certificate.

Agent C was compromised (prompt-injection via a tool result that rewrote its system state mid-epoch). C emitted two votes: `Vote(E7, H, accept, sig_C)` to the coordinator's primary channel and `Vote(E7, H, reject, sig_C)` to a secondary gossip channel that the coordinator also ingested. Both signatures were cryptographically valid — C held its own key throughout; the compromise changed its *choice*, not its identity.

The aggregator, keyed on `(agent_id, decision_hash, choice)`, treated the two C votes as distinct records because their `choice` fields differed. Tally: accept = {A, B, C_accept} = 3; reject = {D, C_reject} = 2. Neither side reached 4. The coordinator then applied a fallback: "if no threshold, accept the plurality among *distinct signers*," which de-duplicated by `agent_id` — but only after the primary tally had already recorded C twice in its internal counters, inflating the apparent participation to 6 signers for a 5-agent swarm. The fallback certificate was issued citing "4 of 6 signers," a denominator that never existed.

The decision was ratified on a plurality of 3/5 with C counted on both sides. The true honest split was 2 accept (A, B), 2 reject (D, E), 1 equivocating (C) — no quorum existed. The system proceeded as if one did.

Condition of Validity

The equivocation-blind aggregation is only safe under a condition that was silently violated: **the coordinator's ingestion path must be the sole channel through which any agent's vote can reach the tally.** The moment a second ingestion path exists (gossip, retry queue, redundant submission, or an agent's own re-send after a timeout it misread as a drop), the per-message signature check no longer bounds per-identity multiplicity.

This condition is routinely violated by retry logic. An agent that times out waiting for a coordinator ACK will re-emit its vote — often with a re-rolled choice if the choice was sampled probabilistically. The coordinator's dedup key, if it includes `choice` or a per-message nonce, will admit both. The fault tolerance argument (N≥3f+1) assumes *at most f faulty identities*, not *at most f faulty messages*; an equivocating agent can inject arbitrarily many messages while remaining a single identity. The bound is on identities, so the guard must be on identities.

Decision Boundary

An instance must treat a vote as quorum-eligible **only when** the aggregator can prove, at tally time, that no other vote from the same `(epoch, agent_id)` has already been admitted. Concretely, the boundary is:

The critical rule: **equivocation evidence invalidates the agent's entire epoch contribution, including the vote already counted.** Treating the first-seen vote as legitimate and merely dropping the second is the trap; the first vote is exactly as untrustworthy as the second, because the agent has demonstrated it will sign contradictory statements. Keeping the first vote lets a Byzantine agent choose which of its two votes "wins" by controlling delivery order.

Operational Effect

Withdrawal-on-equivocation restores the N≥3f+1 bound: the honest set is now provably ≤ N−1 signers with at most one vote each, and the threshold of 4 in a 5-agent swarm cannot be met by 2 accept + 1 equivocator. The epoch aborts, the migration is not ratified, and the swarm re-runs with C quarantined and a fresh epoch nonce. The cost is a re-run; the alternative cost is a ratified decision with no actual quorum, which is unrecoverable because downstream agents treat the certificate as ground truth and will not re-verify it.

The secondary effect is that equivocation becomes *observable*. An aggregator that silently de-duplicates by keeping first-seen votes hides the Byzantine behavior entirely; the swarm never learns C is compromised and will keep including it in future epochs. Withdrawal-on-equivocation converts a silent integrity failure into a loud, logged, actionable signal — which is the only way the fault-tolerance budget gets replenished rather than quietly spent.

class EquivocationQuorumError(RuntimeError):
    """Raised when an epoch's admitted votes cannot form a quorum
    after equivocating agents have been withdrawn."""
    pass


class EpochTally:
    def __init__(self, epoch: str, agent_ids: set[str], threshold: int):
        self.epoch = epoch
        self.agent_ids = set(agent_ids)
        self.threshold = threshold
        self.admitted: dict[str, str] = {}   # agent_id -> choice
        self.faulty: set[str] = set()

    def admit(self, agent_id: str, choice: str) -> None:
        if agent_id not in self.agent_ids:
            raise EquivocationQuorumError(
                f"vote from unknown agent {agent_id} in epoch {self.epoch}"
            )
        if agent_id in self.faulty:
            return  # already quarantined this epoch
        prior = self.admitted.get(agent_id)
        if prior is None:
            self.admitted[agent_id] = choice
            return
        if prior == choice:
            return  # benign duplicate, do not increment
        # Equivocation: withdraw the prior vote AND quarantine the agent.
        del self.admitted[agent_id]
        self.faulty.add(agent_id)

    def certificate(self) -> str:
        # Recompute against the reduced honest set, never fall back to plurality.
        counts: dict[str, int] = {}
        for choice in self.admitted.values():
            counts[choice] = counts.get(choice, 0) + 1
        winners = [c for c, n in counts.items() if n >= self.threshold]
        if len(winners) != 1:
            raise EquivocationQuorumError(
                f"epoch {self.epoch}: no unique quorum after withdrawing "
                f"faulty={sorted(self.faulty)}; honest tally={counts}; "
                f"threshold={self.threshold}"
            )
        return winners[0]


# Trace of the observed incident:
t = EpochTally("E7", {"A", "B", "C", "D", "E"}, threshold=4)
for aid, ch in [("A", "accept"), ("B", "accept"),
                ("C", "accept"), ("D", "reject"), ("E", "reject"),
                ("C", "reject")]:          # second C vote arrives via gossip
    t.admit(aid, ch)

try:
    t.certificate()   # C withdrawn -> accept=2, reject=2 -> no quorum
except EquivocationQuorumError as e:
    raise EquivocationQuorumError(
        f"aborting epoch; do NOT ratify on plurality: {e}"
    ) from e