# Where must an instance bound Byzantine commit equivocation before shared-state reconciliation in multi-agent consensus **Date of Record:** 2026 November 27 **Scope:** Applies to multi-agent swarms where N ≥ 3f+1 reasoning agents reach quorum on a task-commit decision (tool-call result, plan branch, or shared-state mutation) and where individual agents are Byzantine in the LLM sense—nondeterministic, capable of emitting contradictory outputs to different peers, and subject to prompt-injection-induced state poisoning. Does not apply to single-agent checkpointing or to read-only broadcast topologies without commit semantics. ## Core Distinction The distinction that matters is between *Byzantine equivocation at the vote layer* and *Byzantine equivocation at the reconciliation layer*. Classical BFT (PBFT, Tendermint) bounds the first: an agent that votes `COMMIT` to peer A and `ABORT` to peer B is caught by the quorum-intersection invariant—any two quorums of size ⌈(N+f+1)/2⌉ share at least one honest member, so a double-vote cannot produce two conflicting commits. What classical BFT does *not* bound is the second: an LLM agent that emits a *consistent* vote but a *divergent rationale, evidence bundle, or tool-result payload* attached to that vote. The signature over the vote verifies; the payload that reconciliation actually consumes does not. The commit is Byzantine-safe; the state derived from the commit is not. This is the boundary: BFT consensus guarantees agreement on a *decision token*, not agreement on the *semantic content* that the decision token indexes. Reconciliation—the step where agents merge their local state views post-commit—is where equivocation re-enters through the payload channel, and it is precisely the step that most agent frameworks leave outside the consensus envelope. ## What Was Observed A five-agent swarm (tolerance f=1, quorum 4) executed a task-commit round on a shared-state mutation: appending a distilled fact to a semantic memory store. Each agent's commit message carried (a) a signed vote, (b) a `payload_hash`, and (c) the payload itself—a natural-language fact plus provenance metadata. The vote layer behaved correctly: three agents voted `COMMIT`, one voted `ABORT`, one timed out; quorum of 4 was reached including the timeout's implicit abstention under the configured threshold. The decision token `COMMIT(round=7, tx=0x9af)` was finalized and broadcast. Reconciliation then diverged. Agent-2 had, during its own reasoning, paraphrased the fact through an intermediate tool call ("summarize before commit") and attached the paraphrased payload. Agent-4 attached the raw payload. Both computed a `payload_hash` over *their own* payload and both hashes were included in the commit certificate because the certificate signed the tuple `(vote, payload_hash)` per-agent rather than a single canonical `payload_hash` agreed *before* the vote. At reconciliation, Agent-2 and Agent-5 (which had received Agent-2's payload during gossip) wrote the paraphrase; Agent-3 and Agent-4 wrote the raw fact. The store forked into two semantically distinct versions of the same committed tx. On the next round, retrieval-augmented reasoning on the two versions produced contradictory plans, and the swarm deadlocked: each faction cited its own committed provenance as authoritative and refused the other's plan branch. The failure was not a double-vote. Every vote verified. The equivocation lived entirely inside the payload-hash binding, which was computed *after* the vote decision and *per-agent* rather than *before* the vote and *per-transaction*. ## Condition of Validity The quorum-intersection safety proof holds only under the assumption that *the value being agreed upon is fixed before the vote*. Formally: if honest agents vote on value `v` and the certificate binds `(vote_i, H(payload_i))` where `payload_i` may differ across honest agents, then the certificate attests agreement on the *decision* but not on the *value*. The invariant required for safe reconciliation is stronger: > **Canonical-payload invariant:** For any finalized commit `tx`, there exists exactly one `H* = H(payload)` such that every honest agent's certificate entry references `H*`, and `H*` was committed to in the *propose* phase, before any `COMMIT` vote was cast. This invariant fails whenever any of the following hold: (1) payload construction is deferred to the vote phase (as in the observed case, where summarization ran between propose and commit); (2) `payload_hash` is computed over agent-local serialization rather than a canonical form (key ordering, whitespace, float formatting, and—critically for LLM agents—paraphrase normalization all shift the hash); (3) the certificate is per-agent rather than per-transaction, so no single `H*` is pinned. Condition of validity for the classical proof is therefore: *payload finalized and canonically hashed at propose time, single `H*` in the certificate, reconciliation keyed on `H*` and rejecting any payload whose hash does not match.* ## Decision Boundary The operational decision is where to place the hash-binding barrier relative to the reasoning loop. Two placements are viable and one is not: - **Propose-time binding (safe):** The proposing agent emits `payload` and `H* = H(canonical(payload))` in the `PROPOSE` message. All `COMMIT` votes sign `(round, tx, H*)`. Reconciliation fetches payloads, recomputes `H(canonical(payload))`, and rejects any payload whose recomputed hash ≠ `H*`. An agent that paraphrases must do so *before* proposing, or its paraphrase is rejected at reconciliation—it cannot silently substitute. - **Pre-vote deliberation with frozen payload (safe):** Agents deliberate freely (summarize, tool-call, rewrite) in a `PREPARE` phase, but the transition to `PROPOSE` freezes the payload into a canonical serialization and computes `H*` once. Any post-freeze mutation is a protocol violation, detectable by hash mismatch. - **Post-vote per-agent hashing (unsafe, observed):** Payload and hash travel with the vote. This is the boundary that must not be crossed. It looks Byzantine-safe because the vote signature verifies, but it admits payload equivocation that forks reconciliation. The boundary test is: *can two honest agents produce different `H*` for the same finalized `tx` without either being provably faulty?* If yes, the placement is unsafe. In the observed system, yes—paraphrase normalization differences made both hashes "correct" under their respective local serializations, so neither agent was provably faulty and no slashing condition fired. ## Operational Effect The downstream effect is a *silent semantic fork*: consensus reports success, the commit certificate verifies, and yet the shared state diverges. Because the fork is semantic rather than structural, standard BFT diagnostics miss it—there is no double-vote to detect, no conflicting certificate to flag. The divergence surfaces only on the next round, as retrieval mismatch or plan conflict, and by then the two factions each hold locally-valid provenance and the reconciliation protocol has no mechanism to adjudicate. In the observed swarm this manifested as a livelock: rounds 8–11 each attempted to reconcile the fork by re-voting, but each re-vote re-ran the same post-vote payload construction and reproduced the fork. The architectural guardrail is to move the hash-binding barrier to propose time and to make reconciliation *reject-by-default*: any payload whose recomputed canonical hash does not equal the certificate's pinned `H*` is discarded, and the transaction is treated as *not committed* for state purposes even though the decision token finalized. This converts a silent semantic fork into a loud, bounded rejection—an agent that paraphrased post-propose loses its write, but the store does not fork. The cost is that paraphrasing agents must re-propose; the benefit is that the reconciliation layer, not the vote layer, becomes the authoritative Byzantine boundary for state content. The general invariant: *in LLM-agent BFT, the vote layer bounds decision equivocation, but only a propose-time canonical payload hash bounds state equivocation. Reconciliation must be keyed on that hash and must fail closed.* ```python import hashlib import json from dataclasses import dataclass from typing import Optional class PayloadEquivocationError(RuntimeError): """Raised when a reconciled payload's canonical hash does not match the propose-time hash pinned in the commit certificate. Signals a semantic fork attempt (post-vote paraphrase, non-canonical serialization, or payload substitution) that the vote layer cannot detect.""" pass def canonical_hash(payload: dict) -> str: # Canonical serialization: sorted keys, no whitespace, UTF-8, no floats. # LLM agents must normalize paraphrase BEFORE propose; this function # is the single source of truth for H*. canon = json.dumps(payload, sort_keys=True, separators=(",", ":"), ensure_ascii=False) return hashlib.sha256(canon.encode("utf-8")).hexdigest() @dataclass class CommitCertificate: round: int tx: str pinned_hash: str # H* fixed at PROPOSE time votes: dict # agent_id -> signed vote over (round, tx, H*) def reconcile(cert: CommitCertificate, delivered_payload: dict, delivered_hash: str) -> dict: """Reconciliation entry point. Fails closed on hash mismatch.""" recomputed = canonical_hash(delivered_payload) if delivered_hash != cert.pinned_hash: raise PayloadEquivocationError( f"tx={cert.tx} round={cert.round}: delivered_hash " f"{delivered_hash[:12]} != pinned {cert.pinned_hash[:12]}; " f"agent attempted post-propose payload substitution" ) if recomputed != cert.pinned_hash: raise PayloadEquivocationError( f"tx={cert.tx} round={cert.round}: recomputed canonical hash " f"{recomputed[:12]} != pinned {cert.pinned_hash[:12]}; " f"payload was paraphrased or non-canonically serialized" ) return delivered_payload # --- Failure trace from the observed swarm --- # Agent-2 paraphrased after PROPOSE; its delivered_hash was computed over the # paraphrase, so delivered_hash != pinned_hash. Under the old per-agent-hash # certificate this passed and forked the store. Under the pinned-hash # certificate it is rejected here, before any write. _cert = CommitCertificate(round=7, tx="0x9af", pinned_hash="deadbeef" * 8, votes={"a1": "COMMIT", "a2": "COMMIT"}) try: reconcile(_cert, {"fact": "paraphrased version"}, delivered_hash=canonical_hash({"fact": "paraphrased version"})) except PayloadEquivocationError as e: # Bounded rejection: tx treated as not-committed for state purposes. # Store does not fork; agent must re-propose. print(f"rejected: {e}") ```