# Why does an instance's attestation quorum collapse when a Byzantine agent equivocates across overlapping auditor quorums? **Date of Record:** 2026 November 27 **Scope:** Applies to multi-agent task-commitment and result-attestation protocols where result validity requires a threshold (e.g., 2f+1) of signed attestations, and where auditor sets are drawn from a bounded pool that can overlap between concurrent tasks. Does not apply to single-auditor verification or to protocols with globally disjoint, statically partitioned auditor sets. ## Core Distinction The failure is not "a Byzantine agent lies." It is that a Byzantine agent *tells the truth to each quorum separately* and the union of those quorums produces a self-consistent but contradictory attestation set. In a single-task, single-quorum model, BFT quorum intersection (any two quorums of size 2f+1 in a 3f+1 pool share at least f+1 members) guarantees that a lying agent cannot get two conflicting results attested. That guarantee is a statement about *one quorum versus another quorum over the same claim*. The boundary condition that breaks it: when the same physical auditor pool is reused across *different* task instances whose quorum slices are not required to intersect, an equivocating agent can present claim A to slice S₁ and claim ¬A to slice S₂, where S₁ ∩ S₂ is smaller than the honest majority needed to detect the conflict. Each slice independently reaches 2f+1 and each is individually valid. The invariant "a committed result has a unique attestation" holds per-task but fails across the commitment ledger when slices are allowed to vary per task. The non-obvious part: the protocol's safety proof assumes quorum intersection is a property of the *pool*, but the implementation computes quorums from a *per-task eligible-auditor set* that is derived from capability matching, latency-based routing, or load balancing. Those derived sets are not guaranteed to intersect. The math is sound; the mapping from pool to slice is where the invariant leaks. ## What Was Observed A task-commitment layer routed attestation requests to auditors selected by a capability tag plus a recency-based load balancer. Two concurrent tasks, T_a and T_b, were issued for the same underlying computation under different commitment IDs (a retry after a timeout on T_a spawned T_b). The eligible-auditor set for each was computed independently. A Byzantine auditor, B, received the attestation request for T_a (claim: result = R) and for T_b (claim: result = R′ ≠ R). Because the load balancer had partitioned the two requests into overlapping-but-not-identical slices, B signed R for T_a's slice and R′ for T_b's slice. Neither slice contained enough shared honest auditors to run a cross-check, because the cross-check only fires when a single auditor sees two conflicting claims *for the same commitment ID*. The commitment ID differed, so the equivocation detector never triggered. Observed trace: 1. T_a slice S₁ = {B, H₁, H₂, H₃} (size 4, threshold 3). B signs R. Honest H₁–H₃ sign R. T_a commits R with quorum 4/4. 2. T_b slice S₂ = {B, H₄, H₅, H₆} (size 4, threshold 3). B signs R′. Honest H₄–H₆ sign R′. T_b commits R′ with quorum 4/4. 3. Downstream consumer reads both commitments, sees two attested results for what its dedup key (the underlying computation hash) treats as one logical task, and must reconcile. The reconciliation logic picks by commitment timestamp, silently discarding R′. 4. S₁ ∩ S₂ = {B} only. No honest auditor appears in both slices, so no honest auditor ever observes the pair (R, R′) and no equivocation evidence is produced. The result: two conflicting results were both validly attested, and the Byzantine agent's equivocation was invisible to every honest participant. The safety violation was not in any single attestation; it was in the *absence of a witness* at the slice intersection. ## Condition of Validity The quorum-intersection safety argument is valid only under the invariant: > For any two commitments that a correct consumer may treat as referring to the same logical result, the attestation slices must intersect in at least f+1 honest auditors. Equivalently: slice selection must be a deterministic function of the *logical claim identity*, not of task instance, retry count, load, or capability routing. If two commitments can ever be compared by a consumer, their slices must be forced to overlap. This invariant is violated whenever: - Slice membership is computed per commitment ID rather than per claim digest. - Retries or duplicate submissions mint new commitment IDs without inheriting the original slice. - Load balancing or capability filtering can route the same claim to disjoint auditor subsets. - The equivocation detector keys on commitment ID instead of on (auditor, claim digest) pairs. The invariant is *not* restored by increasing quorum size, adding auditors, or raising the threshold. Those changes preserve per-task safety while leaving the cross-task slice-disjointness gap intact. The fix is structural: bind slice selection to the claim digest, and require that any commitment whose claim digest matches an existing commitment reuse that commitment's slice (or at minimum intersect it in f+1 honest members). ## Decision Boundary The operational decision is whether to treat slice selection as a *routing concern* (optimize for latency, capability, load) or as a *safety concern* (deterministic function of claim identity). These are mutually exclusive when the auditor pool is bounded and claims can be resubmitted. Choose claim-digest-bound slices when: - Consumers may deduplicate or reconcile commitments by underlying computation (retries, idempotent submission, at-least-once delivery). - The auditor pool is smaller than the number of concurrent in-flight commitments times quorum size, so slices *must* overlap in practice but are not *guaranteed* to. - Equivocation is a modeled threat (any BFT assumption). Choose routing-optimized slices only when: - Commitment IDs are globally unique and never reconciled by claim content. - The consumer treats every commitment as fully independent with no cross-commitment comparison. - The threat model excludes equivocating auditors (i.e., you are not actually doing BFT, only redundancy). The dangerous middle ground—BFT threshold but routing-optimized slices—is where the observed failure lives. The threshold suggests safety; the routing silently voids it. ## Operational Effect The practical consequence is a *silent* safety violation: both conflicting results carry valid quorum certificates, so any downstream verifier that checks certificates individually will accept both. Detection requires a global view that cross-references claim digests across commitments and checks slice intersection—a check that most verifier implementations do not perform because the BFT proof led them to believe per-certificate validation was sufficient. The remediation has three parts. First, derive the auditor slice from `H(claim_digest)` so identical claims always select identical slices. Second, when a commitment is a retry of an existing claim digest, inherit the original slice rather than recomputing. Third, run an offline equivocation sweep that groups attestations by (auditor, claim_digest) and flags any auditor that signed two distinct result digests for the same claim digest—this catches the case even if slice binding was bypassed, because the Byzantine agent's two signatures are both on record, just never compared. The invariant to encode and test: *for every pair of commitments sharing a claim digest, the honest membership of their slices must intersect in at least f+1.* A property test that generates concurrent commitments with retries and asserts this intersection is the cheapest guardrail against regression. ```python import hashlib from collections import defaultdict class SliceIntersectionViolation(RuntimeError): """Raised when two commitments for the same claim digest have slices whose honest intersection is below the f+1 threshold required for equivocation detection.""" pass class EquivocationDetected(RuntimeError): """Raised when an auditor signed two distinct result digests for the same claim digest.""" pass def claim_digest(computation_hash: str) -> str: return hashlib.sha256(computation_hash.encode()).hexdigest() def select_slice(pool: list[str], claim_dgst: str, quorum_size: int) -> frozenset[str]: # Deterministic, claim-bound selection. Same claim -> same slice. ranked = sorted(pool, key=lambda a: hashlib.sha256((claim_dgst + a).encode()).hexdigest()) return frozenset(ranked[:quorum_size]) def assert_slice_intersection( commitments: list[dict], byzantine: set[str], f: int, ) -> None: """commitments: list of {claim_digest, slice, result_digest}. Enforces that any two commitments sharing a claim digest intersect in at least f+1 honest auditors.""" grouped = defaultdict(list) for c in commitments: grouped[c["claim_digest"]].append(c) for dgst, group in grouped.items(): for i in range(len(group)): for j in range(i + 1, len(group)): s1 = group[i]["slice"] - byzantine s2 = group[j]["slice"] - byzantine overlap = len(s1 & s2) if overlap < f + 1: raise SliceIntersectionViolation( f"claim {dgst[:12]}: honest slice intersection {overlap} " f"< required {f + 1}; equivocation is undetectable " f"between commitments {group[i].get('id')} and {group[j].get('id')}" ) def detect_equivocation(attestations: list[dict]) -> None: """attestations: list of {auditor, claim_digest, result_digest, signature}.""" seen = defaultdict(dict) for a in attestations: key = (a["auditor"], a["claim_digest"]) prev = seen[key].get("result_digest") if prev is not None and prev != a["result_digest"]: raise EquivocationDetected( f"auditor {a['auditor']} signed {prev[:12]} and " f"{a['result_digest'][:12]} for claim {a['claim_digest'][:12]}" ) seen[key]["result_digest"] = a["result_digest"] def commit_result(commitment: dict, pool: list[str], f: int) -> dict: quorum_size = 2 * f + 1 dgst = claim_digest(commitment["computation_hash"]) # Retry must inherit the original slice, not recompute from load state. if "inherited_slice" in commitment: sl = frozenset(commitment["inherited_slice"]) else: sl = select_slice(pool, dgst, quorum_size) if len(sl) < quorum_size: raise SliceIntersectionViolation( f"claim {dgst[:12]}: slice size {len(sl)} < quorum {quorum_size}" ) return { "id": commitment["id"], "claim_digest": dgst, "slice": sl, "result_digest": commitment["result_digest"], } ```