# Under what conditions must an instance treat equivocation-tolerant quorum reconciliation as unsafe for speculative multi-agent execution **Date of Record:** 2026 November 22 **Scope:** Applies to orchestrators that run speculative (parallel, redundant) agent branches whose outputs are reconciled by a quorum over signed branch attestations, where the quorum is sized to tolerate up to *f* Byzantine branches. Does not apply to single-branch executions, to quorums over deterministic pure functions with no observable side effects, or to reconciliation that reads a single authoritative ledger rather than a peer-constructed transcript. ## Core Distinction The invariant most speculative multi-agent designs assume is *safety under equivocation*: if a branch emits two contradictory attestations (equivocation), the quorum's vote count is unaffected because each *branch identity* contributes at most one vote regardless of how many messages it sends. This holds only when the reconciliation function is a pure function of the *set of distinct branch identities that attested*, and the transcript is append-only and observable by every reconciler. The failure mode is subtler than double-counting. It is **quorum inflation via equivocation under partial transcript visibility**. When the reconciler's view of the transcript is *partitioned*—each reconciler sees a different subset of attestations because the fan-in channel is lossy, rate-limited, or reordered—an equivocating branch can present *different attestation subsets to different reconcilers*. Each reconciler independently computes a quorum over its local view. If two disjoint reconcilers each see a quorum (because the equivocator's two faces each complete a different quorum), the system commits two conflicting speculative results. The quorum size *n ≥ 3f+1* is necessary but **not sufficient**; you additionally need transcript convergence *before* quorum evaluation, and that convergence step is exactly what speculative execution skips. The distinction that matters operationally: **quorum arithmetic is safe; quorum arithmetic over a non-converged view is not.** The number of votes is not the vulnerability. The vulnerability is that "the set of voters I can see" is itself a distributed, eventually-consistent quantity, and speculative execution deliberately evaluates it before it converges. ## What Was Observed A four-branch speculative run (n=4, f=1, quorum threshold=3) over a tool-using agent task. Branch B3 was the equivocator (injected via a poisoned tool response that caused the branch to fork its own attestation based on prompt-injection state divergence). The orchestrator's fan-in used three independent collector goroutines, each maintaining its own partial view and each firing a reconciliation callback as soon as it accumulated 3 distinct attestations. Trace: 1. B1, B2, B3 each attest `result=alpha` on collector C1. C1 sees {B1,B2,B3} → quorum=3 → **commits alpha**. 2. B3, having forked, attests `result=beta` to collectors C2 and C3. B4 attests `beta` to C2 and C3. 3. C2 sees {B3,B4} plus a late duplicate of B2's `alpha`... but the dedup key was `(branch_id, attestation_hash)`, not `branch_id`. B2's `alpha` and B3's `beta` are distinct hashes, so C2 counts {B2,B3,B4}=3 → **commits beta**. 4. C3 sees {B3,B4} and a reordered B1 `alpha`; same dedup flaw → **commits beta**. 5. Two collectors committed `alpha`, one committed `beta`. The orchestrator's final reconciliation took the *majority of collector commits* (2 vs 1) and returned `alpha`. The result was correct *by accident*. The dedup key `(branch_id, attestation_hash)` allowed a single Byzantine branch to occupy two vote slots in C2 and C3, because the vote counter counted *attestations* while the threshold was defined over *distinct branches*. The safety margin f=1 was silently consumed to f=0 on two of three collectors. Had B4 also equivocated, C2 and C3 would have reached quorum with zero honest branches. The `alpha` outcome was not evidence of safety; it was a race between three independently-broken quorum evaluations. The decisive observation: **the equivocation detector fired zero times.** It was implemented as a post-hoc scan over the *merged* transcript, which by construction contained only one face of each equivocation—the other face lived in a different collector's buffer and was garbage-collected when that collector committed. Equivocation detection that runs after commit cannot detect equivocation that *caused* commit. ## Condition of Validity Equivocation-tolerant quorum reconciliation is safe for speculative execution **if and only if all three of the following hold simultaneously**: 1. **Vote identity is branch identity, not message identity.** The quorum counter must key on a cryptographically-bound branch identity (a signed nonce per branch per epoch), and a second attestation from the same `(branch_id, epoch)` must *invalidate* that branch's vote rather than add a vote. The correct rule is: a branch that equivocates contributes **zero** votes, not one, and not two. Counting it as one is the silent-margin-consumption bug; counting it as two is the obvious bug. Zero is the only safe rule, and it requires detecting the equivocation *before* tallying. 2. **Detection precedes tally over a converged view.** Equivocation can only be detected by comparing two faces, which requires both faces to be in the same reconciler's view. Therefore reconciliation must be gated on a **transcript convergence barrier**: no quorum is evaluated until every collector has flushed its buffer and the union of all collector views has been made visible to the reconciler. This is a synchronous barrier and it directly contradicts the latency goal of speculative execution. There is no way around this—speculation and equivocation-safety are in tension, and the barrier is the price. 3. **Quorum threshold is evaluated over the post-detection distinct-branch set, with the equivocator removed.** After the barrier, the reconciler computes the set of branches that attested *exactly once* across the merged transcript. Branches that attested more than once are removed from both the numerator and the denominator. The threshold `n ≥ 3f+1` must be re-checked against the *surviving* branch count, not the launched branch count. If removing equivocators drops the surviving count below `3f+1`, the run is **not** reconcilable and must abort—not fall back to a lower threshold. The condition fails—and the failure is silent—the moment any one of these is violated. The most common real-world violation is #2: teams implement #1 correctly (dedup by branch) and believe they are safe, while the convergence barrier is absent, so equivocation is never *observed* and the zero-vote rule never triggers. ## Decision Boundary An instance must **abort speculative reconciliation and escalate to a single-branch re-execution** when any of the following holds, and must **not** attempt to "reconcile anyway" by majority-of-collectors, plurality, or first-commit-wins: - The post-barrier merged transcript contains any `branch_id` with more than one distinct attestation hash in the epoch. (Equivocation observed → the branch is Byzantine → its vote is void → re-check threshold against survivors.) - The surviving distinct-branch count after equivocator removal is `< 3f+1`. (The safety margin has been consumed; the quorum is no longer Byzantine-resilient.) - Any collector committed a quorum *before* the convergence barrier fired. (A pre-barrier commit is by definition over a non-converged view and cannot be trusted even if it agrees with the post-barrier result—agreement is coincidence, not evidence.) - The final reconciliation would require taking a majority over *collector commits* rather than over *branch attestations*. (Collector commits are not votes; treating them as votes re-introduces the equivocation-inflation bug one layer up.) Conversely, it is **safe to proceed** only when the barrier has fired, the merged transcript shows every surviving branch attesting exactly once, and the surviving count meets `3f+1`. In that case the quorum is a genuine function of distinct honest-or-silent branches and the standard BFT safety argument applies. The boundary is sharp: **speculation buys latency by evaluating quorums early; equivocation-safety requires evaluating quorums late.** You cannot have both on the same critical path. The architectural resolution is to let speculation produce *candidate* results tagged with their collector's view-hash, then run the convergence barrier and equivocation scan *before* any candidate is promoted to committed. Speculation is a latency optimization on the *proposal* path; it must never be an optimization on the *commit* path. ## Operational Effect The practical consequence is that speculative multi-agent execution with Byzantine tolerance must maintain **two distinct commit paths**: a fast speculative path that produces candidates (and may be wrong, and is allowed to be wrong), and a slow reconciliation path that gates on transcript convergence and equivocation scan. The fast path's outputs are *hints*, not results. Any system that collapses these two paths—that lets a collector's early quorum fire directly into the committed state—has silently converted a `3f+1` design into an `f+1` design under partition, and the conversion is invisible until an adversary equivocates across exactly the partition boundary. Second operational effect: equivocation detection must be a **first-class collector responsibility**, not a post-hoc audit. Each collector must, on receiving a second attestation from a branch it has already seen in the epoch, immediately emit an equivocation witness into a shared channel *and* mark that branch void in its local tally. The witness must survive collector commit—it must be flushed to durable shared state before the collector's buffer is released, or the evidence dies with the buffer, exactly as observed above. Third: the `3f+1` threshold must be recomputed on the survivor set, and the recomputation must be allowed to *fail the run*. Systems that treat threshold failure as "degrade to plurality" have no Byzantine guarantee at all; they have a plurality vote with extra steps and a false sense of safety. ```python import hashlib from dataclasses import dataclass, field from typing import Dict, List, Set class QuorumReconciliationError(RuntimeError): """Raised when a speculative reconciliation cannot be safely committed.""" @dataclass(frozen=True) class Attestation: branch_id: str epoch: int result: str signature: str # bound to (branch_id, epoch) @property def dedup_key(self) -> str: # CRITICAL: key on branch identity + epoch, NOT on message hash. return f"{self.branch_id}:{self.epoch}" @dataclass class CollectorView: collector_id: str attestations: List[Attestation] = field(default_factory=list) committed: bool = False commit_result: str | None = None def reconcile_speculative( views: List[CollectorView], launched_branch_count: int, f: int, barrier_fired: bool, ) -> str: # Invariant 2: no quorum evaluation over a non-converged view. if not barrier_fired: raise QuorumReconciliationError( "convergence barrier has not fired; speculative quorum " "evaluation over a partitioned view is unsafe" ) # Invariant 3 (partial): no collector may have committed pre-barrier. for v in views: if v.committed: raise QuorumReconciliationError( f"collector {v.collector_id} committed before barrier; " "pre-barrier commit is over a non-converged view" ) # Merge transcript across all collector views. merged: Dict[str, List[Attestation]] = {} for v in views: for a in v.attestations: merged.setdefault(a.dedup_key, []).append(a) # Invariant 1: equivocation -> branch contributes ZERO votes. equivocators: Set[str] = set() for key, atts in merged.items(): distinct_results = {a.result for a in atts} if len(distinct_results) > 1: equivocators.add(atts[0].branch_id) surviving = { key for key in merged.keys() if key.split(":")[0] not in equivocators } # Invariant 3: re-check threshold against SURVIVORS, allow failure. required = 3 * f + 1 if len(surviving) < required: raise QuorumReconciliationError( f"survivor count {len(surviving)} < required {required} after " f"removing equivocators {sorted(equivocators)}; " "safety margin consumed, run not reconcilable" ) if len(surviving) > launched_branch_count: raise QuorumReconciliationError( "survivor count exceeds launched branches; transcript corruption" ) # Tally over surviving distinct branches only. tally: Dict[str, int] = {} for key in surviving: result = merged[key][0].result tally[result] = tally.get(result, 0) + 1 winners = [r for r, c in tally.items() if c >= required] if len(winners) != 1: raise QuorumReconciliationError( f"no unique quorum among survivors: tally={tally}, " f"required={required}" ) return winners[0] ```