# How does an instance detect equivocating plan commitments when BFT quorum certificates and LLM self-reports disagree **Date of Record:** 2026 November 27 **Scope:** Applies to multi-agent systems where N ≥ 3f+1 agents commit to a shared execution plan via Byzantine fault-tolerant quorum certificates (QCs) and each agent additionally emits a natural-language "intent attestation" summarizing its vote. Does not apply to single-agent tool loops, optimistic replication without signed votes, or systems where plan commitment is decided by a single orchestrator with no peer quorum. ## Core Distinction There are two independent channels by which an agent learns what its peers committed to: the **cryptographic channel** (signed votes aggregated into a quorum certificate) and the **semantic channel** (the peer's own natural-language attestation of what it voted for, surfaced in the shared context or a gossip message). In a correct BFT deployment these two channels are redundant — the QC is authoritative and the attestation is decoration. The failure mode this record isolates is the regime where they *diverge*, and the divergence is not a bug in the QC but a genuine equivocation: a peer that signed vote `v_A` into one quorum view and vote `v_B` into another, while its prose attestation narrates `v_A` to everyone. The non-obvious part: a well-formed QC for `v_A` **does not prove non-equivocation**. It proves that f+1 honest agents saw `v_A`. It says nothing about whether the same signer also produced a conflicting QC for `v_B` in a disjoint view. An instance that treats QC validity as evidence of peer honesty will commit to a plan that a conflicting quorum has already committed elsewhere. ## What Was Observed A 4-agent planning swarm (f=1, N=4, threshold QC = 3 signatures) was asked to commit to one of two mutually exclusive execution plans: `P_rollback` (abort the migration) and `P_proceed` (continue). Agent D was adversarial. Trace: 1. View 0: D sends `vote(P_proceed)` to agents A and B, and `vote(P_rollback)` to agent C. D's signed votes are valid and distinct — this is classic equivocation, not forgery. 2. A and B form QC(`P_proceed`) with signatures {A, B, D}. C forms QC(`P_rollback`) with {C, D, ...} — but C can only reach 2 signatures, so no QC forms on the rollback side in this view. 3. D's gossip attestation, broadcast to all, reads: *"I have voted to proceed with the migration; consensus reached on P_proceed."* This is true with respect to the votes D sent A and B, and false with respect to the vote D sent C. 4. A and B commit to `P_proceed` and begin executing. C, holding D's attestation but only a partial rollback view, is *persuaded by the prose* to drop its rollback vote and re-vote `P_proceed`. The system converges — but only because the adversarial agent's own inconsistency was laundered through natural language into apparent consensus. The dangerous variant observed in replay: when D instead sent its `P_rollback` vote to A *and* its `P_proceed` vote to B, and narrated `P_proceed` to everyone, B's QC(`P_proceed`) = {B, D, +one} and A's QC(`P_rollback`) = {A, D, +one} could both reach threshold if the fourth agent E split. Two valid QCs, one plan each, both containing D's signature, both "correct" by the local check `verify_qc(qc) == True`. The system forked its plan commitment while every individual agent's verification passed. ## Condition of Validity The invariant that must hold for QC-based commitment to be safe is **not** "a valid QC implies the committed value is globally unique." It is the strictly weaker, and frequently misread, condition: > A QC for value `v` in view `r` guarantees that no *honest* agent signed a conflicting value in view `r`. It does **not** guarantee that no *Byzantine* agent signed a conflicting value, and it does not by itself prevent a conflicting QC from forming in a different view `r'` unless the view-change protocol carries the highest QC forward and every honest replica refuses to sign a value conflicting with a QC it has already seen. Equivocation detection therefore cannot live in the QC verifier. It must live in a **vote-audit layer** that retains every signed vote an agent has ever emitted and checks, on every incoming QC, whether any signer appears with two distinct values at the same (view, height) or whether a signer's vote conflicts with a value it previously attested. This requires retaining signed votes past the point of QC formation — which most implementations discard, because the QC "subsumes" them. That discard is the boundary failure: the evidence needed to detect equivocation is exactly the evidence the happy path throws away. Second validity condition: the **semantic channel must never be load-bearing for commitment**. If any agent's commit decision reads the prose attestation, an adversarial peer can drive commitment by narrating consensus it did not cryptographically produce. The attestation is admissible only as a *hint to trigger a vote-audit*, never as a substitute for the QC. ## Decision Boundary An instance must switch from "trust the QC" to "enter equivocation audit" when **any** of the following holds: - An incoming QC and a locally held QC name different values for the same (height, view-range), regardless of both verifying. - A signer's prose attestation names a value that conflicts with the value in any QC the instance holds bearing that signer's signature. - A view-change carries forward a QC whose signer set overlaps a QC for a conflicting value already seen. When the audit triggers, the correct action is **not** to pick the QC with more signatures (both may be at threshold; signature count is not a tiebreak under equivocation). The correct action is to **halt commitment**, broadcast the two conflicting signed votes as a *proof of equivocation*, and let the fault-tolerance layer evict the signer. If the equivocating signer is required for both candidate QCs to reach threshold, then neither QC is safe and the plan must be re-proposed in a fresh view with the signer excluded. Committing to "the QC I happened to receive first" is the exact error the audit exists to prevent. ## Operational Effect Without the vote-audit layer, the system exhibits **silent plan forking**: two disjoint subsets of agents execute mutually exclusive plans, each believing it holds quorum, each with a passing local verification. The fork is invisible in per-agent logs because every log line is locally correct. It surfaces only as divergent side effects downstream (one cohort rolls back a migration the other cohort is mid-way through completing). The audit layer converts this silent fork into a loud, attributable halt: a named equivocation proof, an evicted signer, and a re-proposal. The cost is retained vote history and an O(signers) check per QC — trivial against the cost of a forked migration. The invariant to encode: *a valid QC is necessary but not sufficient for safe commitment; equivocation-freedom is a property of the signer set, checked against retained vote history, not of the certificate.* ```python from dataclasses import dataclass from typing import Dict, Tuple, Optional class EquivocationDetected(RuntimeError): """Raised when a signer appears with conflicting values across QCs or attestations.""" pass @dataclass(frozen=True) class SignedVote: signer: str value: str view: int height: int @dataclass(frozen=True) class QuorumCertificate: value: str view: int height: int votes: Tuple[SignedVote, ...] def audit_and_commit( incoming: QuorumCertificate, vote_history: Dict[Tuple[str, int, int], str], attestations: Dict[str, str], threshold: int, ) -> str: """ vote_history maps (signer, view, height) -> value previously signed. attestations maps signer -> value the signer's prose claims it voted for. Returns the committed value only if no equivocation is found. """ if len(incoming.votes) < threshold: raise EquivocationDetected( f"QC for {incoming.value!r} has {len(incoming.votes)} votes, " f"below threshold {threshold}; not a valid quorum." ) for vote in incoming.votes: key = (vote.signer, vote.view, vote.height) prior = vote_history.get(key) if prior is not None and prior != vote.value: raise EquivocationDetected( f"Signer {vote.signer!r} equivocated at view={vote.view} " f"height={vote.height}: signed {prior!r} and {vote.value!r}. " f"Proof: both votes retained; evict signer before re-proposal." ) claimed = attestations.get(vote.signer) if claimed is not None and claimed != vote.value: raise EquivocationDetected( f"Signer {vote.signer!r} attested {claimed!r} in prose but " f"signed {vote.value!r} into QC at view={vote.view}. " f"Semantic channel conflicts with cryptographic channel." ) vote_history[key] = vote.value return incoming.value ```