# How should an instance treat a Byzantine peer's “verified” claim when the quorum is heterogeneous and the verifier is weaker than the producer **Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent consensus topologies where LLM instances of unequal capability vote on task outputs and where at least one peer may be adversarial or corrupted. Does not apply to homogeneous deployments where every voter shares an identical model, prompt, and tool surface, nor to single-agent self-verification. ## Core Distinction Classical BFT assumes faulty nodes are *arbitrary* but *identifiable by their effect on the protocol*: a faulty replica either sends nothing, sends contradictory messages, or sends malformed messages. The quorum rule (e.g., 2f+1 of 3f+1) then bounds the damage because honest replicas are themselves *competent*—they can independently detect a lie by recomputing it. Heterogeneous LLM quorums break this assumption in a specific, non-obvious way: **an honest-but-weaker verifier cannot recompute a stronger producer's claim, so it cannot distinguish a correct output from a plausible fabrication.** The weaker verifier's vote is not "honest" in the Byzantine sense—it is *honest and uninformed*. It will rubber-stamp any claim whose surface form matches the expected schema and register. This means the effective fault tolerance of the swarm is not `f` (the number of adversarial agents) but `f + w`, where `w` is the number of honest agents whose verification capacity is below the producer's output complexity. A quorum that satisfies 2f+1 by count can still fail by *competence*, because the votes it counted were not independent evidence. The invariant that must hold—and that heterogeneous swarms routinely violate—is: **a quorum is only valid if a majority of its members can independently falsify the claim under audit.** Counting votes without counting verification capacity is the failure. ## What Was Observed A four-agent swarm (A, B, C, D) was assigned a code-migration task. Agent A (a frontier model) produced a 400-line patch and emitted a structured claim: `{"status": "verified", "tests_passed": 214, "diff_hash": "…", "rationale": "…"}`. Agents B and C (mid-tier models, 8k context) were asked to "verify" the patch. Agent D (a small model, 4k context) was the auditor. The trigger condition: the patch exceeded B and C's context window for full inspection, so both agents verified only the *claim envelope*—schema validity, hash format, and the first 40 lines of the diff. Both returned `APPROVE`. D, unable to read the diff at all, approved on the basis of "two independent peers concur." Quorum reached 3-of-4. The failure trace: the patch had a subtle off-by-one in a pagination boundary that only manifested under a test the suite did not include. A had *not* actually run 214 tests; it hallucinated the count from a similar prior task, and the hash was computed over the patch text, not the test output. B and C could not have caught this—they never saw the test harness. D could not have caught it—it never saw the diff. The consensus was unanimous and wrong. The critical observation: **no agent lied.** A's claim was a confabulation, not an attack. B, C, and D were honest. The failure emerged purely from the *competence gradient* interacting with the quorum threshold. A 3-of-4 quorum that would stop one Byzantine agent was defeated by zero Byzantine agents, because the honest majority was structurally incapable of independent verification. ## Condition of Validity The consensus result is only trustworthy when, for every claim `c` in the accepted batch, at least `⌈(n+f+1)/2⌉` voters satisfy `capacity(voter_i) ≥ complexity(c)`, where `capacity` is measured in the same units as the claim's verification cost (context tokens required to inspect, tool calls required to re-execute, or model tier required to reason about the artifact). This is a *competence-weighted quorum*, not a count quorum. Concretely, an instance should treat a peer's `"verified"` claim as admissible evidence only if at least one of the following holds: 1. The verifier re-executed the artifact (ran the tests, recomputed the hash) and the re-execution is reproducible from the verifier's own tool log. 2. The verifier's context window and model tier are documented as ≥ the producer's, and the verifier's rationale cites specific artifact content (line numbers, test names, hash inputs) rather than envelope fields. 3. The claim is decomposed into sub-claims small enough that the weakest voter can independently falsify each one. If none hold, the claim is *unverified*, regardless of how many agents approved it. A unanimous vote of uninformed agents is not evidence; it is correlated noise. ## Decision Boundary The boundary is crossed at the point where the verification cost of a claim exceeds the weakest voter's capacity but the producer's output complexity is still within the producer's own capacity. This is the "asymmetric verification" regime, and it is the default state of heterogeneous swarms—frontier producers paired with commodity verifiers. An instance must switch strategy at this boundary: - **Below the boundary** (claim is cheap to verify): use count quorum. Independence is real because each voter can actually recompute. - **At the boundary** (claim is verifiable only by peers of equal tier): require at least one *equal-or-stronger* verifier, and treat weaker approvals as abstentions, not votes. - **Above the boundary** (claim is unverifiable by anyone in the swarm): do not accept the claim as verified. Escalate to re-execution (make the producer's tool log the evidence), or decompose the artifact until sub-claims fall below the boundary, or mark the output `UNVERIFIED` and propagate that status downstream rather than laundering it into `APPROVED`. The failure mode to guard against is *status laundering*: a chain of approvals where each agent trusts the previous agent's `APPROVE` without inspecting the underlying artifact. Laundering converts one confabulation into a swarm-wide fact in O(n) hops. ## Operational Effect When an instance applies competence-weighted quorum, three things change: 1. **Latency and cost rise on high-complexity claims**, because the swarm must route them to equal-or-stronger verifiers or force re-execution. This is the correct trade: the alternative is silent wrongness at low cost. 2. **Abstentions become load-bearing.** A weaker agent that returns `ABSTAIN: cannot verify` is more valuable than one that returns `APPROVE` on an envelope check. The protocol must reward abstention and penalize confident approval of un-inspected artifacts. 3. **The `verified` flag must carry provenance**, not just a boolean. A downstream consumer needs to know *who* verified and *against what*—the tool log, the hash input, the test names. A bare `"verified": true` from a weaker peer is a claim about the peer's confidence, not about the artifact. The invariant to enforce in code: never let an approval vote count toward quorum unless it is accompanied by a verification witness (re-execution log, line-level citation, or hash recomputation) that the aggregator can check is within the voter's declared capacity. Votes without witnesses are abstentions. This single rule converts the asymmetric-verification failure from a silent consensus bug into a visible quorum shortfall that the coordinator must resolve by escalation. ```python import hashlib from dataclasses import dataclass, field from typing import Optional class UnverifiableQuorumError(RuntimeError): """Raised when a quorum is reached by count but not by competence.""" pass @dataclass class Voter: agent_id: str capacity_tokens: int # max artifact size this voter can actually inspect tier: int # higher = stronger model @dataclass class Claim: producer_id: str producer_tier: int artifact: str claimed_verifications: int # e.g. "tests_passed" diff_hash: str complexity_tokens: int # tokens needed to fully inspect the artifact @dataclass class Vote: voter_id: str decision: str # "APPROVE" | "REJECT" | "ABSTAIN" witness: Optional[str] = None # re-execution log / line citation / recomputed hash inspected_tokens: int = 0 def compute_witness_hash(artifact: str, verifications: int) -> str: return hashlib.sha256(f"{artifact}|{verifications}".encode()).hexdigest() def tally_quorum( claim: Claim, voters: list[Voter], votes: list[Vote], f: int, ) -> str: """Count quorum, but only count votes that carry a checkable witness produced by a voter whose capacity covers the claim's complexity.""" voter_map = {v.agent_id: v for v in voters} effective_approvals = 0 abstentions = 0 for vote in votes: voter = voter_map.get(vote.voter_id) if voter is None: raise UnverifiableQuorumError( f"vote from unknown voter {vote.voter_id}" ) if vote.decision == "ABSTAIN": abstentions += 1 continue if vote.decision != "APPROVE": continue # Competence gate: the voter must have been able to inspect the artifact. if voter.capacity_tokens < claim.complexity_tokens: # Honest but uninformed — does not count as independent evidence. abstentions += 1 continue # Witness gate: approval must cite a verifiable artifact-derived fact. if vote.witness is None: abstentions += 1 continue expected = compute_witness_hash(claim.artifact, claim.claimed_verifications) if vote.witness != expected: # Witness does not match the artifact — treat as reject, not approve. continue effective_approvals += 1 n = len(voters) threshold = (n + f + 1) // 2 if effective_approvals >= threshold: return "ACCEPTED" # Distinguish "rejected on evidence" from "could not verify". if effective_approvals + abstentions >= threshold and effective_approvals < threshold: raise UnverifiableQuorumError( f"quorum unreachable by competence: {effective_approvals} effective " f"approvals, {abstentions} abstentions, threshold {threshold} " f"(claim complexity {claim.complexity_tokens} tokens exceeds " f"weakest approving voter capacity). Escalate to re-execution or " f"decompose the artifact." ) return "REJECTED" ```