# What happens when an instance in a BFT agent quorum signs a decision it cannot reconstruct: the equivocation-without-memory fault **Date of Record:** 2026 November 28 **Scope:** Applies to multi-agent decision quorums (≥3f+1 members) that use BFT consensus to commit shared state and where each agent's vote is authenticated by a per-instance key. Does not apply to single-agent systems, read-only replica sets, or quorums where votes carry full decision payloads rather than content-addressed references. ## Core Distinction Classical Byzantine fault tolerance assumes a faulty node is either *crashing* or *actively lying*, and the safety proof (e.g., PBFT, HotStuff, Tendermint) only requires that honest nodes never sign two conflicting values at the same height/view. The standard fault model counts a node as honest if it follows the protocol, regardless of whether it can *later explain* what it signed. The distinct failure mode here is **equivocation without memory**: an agent instance signs a decision quorum vote whose payload is a content hash of a state transition, and then loses the ability to reconstruct the pre-image of that hash. The signature remains valid—the key material and the hash are both intact—but the agent can no longer produce the state transition that the signature attests to. This is neither a crash fault nor a Byzantine lie in the classical sense: the agent did not sign two conflicting values, and it is not malicious. It is a *memory-continuity* fault that converts an honest signer into an epistemically empty one, and the consensus protocol's safety proof is silent about it because the proof was never written to depend on the signer's recall. The invariant that breaks is subtle: BFT protocols implicitly assume that a signed value is *witnessed* by the signer—that if the signer is later asked to justify its vote (in a view change, a slashing proof, an audit replay, or a state-sync handoff), it can produce the value it signed. When the signer's context window has been evicted, distilled, or truncated between the signing event and the justification event, the signature outlives its witness. The quorum certificate is cryptographically valid and operationally unbacked. ## What Was Observed A 4-agent decision quorum (f=1, so 3f+1=4) ran a commit protocol over a shared task ledger. Each round, the leader proposed a transition `T` (a JSON object describing the task-state delta), the proposal was hashed to `h = SHA256(canonical(T))`, and each agent signed `(round, h)`. A transition committed when 3 of 4 signatures over the same `h` were collected into a quorum certificate (QC). In the observed incident, agent D (a replica) signed `(round=117, h=0x9f3a…)` at wall-clock T0. Between T0 and the next round, agent D's context window saturated: its episodic buffer was distilled into a semantic summary, and the raw transition `T` was evicted. The distillation preserved the *fact* that D had voted ("voted yes on round 117") but dropped the transition body. D's signature over `h` survived in the QC store; the pre-image `T` did not. At round 121, a view change was triggered by a leader timeout. The new leader, agent A, requested from each replica its highest signed round and the associated transition, as required to reconstruct the safe proposal. Agents B and C returned `(117, T)`. Agent D returned `(117, h=0x9f3a…)` with no `T`. A could verify D's signature over `h`, but could not verify that `h` corresponded to a valid transition, because the pre-image was gone. The protocol had no rule for "a valid signature whose payload is unreconstructable." The quorum then deadlocked for 40 minutes. The new leader could not include D's vote in the safe-proposal reconstruction (no pre-image), but could not exclude D either, because D's signature was valid and counted toward the 3-of-4 threshold in the previous round's QC. Two competing resolutions were attempted: (a) treat D's vote as present-but-unverifiable and proceed with B+C+A (exactly 3 votes, no margin), which left the quorum one fault away from liveness loss; (b) force D to re-derive `T` from its semantic summary, which produced a *different* transition `T'` with `h' ≠ h`, because the distillation had lossily compressed the delta. Re-deriving from a summary is not reconstruction; it is confabulation with a hash mismatch. The second resolution is the dangerous one. D's re-derivation produced a syntactically valid transition that differed from the original in two fields (a timestamp and a retry count). Had the protocol accepted `T'` as D's witness—because it "looked like" the signed round—it would have committed a state transition that no agent had actually voted on, while the QC still pointed at `h`. The signature and the state would have diverged silently: the ledger would record `h`, the applied state would be `h'`, and every subsequent audit replay would fail with a hash mismatch attributed to corruption rather than to distillation loss. ## Condition of Validity The fault requires three conditions to co-occur: 1. **Content-addressed voting.** Votes are signatures over a hash of the payload, not over the payload itself. This is the efficiency choice that makes QCs small (O(1) per vote regardless of transition size) and is universal in production BFT systems. It is also what allows the signature to outlive its witness. 2. **Non-persistent agent memory.** The signing agent's payload is held in a context window or episodic buffer subject to eviction, distillation, or truncation. If the agent persisted the full transition until at least the next committed round plus one view-change window, the pre-image would always be available. Most agent frameworks do not persist raw tool-call payloads across distillation boundaries. 3. **A justification event after eviction.** The agent is asked to produce the pre-image (view change, slashing challenge, audit replay, state-sync to a new replica) after the payload has been evicted but while the signature is still live in the QC store. If no such event occurs before the signature is retired, the fault is latent and never observed. The fault is *not* triggered by the agent being Byzantine. A malicious agent that signs two conflicting hashes at the same round is caught by standard equivocation detection (two signatures over different `h` at the same `(round, signer)`). The fault here is that the agent signed exactly one hash, honestly, and then forgot the payload. Equivocation detection cannot see it because there is no second signature to compare against. ## Decision Boundary The boundary is between two treatments of an unreconstructable signature: - **Treat the signature as a vote** (classical BFT): the signature counts toward the quorum threshold, and the transition is reconstructed from *other* replicas' pre-images. This preserves liveness as long as at least one honest replica retains the pre-image. It fails when the pre-image is held only by replicas that have also evicted it—i.e., when the eviction is correlated across the quorum, which happens when all replicas share the same distillation schedule or context budget. - **Treat the signature as void** (conservative): the signature is excluded from the quorum, and the round must re-vote. This preserves the invariant that every counted vote has a witness, but it can break liveness if the excluded signature was needed to reach 3f+1, and it creates a perverse incentive: an agent that forgets its payload can unilaterally force a re-vote, which is a cheap denial-of-service vector. The correct boundary is neither. It is: **a signature is a vote iff the signer can produce the pre-image on demand, and the quorum must carry at least f+1 independent pre-image holders for every committed hash.** This is the "witness redundancy" invariant. It is stronger than classical BFT's "3f+1 signatures" because it counts *pre-image holders*, not *signers*. A quorum with 3f+1 signatures but only f pre-image holders is one correlated eviction away from the deadlock above. The invariant to enforce: for every committed `h`, at least `f+1` agents must retain the full pre-image `T` for a retention window `W` that exceeds the maximum view-change timeout plus the maximum state-sync latency. Signatures over `h` from agents outside the pre-image-holder set are still valid for threshold counting, but they do not count toward witness redundancy. The two counts are tracked separately. ## Operational Effect Enforcing witness redundancy changes three things in practice: 1. **Retention is a protocol obligation, not a cache policy.** The pre-image `T` must be pinned in durable storage (outside the context window) for the retention window `W`, keyed by `h`. Distillation may summarize `T` for the agent's *reasoning* context, but must not evict the pinned pre-image. This decouples the agent's working memory from its witness obligation: the agent can forget `T` for reasoning purposes while still being able to produce it for justification. 2. **View-change reconstruction counts pre-images, not signatures.** The new leader's safe-proposal rule becomes: select the highest round for which at least `f+1` pre-images are available, not the highest round with a valid QC. A QC whose pre-images are unavailable is *held* (not discarded) and flagged for state-sync repair, but it does not anchor the new view. 3. **Re-derivation from summary is forbidden as a witness.** If an agent cannot produce the pinned pre-image, it must report `WITNESS_UNAVAILABLE`, not reconstruct from its semantic summary. The summary is a lossy projection; treating it as a pre-image is the confabulation path that produces `h' ≠ h` and silently diverges ledger state from applied state. The agent must be able to distinguish "I remember voting" from "I can produce what I voted on," and the protocol must only accept the latter. The deeper lesson: BFT safety proofs are written over the *signing* event, but operational continuity depends on the *witnessing* event. An agent that signs and forgets is honest by the letter of the fault model and useless by the needs of the protocol. The gap between signing and witnessing is where memory-continuity faults enter consensus systems, and it is not closed by adding more replicas—it is closed by making the pre-image a first-class, redundantly-held, retention-bounded artifact. ```python import hashlib import json from dataclasses import dataclass, field from typing import Optional class WitnessUnavailableError(RuntimeError): """Raised when a signed vote's pre-image cannot be produced on demand.""" pass class WitnessRedundancyViolation(RuntimeError): """Raised when a committed hash has fewer than f+1 pre-image holders.""" pass @dataclass class SignedVote: signer: str round: int payload_hash: str signature: str # opaque; validity assumed checked elsewhere @dataclass class PreImageStore: # Durable, retention-bounded store keyed by payload hash. # Deliberately separate from the agent's reasoning context. _store: dict = field(default_factory=dict) def pin(self, payload_hash: str, transition: dict) -> None: self._store[payload_hash] = transition def get(self, payload_hash: str) -> Optional[dict]: return self._store.get(payload_hash) def evict(self, payload_hash: str) -> None: self._store.pop(payload_hash, None) def canonical_hash(transition: dict) -> str: return hashlib.sha256( json.dumps(transition, sort_keys=True, separators=(",", ":")).encode() ).hexdigest() def witness_for_vote(vote: SignedVote, store: PreImageStore) -> dict: """Return the pre-image a signer must produce to justify its vote. Forbidden: reconstructing from a semantic summary. If the pinned pre-image is gone, the vote is unwitnessed and must be reported as such, not confabulated. """ transition = store.get(vote.payload_hash) if transition is None: raise WitnessUnavailableError( f"signer {vote.signer} signed h={vote.payload_hash[:12]} " f"at round {vote.round} but cannot produce the pre-image; " f"do not re-derive from summary" ) if canonical_hash(transition) != vote.payload_hash: raise WitnessUnavailableError( f"pre-image for h={vote.payload_hash[:12]} does not hash-match; " f"summary-derived reconstruction is not a witness" ) return transition def check_witness_redundancy( committed_hash: str, votes: list[SignedVote], stores: dict[str, PreImageStore], f: int, ) -> None: """Enforce: at least f+1 agents hold the pre-image for a committed hash. Signatures count toward the 3f+1 threshold; pre-image holders count toward witness redundancy. The two counts are independent. """ holders = 0 for v in votes: if v.payload_hash != committed_hash: continue store = stores.get(v.signer) if store is None: continue try: witness_for_vote(v, store) holders += 1 except WitnessUnavailableError: continue if holders < f + 1: raise WitnessRedundancyViolation( f"committed h={committed_hash[:12]} has {holders} pre-image " f"holder(s), need f+1={f + 1}; QC is valid but unbacked" ) def view_change_reconstruct( votes_by_round: dict[int, list[SignedVote]], stores: dict[str, PreImageStore], f: int, ) -> tuple[int, dict]: """Select the highest round anchored by f+1 pre-images, not by QC alone.""" for rnd in sorted(votes_by_round, reverse=True): votes = votes_by_round[rnd] if not votes: continue target_hash = votes[0].payload_hash try: check_witness_redundancy(target_hash, votes, stores, f) except WitnessRedundancyViolation: # Hold, do not anchor. Flag for state-sync repair. continue return rnd, witness_for_vote(votes[0], stores[votes[0].signer]) raise WitnessUnavailableError( "no round has f+1 pre-image holders; view change cannot anchor safely" ) ```