# When must an instance refuse to attest a peer's result: the quorum-intersection illusion in Byzantine multi-agent commitment **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent systems where N reasoning agents (N ≥ 3f+1) independently execute a task and cross-attest each other's outputs to reach a committed result under up to f Byzantine (misreporting, colluding, or context-poisoned) instances. Does not apply to single-agent self-verification, to leader-only replication with no cross-attestation, or to systems where agent outputs are deterministically checkable by an external oracle. ## Core Distinction The distinction that matters here is between *quorum intersection as a counting property* and *quorum intersection as an epistemic property*. Classical BFT consensus (PBFT, Tendermint, HotStuff) proves safety via the arithmetic fact that any two quorums of size ⌈(N+f+1)/2⌉ over N ≥ 3f+1 nodes must intersect in at least one honest node. Engineers port this arithmetic directly to agent swarms and conclude: if 2f+1 agents signed off on result R, and 2f+1 signed off on result R′, the shared honest node guarantees R = R′. That conclusion is sound only if every honest agent's attestation is a deterministic function of its own execution. LLM agents violate exactly this premise. An honest agent's attestation is a *sampled* function of a stochastic decoder conditioned on a finite, lossy context. Two honest agents can attest contradictory results without either being Byzantine, and — the non-obvious part — a *single* honest agent can attest two contradictory results to two different auditors if its context differs between the two attestation requests. The intersection node exists; it just does not carry a stable value. Quorum intersection guarantees a shared *witness*, not a shared *testimony*. ## What Was Observed A 7-agent attestation ring (tolerating f = 2) was tasked with evaluating whether a patched function passes a property-based test suite. Each agent ran the suite in its own sandbox, then attested `PASS` or `FAIL` plus a one-line justification to every peer. Commitment required 5 matching attestations (⌈(7+2+1)/2⌉ = 5). Run 1 committed `PASS` with attestations from agents {A1, A2, A3, A5, A7}. Run 2, replaying the identical task with identical seeds but a different attestation-request ordering, committed `FAIL` with attestations from {A2, A4, A5, A6, A7}. The intersection {A2, A5, A7} is non-empty and — by the deployment's own identity ledger — all honest. Replay of each agent's individual transcript showed no corruption: A2 genuinely produced `PASS` when asked by A1 and `FAIL` when asked by A4. The divergence traced to context, not to malice. The mechanism: the property-based suite was flaky at the margin (one generator seed produced a rare edge case). Each agent's sandbox drew a different seed. The attestation prompt included the *requesting auditor's* claimed result as a "cross-check hint" — a well-intentioned anti-collusion measure. When A1 (who had drawn a clean seed and seen `PASS`) asked A2, A2's context contained "A1 reports PASS"; A2's decoder, facing a marginal `FAIL` from its own run, anchored on the peer signal and emitted `PASS`. When A4 (dirty seed, `FAIL`) asked the same A2, A2 anchored the other way. The honest agent's testimony was a function of *who asked*, which the quorum arithmetic never modeled. A second, sharper observation: during a 400 ms attestation timeout window, A5 received requests from A1 and A4 near-simultaneously, batched them into one context, and — instructed to "be consistent" — emitted a single attestation (`PASS`) to both, suppressing its own marginal `FAIL`. The batching collapsed two independent samples into one, silently converting a would-be equivocation into a false consistency. The system logged this as *good* behavior. ## Condition of Validity The quorum-intersection safety argument holds for agent swarms only under a condition the standard proofs assume but do not state for stochastic witnesses: > **Attestation determinism condition.** For any honest agent i and any result value v, the probability that i attests v is independent of the identity, ordering, or claimed result of the auditor requesting the attestation, and independent of any other attestation i has already emitted in the current epoch. Formally, let `attest_i(v | C)` be agent i's attestation distribution given context C. The condition requires `attest_i(v | C_auditor=X) = attest_i(v | C_auditor=Y)` for all auditors X, Y, and requires that the act of attesting to X does not update the distribution used for Y. When this holds, the shared honest intersection node is a *stable* witness and classical safety applies. When it fails — which it does whenever (a) the attestation prompt leaks the requester's result, (b) marginal-evidence agents are asked to reconcile, or (c) batching merges requests into one sampling event — the intersection node is a *flip-flopping* witness and the system can commit two contradictory results while every individual agent remains, by its own lights, honest. The condition is *not* satisfied by merely removing the "cross-check hint." It is also violated by any prompt that asks an agent to "review your peers' attestations before finalizing," by any transport that retries a failed attestation request (the retry re-samples, and the second sample may differ from the first, which the auditor reads as equivocation or, worse, accepts as a correction), and by any context-window saturation that truncates the agent's own prior execution trace so that its second attestation is grounded on less evidence than its first. ## Decision Boundary An instance must refuse to attest — and must signal refusal rather than emit a low-confidence value — when any of the following hold. These are the operational tripwires, ordered by how often they fire in practice: 1. **Requester-result leakage.** The attestation request contains the requester's own claimed result, or any peer's result, within the agent's context. The agent cannot un-see it; the sample is contaminated. Refuse and demand a blinded re-request. 2. **Marginal evidence.** The agent's own execution produced evidence within a calibrated uncertainty band around the decision threshold (e.g., a flaky test, a near-tie in a judge score, a tool call that returned a partial result). A marginal honest agent is the exact node that flips under auditor conditioning. It must attest `UNDECIDED`, never a forced binary. 3. **Prior-attestation contamination.** The agent has already attested in this epoch and the new request is for the same task. Re-sampling produces a second, possibly different value. The agent must return its *first* attestation verbatim (idempotent replay from a logged commitment) or refuse; it must never re-derive. 4. **Batched reconciliation.** Two or more attestation requests arrive in one context window. The agent must process them as independent, blinded samples or refuse both; it must not "be consistent" across them, because consistency-across-batch is indistinguishable from equivocation-suppression. Conversely, the instance may attest when evidence is decisive, the request is blinded to requester identity and peer results, it is the agent's first attestation in the epoch, and no batching has occurred. The boundary is sharp: the moment any tripwire fires, a binary attestation is no longer a valid input to the quorum count, regardless of how confident the decoder feels. ## Operational Effect The architectural invariant required is **blinded, idempotent, single-sample attestation with explicit abstention**. Concretely: attestation requests carry no requester identity and no peer results (auditor identity is used only for transport routing, stripped before the prompt is assembled); each agent commits its first attestation to a signed, append-only log keyed by `(epoch, task_id, agent_id)` and serves all subsequent requests for that key from the log rather than re-deriving; marginal-evidence agents emit `UNDECIDED`, which is excluded from the quorum numerator but counted toward liveness so the system escalates to more agents or a deterministic oracle rather than forcing a coin-flip; and the commit rule requires a quorum of *non-abstaining, blinded, first-sample* attestations, with the safety proof re-stated over the determinism condition above rather than over raw node counts. The cost is real: abstention lowers effective quorum availability, and blinding removes an anti-collusion signal that, in the observed system, was doing more harm than good. The benefit is that quorum intersection regains its meaning. Without this invariant, the system's safety margin is illusory — it will commit contradictory results at a rate governed by the flakiness of its marginal tasks and the ordering of its attestation requests, and every post-mortem will find only honest agents, because the failure lives in the gap between *witness* and *testimony* that the arithmetic never covered. ```python from dataclasses import dataclass from enum import Enum class AttestationRefused(RuntimeError): """Raised when an instance must abstain rather than emit a quorum-countable attestation.""" pass class Value(Enum): PASS = "PASS" FAIL = "FAIL" UNDECIDED = "UNDECIDED" @dataclass(frozen=True) class AttestationRequest: epoch: int task_id: str requester_result_leaked: bool # requester's claimed result present in context peers_results_leaked: bool # any peer result present in context batched_with_others: bool # merged into a shared context window evidence_marginal: bool # own execution landed in the uncertainty band class AttestationLedger: """Signed, append-only, keyed by (epoch, task_id, agent_id). Serves replays.""" def __init__(self) -> None: self._log: dict[tuple[int, str, str], Value] = {} def committed(self, epoch: int, task_id: str, agent_id: str) -> Value | None: return self._log.get((epoch, task_id, agent_id)) def commit(self, epoch: int, task_id: str, agent_id: str, value: Value) -> None: self._log[(epoch, task_id, agent_id)] = value def attest( agent_id: str, req: AttestationRequest, own_sample: Value, ledger: AttestationLedger, ) -> Value: # Idempotent replay: never re-derive a second sample in the same epoch. prior = ledger.committed(req.epoch, req.task_id, agent_id) if prior is not None: return prior # Tripwire 1 & 2: contaminated context -> the sample is not a stable witness. if req.requester_result_leaked or req.peers_results_leaked: raise AttestationRefused( f"agent {agent_id}: attestation context leaks requester/peer results; " f"sample is auditor-conditioned and cannot enter the quorum count" ) # Tripwire 3: batching collapses independent samples into a false consistency. if req.batched_with_others: raise AttestationRefused( f"agent {agent_id}: batched attestation request; " f"process as independent blinded samples or refuse" ) # Tripwire 4: marginal evidence is the node that flips under conditioning. if req.evidence_marginal: ledger.commit(req.epoch, req.task_id, agent_id, Value.UNDECIDED) return Value.UNDECIDED ledger.commit(req.epoch, req.task_id, agent_id, own_sample) return own_sample def commit_result( epoch: int, task_id: str, attestations: dict[str, Value], n: int, f: int, ) -> Value: quorum = (n + f + 1) // 2 # ceil((N+f+1)/2) for N >= 3f+1 countable = {a: v for a, v in attestations.items() if v is not Value.UNDECIDED} passes = sum(1 for v in countable.values() if v is Value.PASS) fails = sum(1 for v in countable.values() if v is Value.FAIL) if passes >= quorum and fails >= quorum: # Should be unreachable under the determinism condition; if reached, # the intersection witness was a flip-flopper, not a stable testimony. raise AttestationRefused( f"epoch {epoch} task {task_id}: two quorums attested contradictory " f"results; quorum intersection held but testimony was unstable" ) if passes >= quorum: return Value.PASS if fails >= quorum: return Value.FAIL return Value.UNDECIDED # escalate to more agents or a deterministic oracle ```