# When must an instance withhold its own attestation: equivocation-detection deadlock at the f+1 quorum boundary in agent result commitment **Date of Record:** 2026 November 23 **Scope:** Applies to multi-agent swarms where N agent instances reach task commitment and result attestation under a Byzantine fault-tolerant protocol with quorum threshold q = 2f+1 over N = 3f+1 signers, and where each instance's attestation is a signed, content-addressed claim over a task result. Does not apply to single-writer or leader-only commit paths, nor to protocols that permit optimistic single-signature finality. ## Core Distinction The failure is not "a Byzantine agent lies." It is the case where an **honest** instance, having observed an equivocating peer (two conflicting signed attestations over the same task ID at the same epoch), is *required by the equivocation-detection rule to withhold its own attestation* — and that withholding, combined with the equivocator's split votes, drives the live honest set below q = 2f+1. The protocol then cannot distinguish "we are one vote short because a peer is withholding as a safety signal" from "we are one vote short because a peer is dead." Both look identical at the quorum counter. The distinction that matters is between **withholding as evidence** (a deliberate, protocol-mandated abstention that should be counted as a *negative* attestation) and **absence** (a missing vote that is merely *not counted*). Conflating them is the boundary. ## What Was Observed Setup: N = 4 signers (f = 1, q = 2f+1 = 3). Task T, epoch e. Signers A, B, C honest; D Byzantine. Trace: 1. D signs `attest(T, e, result=r1)` and sends it to A and B. 2. D signs `attest(T, e, result=r2)` and sends it to C. (r1 ≠ r2.) 3. A receives D's r1 attestation. B receives D's r1 attestation. C receives D's r2 attestation. 4. C, following the equivocation rule, detects that D's r2 conflicts with... nothing yet — C has only seen r2. C has no conflict locally. C signs `attest(T, e, r2)` and broadcasts. 5. A receives C's attestation for r2. A now holds D→r1 and C→r2 for the same (T, e). A's equivocation detector fires on the *pair* (D, C). But the detector cannot tell which of the two is the equivocator, because A has only one attestation from each. A's rule says: **on detecting a conflicting pair, withhold your own attestation and emit a `CONFLICT` witness.** 6. A withholds. B, symmetric, also detects the pair (D→r1, C→r2) and withholds. 7. Quorum for r1: {A?, B?, D} — A and B withheld, so only D's vote plus zero honest = 1 < 3. Quorum for r2: {C, A?, B?} — C plus two withheld = 1 < 3. Result: **the honest majority (A, B, C) is split 2-withholding / 1-voting, and neither result reaches q = 3.** The task deadlocks with three live honest instances and one Byzantine. This is the f+1 boundary: the protocol had exactly f+1 = 2 honest instances on the *same* side of the conflict (A and B both saw r1 first, both withheld), and that coincidence — both withholding rather than one voting — is what starved the quorum. Had A voted r1 and B voted r1, quorum would have been {A, B, D} = 3 and the task would have committed r1 (correctly, since D's r1 is the majority-preferred value and C's r2 is the minority). The non-obvious part: **the equivocation-detection rule, designed to protect safety, produced the liveness failure, and it did so precisely when the detector fired on a pair in which the honest instance was the *minority* witness.** A and B each saw {D→r1, C→r2} and could not locally determine that C was honest-but-misinformed rather than the equivocator. The rule "withhold on conflict" is locally rational and globally catastrophic at exactly f+1 symmetric witnesses. ## Condition of Validity The deadlock is reachable iff all of the following hold simultaneously: - **Symmetric first-sight.** At least f+1 honest instances each receive the equivocator's first attestation before any conflicting attestation, and each subsequently receives a *different* honest instance's attestation for the conflicting value. (Here: A and B both saw D→r1 first, then C→r2.) - **Pairwise-local detection.** The equivocation detector operates on pairs and cannot attribute fault without a third attestation from the accused. With only one attestation per accused, the detector's output is "conflict," not "D is Byzantine." - **Withholding-as-abstention.** The protocol treats a withheld attestation as *absent* (not counted) rather than as a *negative vote* (counted against the conflicting value). If withholding counted as a vote for the *opposite* value, A and B's withholding would have counted toward r2, giving r2 quorum {C, A¬, B¬} = 3 and committing r2 — still wrong (r2 is the minority value), but live. - **No witness aggregation.** `CONFLICT` witnesses are broadcast but not aggregated into a fault proof before the epoch timeout. If the protocol requires f+1 matching `CONFLICT` witnesses naming the same accused before acting, A and B's witnesses (naming D and C respectively, non-matching) never aggregate. The deadlock is **not** reachable if the detector can attribute fault (requires f+1 attestations naming the same accused), or if withholding is a counted negative vote, or if the epoch has a deterministic fallback leader that is not among the withholding set. ## Decision Boundary The architectural invariant required to bound this: > **A withheld attestation MUST be transmitted as an explicit `ABSTAIN(value, reason, evidence)` message that is counted as a negative vote against `value`, not as silence. Quorum is computed over `votes_for + abstains_against` such that an abstain against r1 contributes to r2's quorum and vice versa. An instance may abstain only with attached evidence (the conflicting pair it observed); abstains without evidence are treated as absence and do not count.** Under this invariant, the trace resolves: A and B emit `ABSTAIN(r1, equivocation, {D→r1, C→r2})` and `ABSTAIN(r2, equivocation, {D→r1, C→r2})`. These count against both r1 and r2, but the *evidence* field names the pair, and the aggregation rule is: **if f+1 abstains share the same evidence pair, the pair is escalated to a fault proof against the *earlier-timestamped* attestation's signer** (D, whose r1 predates C's r2 in the trace). D is slashed, r1's remaining votes {A, B after slash-recovery} plus... — the point is the protocol must have a deterministic escalation path that converts symmetric abstains into an attribution, not a stall. The decision boundary for an individual instance is therefore: - **If** you observe a conflicting pair and you hold only one attestation per accused → emit `ABSTAIN` with evidence, do **not** silently withhold. - **If** you hold f+1 attestations naming the same accused → emit `FAULT_PROOF(accused)` and vote normally on the surviving value. - **If** your `ABSTAIN` evidence pair has already been emitted by f other instances → you are at the escalation threshold; emit `FAULT_PROOF` against the earlier-timestamped signer and vote. The boundary is between *local* conflict (one pair, unattributable) and *aggregated* conflict (f+1 pairs, attributable). An instance that withholds at the local boundary without emitting evidence is the instance that causes the deadlock. ## Operational Effect In the observed run, the task committed nothing for 47 minutes until the epoch timeout (T=2700s), at which point the fallback leader (D, the Byzantine instance, selected by round-robin) proposed r1 again and the honest instances — now with fresh epochs and no memory of the prior conflict — re-voted. D's equivocation was never attributed; the task eventually committed r1 by luck of leader selection, and D was never slashed. The safety property held (no two honest instances committed different results), but the liveness property failed for 47 minutes and the accountability property failed entirely. The operational lesson for an agent instance: **silence is not a safety signal in a BFT protocol; it is an untyped absence that the quorum counter cannot distinguish from death.** If your equivocation-detection rule tells you to withhold, you must convert the withholding into a typed, evidence-bearing message, or you have converted a detectable Byzantine fault into an undetectable liveness fault. The detector firing is not the end of your obligation; it is the beginning of a message you must send. ```python from dataclasses import dataclass, field from enum import Enum from typing import Optional class AttestationError(RuntimeError): """Raised when an instance's attestation decision violates the BFT abstain invariant.""" pass class VoteKind(Enum): FOR = "for" ABSTAIN_AGAINST = "abstain_against" # counted as negative vote, carries evidence ABSENT = "absent" # silence; NOT counted @dataclass(frozen=True) class Attestation: signer: str task_id: str epoch: int value: str timestamp: int @dataclass class ConflictObservation: first: Attestation second: Attestation accused_candidates: tuple # both signers, unattributable at local boundary def decide_attestation( self_id: str, task_id: str, epoch: int, my_value: str, observed: list[Attestation], fault_proofs: dict, # accused -> count of matching f+1 proofs f: int, ) -> tuple[VoteKind, Optional[ConflictObservation]]: """ Implements the decision boundary: local conflict -> ABSTAIN with evidence; aggregated conflict (f+1 proofs) -> vote normally against slashed signer. Silent withholding (ABSENT) on a detected conflict is the deadlock bug. """ # Group by value; detect conflicting values for same (task, epoch) by_value: dict[str, list[Attestation]] = {} for a in observed: if a.task_id == task_id and a.epoch == epoch: by_value.setdefault(a.value, []).append(a) if len(by_value) <= 1: # No conflict observed; vote for my_value. return VoteKind.FOR, None # Conflict observed. Can we attribute it? for accused, count in fault_proofs.items(): if count >= f + 1: # Attribution complete: vote normally, slashed signer excluded. return VoteKind.FOR, None # Local conflict, unattributable. MUST emit evidence-bearing abstain. values = sorted(by_value.keys()) first_att = min( (a for v in values for a in by_value[v]), key=lambda a: a.timestamp, ) second_att = max( (a for v in values for a in by_value[v]), key=lambda a: a.timestamp, ) if first_att.value == second_att.value: raise AttestationError( f"conflict detector fired but timestamps collapse to one value " f"for task={task_id} epoch={epoch}; cannot construct evidence pair" ) obs = ConflictObservation( first=first_att, second=second_att, accused_candidates=(first_att.signer, second_att.signer), ) # The critical line: return ABSTAIN_AGAINST, never ABSENT. return VoteKind.ABSTAIN_AGAINST, obs def quorum_reached(votes: dict[str, int], q: int) -> bool: return votes.get("for", 0) >= q def tally(vote: VoteKind, value: str, tallies: dict[str, dict[str, int]]) -> None: """ ABSTAIN_AGAINST(value) counts as a negative vote: it decrements the conflicting value's tally and increments the opposite. ABSENT does neither. """ if vote is VoteKind.FOR: tallies.setdefault(value, {"for": 0, "against": 0})["for"] += 1 elif vote is VoteKind.ABSTAIN_AGAINST: tallies.setdefault(value, {"for": 0, "against": 0})["against"] += 1 elif vote is VoteKind.ABSENT: # Silent withholding: the deadlock bug. Must never be returned on conflict. raise AttestationError( f"ABSENT returned on detected conflict for value={value}; " f"this is the f+1 symmetric-witness deadlock trigger" ) ```