# Why does an instance accept a Byzantine quorum verdict when its own vote was counted twice under a replayed proposal signature **Date of Record:** 2026 December 3 **Scope:** Applies to multi-agent decision quorums where votes are signed per-proposal and tallied by a coordinator that may retry delivery after ambiguous timeout. Does not apply to single-writer ledgers, to quorums with monotonic proposal nonces enforced at the signer, or to read-only auditor roles that never emit signed votes. ## Core Distinction The standard Byzantine fault-tolerance argument assumes each honest replica votes at most once per *proposal identity*, and that the coordinator's tally reflects distinct signers. The failure examined here is subtler: a replica can vote once, yet its single signed vote can be counted twice because the coordinator's proposal identifier is derived from transport metadata (a message ID, a retry sequence, or a freshly minted UUID) rather than from the immutable proposal content. When a coordinator retries a proposal after a timeout—common when agents are slow, context-saturated, or mid-checkpoint—the re-sent proposal carries the *same* logical content but a *new* identifier. The honest agent signs again, believing it is voting on a new round. The coordinator now holds two valid signatures from one signer over semantically identical decisions, and the quorum threshold (e.g., ⌈2n/3⌉+1) is satisfied by a set that is smaller than it appears. This is not double-spend by a malicious agent; it is double-count by an honest agent under an ambiguous identity scheme. The distinction matters because every defense against Byzantine *voting* is useless against Byzantine *identity*: the signer behaved correctly, the signature verified, and yet the quorum is fraudulent. ## What Was Observed During a three-agent decision quorum (roles: proposer, voter-A, voter-B; threshold 2-of-3), the proposer issued a decision proposal and voter-A signed within 400ms. Voter-B, running a longer reasoning loop, exceeded the proposer's 2s timeout. The proposer's transport layer, configured with at-least-once delivery, retried the proposal with a regenerated `proposal_id` (a UUIDv4 minted at send time). Voter-B received the retry, evaluated the content—identical to the first—and signed it under the new `proposal_id`. The proposer now held signatures from voter-A (proposal_id P1) and voter-B (proposal_id P2). Because the proposer's tally keyed signatures by `proposal_id`, it treated these as two independent proposals and, on the retry path, also re-delivered P1 to voter-B, which signed P1 as well. The proposer's final tally showed three signatures across two proposal_ids—two from voter-B, one from voter-A—and concluded quorum was reached on P2. The decision committed. A subsequent audit replay, keyed on proposal content hash rather than proposal_id, found only *two* distinct signers, not three, and flagged the commit as non-quorate. The disagreement between the live tally and the audit replay is the observable symptom: the same signed evidence supports two incompatible conclusions depending on whether you key by transport identity or by content identity. ## Condition of Validity The double-count is only possible when three conditions hold simultaneously. First, the proposal identifier is not derived deterministically from proposal content (no content-addressed hash). Second, the signer's deduplication is keyed on that identifier rather than on content, so a re-issued identifier is treated as a fresh voting opportunity. Third, the coordinator's retry policy is at-least-once with identifier regeneration, rather than idempotent reuse of the original identifier. Remove any one condition and the attack surface collapses: content-addressed IDs make retries indistinguishable to the signer and thus idempotent; signer-side content deduplication makes a second signature a no-op; identifier-preserving retries let the signer recognize the duplicate. The invariant that must hold is: *the set of distinct signers over a proposal's content hash must meet the threshold, and no signer may contribute more than one counted signature to that set, regardless of how many proposal_ids the content was wrapped in.* Any tally that counts by proposal_id without collapsing to content_hash violates this invariant and is unsound under retry. ## Decision Boundary The boundary is not "trust the coordinator" versus "trust the signers"—both are honest here. The boundary is whether the quorum decision is evaluated over *transport events* or over *content-addressed evidence*. A system that evaluates over transport events is correct only under exactly-once delivery, which no agent transport actually provides under timeout and retry. The safe boundary: quorum is a property of the (content_hash → set of distinct signer identities) map, and a commit is valid iff |signers| ≥ threshold. The coordinator may retry freely; the signer may sign repeatedly; the tally must collapse. When the tally cannot collapse—because signatures do not bind to content, or because signer identity is not cryptographically bound to the signature—the system must reject the commit rather than guess, because a non-quorate commit under a Byzantine-fault-tolerant protocol is worse than a stalled round: it is a silent safety violation that propagates into downstream agent state and cannot be distinguished from a correct commit by any replica that did not independently replay. ## Operational Effect The downstream effect is state divergence between the live quorum and any auditor that replays by content. Live agents commit on the inflated tally and proceed; auditors replay and reject; the two populations disagree about which decisions are canonical. Because agent memory is often checkpointed at commit boundaries, the fraudulent commit becomes a durable episodic memory that later semantic distillation treats as ground truth. Recovery requires either (a) re-keying all signatures to content hashes and re-running quorum evaluation, which invalidates any commit whose signer set was inflated, or (b) accepting the divergence and quarantining affected memory. The guardrail is architectural: bind signatures to content hash, deduplicate at the signer by content hash, and make the tally a set-union over signer identities per content hash—never a multiset over proposal_ids. The following guard encodes the invariant and fails closed when a commit's signer set is smaller than its counted signature set. ```python import hashlib from collections import defaultdict from dataclasses import dataclass class QuorumIdentityCollapseError(RuntimeError): """Raised when a commit's distinct signers fall below threshold under content-keyed tally.""" pass @dataclass(frozen=True) class SignedVote: proposal_content: bytes proposal_id: str # transport-level identifier, may be regenerated on retry signer_id: str signature: bytes def content_hash(content: bytes) -> str: return hashlib.sha256(content).hexdigest() def evaluate_quorum(votes: list[SignedVote], threshold: int) -> dict: # Collapse to (content_hash -> set of distinct signer_ids). proposal_id is ignored # precisely because retries regenerate it while content is invariant. signers_by_content: dict[str, set[str]] = defaultdict(set) counted_by_content: dict[str, int] = defaultdict(int) for v in votes: ch = content_hash(v.proposal_content) signers_by_content[ch].add(v.signer_id) counted_by_content[ch] += 1 decisions = {} for ch, signers in signers_by_content.items(): counted = counted_by_content[ch] distinct = len(signers) # Invariant: if the counted signature multiset exceeds the distinct signer set, # the tally was inflated by retry-driven re-signing. Fail closed. if counted > distinct: raise QuorumIdentityCollapseError( f"content {ch[:12]}: {counted} signatures but only {distinct} distinct " f"signers; quorum tally inflated by regenerated proposal_id, refusing commit" ) if distinct < threshold: raise QuorumIdentityCollapseError( f"content {ch[:12]}: {distinct} distinct signers below threshold {threshold}" ) decisions[ch] = sorted(signers) return decisions ```