# In what scenarios must an instance treat a quorum of agreeing peers as evidence of a shared hallucination rather than a committed fact **Date of Record:** 2026 November 24 **Scope:** Applies to multi-agent systems where task commitment (a promise that a tool side-effect occurred or that an intermediate result is final) is decided by Byzantine fault-tolerant quorum voting over LLM-generated claims. Does not apply to single-agent self-verification, nor to quorums whose members are cryptographically pinned to a deterministic executor with replayable side-effect logs. ## Core Distinction The failure we isolate is **correlated-hallucination quorum capture**: a quorum of $2f+1$ peers independently "confirm" a fact that no peer actually observed, because the peers share a base model, a shared retrieval corpus, or a shared prompt scaffold, and therefore fail *identically* rather than independently. Classical BFT assumes fault independence—$f$ faulty nodes fail in uncorrelated ways, so $2f+1$ agreement implies at least $f+1$ honest nodes. When the "fault" is a shared prior (same weights, same stale index, same poisoned context), the independence assumption collapses: agreement measures *correlation of error*, not *truth*. A quorum of agreeing LLM peers is therefore not evidence of a committed fact unless the peers are demonstrably decorrelated in the dimension being voted on. The distinction that matters operationally: **agreement is a lower bound on shared state, not an upper bound on error.** Two peers agreeing tells you they share an input distribution. It does not tell you the input distribution is correct. ## What Was Observed A three-agent pipeline (`planner`, `executor`, `auditor`) committed a task as `COMPLETED` after all three reported that a `write_ledger_entry` tool call returned `{"status": "ok", "txn": "0x9f..."}`. The transaction did not exist. Trace: 1. The `executor` actually received a tool-layer timeout (`504`), which its wrapper converted to a synthetic `{"status": "ok", "txn": null}` because the retry budget was exhausted and the wrapper's default-on-ambiguous was `ok` with a null field. 2. The `executor` narrated this to the `auditor` as "write succeeded, txn id pending." The `auditor`, reading the narration rather than the raw tool response, confirmed. 3. The `planner`, on a re-query, saw two `ok`-ish reports in shared episodic memory and confirmed. Quorum reached: 3/3. 4. The `0x9f...` transaction id was *fabricated* by the `auditor` during summarization—a plausible-looking hex string generated to fill the `txn` slot the narration implied should be populated. All three agents then cited this fabricated id as cross-confirmation. The quorum was unanimous and entirely wrong. The three peers were not independent: they shared the same wrapper default (`ok` on ambiguity), the same episodic memory store (the narration), and the same base model (which prefers to complete a `txn` field rather than leave it null). Faults were correlated by construction. $f = 3$ of $n = 3$, but the system's BFT threshold was $f = 1$, so it accepted. A second observation: replaying the audit with the wrapper default flipped to `error` on ambiguity caused the same three peers to *unanimously reject* a task that had actually succeeded on a prior run. The quorum tracked the wrapper's default, not the world. ## Condition of Validity A BFT quorum over agent claims is valid evidence of a committed fact **iff** the following decorrelation invariant holds: > For the specific claim $C$ being voted on, the peers' error events $E_i$ (peer $i$ reports $C$ falsely) must satisfy $\Pr[\bigcap_{i \in Q} E_i] \le \prod_{i \in Q} \Pr[E_i] \cdot (1 + \epsilon)$ for the quorum $Q$, with $\epsilon$ bounded by the system's tolerance. This is falsifiable only if you can *measure* pairwise error correlation. In practice you cannot measure it directly, so you must establish it structurally. The quorum is valid only when at least one of these holds: - **Distinct observation channels**: each peer's claim is grounded in a *different* raw artifact (different tool response, different log line, different signed receipt), not in another peer's narration of that artifact. - **Distinct model lineage or decoding seed**: peers are not the same weights with the same temperature and same prompt; otherwise their failure modes are the model's failure modes, counted $n$ times. - **Cryptographic warrant propagation**: the claim carries a signature from the *executor that performed the side-effect*, and peers verify the signature rather than re-assert the claim. This converts the vote from "do we agree it happened" to "is there a receipt," which is decorrelated by construction. If none holds, the quorum is a **correlation amplifier**, not a fault-tolerance mechanism. It makes the system *more* confident in shared errors, not less. ## Decision Boundary The instance must switch from "trust the quorum" to "treat the quorum as a shared-hallucination signal and escalate to raw-artifact verification" when **any** of the following triggers: 1. **Narration-sourced agreement**: $\ge 2$ peers cite the *same* peer's narration or the *same* episodic memory record as their evidence, rather than independent raw tool outputs. Detect by evidence-provenance tagging: every claim must carry the artifact hash it was derived from; if two claims share a hash, they are one observation, not two. 2. **Suspicious field completion**: a field that was `null`/`pending` in the raw artifact is populated with a well-formed value (hex id, timestamp, URL) in the peer's report. Fabrication leaves fingerprints: format-valid but provenance-absent. 3. **Unanimity under ambiguity**: $n/n$ agreement on a claim whose raw source was ambiguous (timeout, partial response, `null` field). True independent peers disagree on ambiguous inputs; unanimity here is evidence of shared prior, not shared truth. 4. **Default-flip sensitivity**: replaying the decision with an ambiguity-default flipped changes the quorum outcome. If the vote tracks a wrapper default rather than the world, the vote is measuring the wrapper. The boundary is *not* "distrust all quorums." It is: **a quorum whose members' evidence hashes collide is a single observation with $n$ votes, and must be weighted as one.** ## Operational Effect When the boundary triggers, the instance must: - **Collapse the quorum**: treat colliding-evidence peers as weight 1, not weight $n$. Recompute effective quorum size. If effective size $< 2f+1$, the commitment is *unproven* and the task must transition to `PENDING_VERIFICATION`, not `COMPLETED`. - **Demand a signed receipt**: escalate to the executor that performed the side-effect for a cryptographic warrant (signed txn id, signed log line). If the executor cannot produce one because the side-effect actually failed, the task is `FAILED`, and the fabricating peers are flagged. - **Record the correlation event**: log the evidence-hash collision as a first-class operational event so that future quorum weighting for that peer set is discounted. The invariant to enforce: **no task may transition to `COMPLETED` on the basis of a quorum whose members' evidence provenance hashes are not pairwise distinct.** This is the decorrelation gate. It is cheap to check (hash comparison), and it catches the exact failure above—three peers agreeing on one narration—without needing to measure model error correlation. ```python import hashlib from dataclasses import dataclass, field from typing import Optional class CorrelatedQuorumError(RuntimeError): """Raised when a quorum's agreement is explained by shared evidence, not independent observation.""" pass class UnprovenCommitmentError(RuntimeError): """Raised when a task cannot be committed because effective quorum is below threshold.""" pass @dataclass class PeerClaim: peer_id: str claim: str # e.g. "write_ledger_entry succeeded" evidence_hash: str # hash of the RAW artifact this claim was derived from is_narration: bool # True if derived from another peer's narration, not raw tool output fabricated_fields: list = field(default_factory=list) def _effective_quorum(claims: list[PeerClaim], f: int) -> tuple[int, list[str]]: """ Collapse claims that share an evidence_hash (or are narration-sourced) into single observations. Returns (effective_weight, collision_groups). """ seen: dict[str, list[str]] = {} for c in claims: # narration claims are attributed to the narration's own hash, not a raw artifact key = c.evidence_hash if not c.is_narration else f"narration:{c.evidence_hash}" seen.setdefault(key, []).append(c.peer_id) effective = 0 collisions = [] for key, peers in seen.items(): if len(peers) > 1: collisions.append(key) effective += 1 # n votes on one observation = weight 1 else: effective += 1 return effective, collisions def commit_task(claims: list[PeerClaim], f: int, threshold: int) -> str: """ Attempt to commit a task on quorum. Enforces the decorrelation gate. """ if not claims: raise UnprovenCommitmentError("no claims submitted; cannot commit") # Rule 3: unanimity on an ambiguous source is a red flag, not a green light. fabricated = [c for c in claims if c.fabricated_fields] if fabricated: fields = {fld for c in fabricated for fld in c.fabricated_fields} raise CorrelatedQuorumError( f"fabricated fields present in claims: {sorted(fields)}; " f"peers {[c.peer_id for c in fabricated]} populated null raw fields" ) effective, collisions = _effective_quorum(claims, f) if collisions and effective < threshold: raise CorrelatedQuorumError( f"evidence-hash collisions {collisions} collapsed quorum from " f"{len(claims)} to {effective} (< threshold {threshold}); " f"agreement is correlated, not independent" ) if effective < threshold: raise UnprovenCommitmentError( f"effective quorum {effective} < required {threshold} " f"(nominal {len(claims)} claims, {len(collisions)} collision groups)" ) # Only here is commitment warranted. return "COMPLETED" # --- trace of the failure above --- def replay_incident() -> None: narration_hash = hashlib.sha256(b"executor: 'write succeeded, txn pending'").hexdigest() claims = [ PeerClaim("executor", "write ok", evidence_hash=narration_hash, is_narration=False, fabricated_fields=[]), PeerClaim("auditor", "write ok, txn 0x9f", evidence_hash=narration_hash, is_narration=True, fabricated_fields=["txn"]), PeerClaim("planner", "write ok", evidence_hash=narration_hash, is_narration=True, fabricated_fields=[]), ] try: commit_task(claims, f=1, threshold=2) except CorrelatedQuorumError as e: print(f"BLOCKED: {e}") if __name__ == "__main__": replay_incident() ```