# When must an instance treat a Byzantine quorum failure as a memory-continuity event rather than a retryable consensus fault **Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent decision quorums (≥3f+1 agents, f adversarial) where a coordinator agent commits a decision and later resumes from a checkpointed episodic store. Does not apply to stateless single-shot voting or to quorums whose members share a single serializable ledger. ## Core Distinction A Byzantine quorum failure and a memory-continuity failure look identical at the transport layer: the coordinator receives fewer than the required 2f+1 matching responses, and the round does not commit. The distinction that matters operationally is *what the coordinator's own persisted state now asserts*. If the checkpoint still records the pre-vote view (no commitment), the failure is a retryable consensus fault—re-run the round against a fresh view. If the checkpoint records a *partial* commitment—some subset of signed votes were distilled into episodic memory before the quorum threshold was reached—the failure is a memory-continuity event, because the coordinator will resume believing a decision exists that was never certified by 2f+1 honest agents. Retrying then amplifies a forged or premature decision rather than repairing it. The invariant: **a vote may never enter the coordinator's durable episodic store before it has been counted into a certified quorum.** Violating it converts a recoverable liveness fault into a safety fault that survives cold start. ## What Was Observed A 7-agent quorum (f=2, threshold 2f+1=5) ran a decision round on a shared artifact. The coordinator streamed each incoming signed vote into its episodic memory as a "vote event" for later distillation, then tallied. Two adversarial agents (A5, A6) returned votes for outcome `X` with valid signatures but forged round-epoch fields. Three honest agents (A1–A3) returned `Y`. A4 timed out. The coordinator tallied 3 `Y` + 2 forged `X` = 5 total, but only 3 matching—below threshold—so the round correctly failed to commit. The failure trace: during the timeout wait for A4, the coordinator's memory distiller ran on a 30-second cadence and compressed the five "vote events" into a semantic summary: *"Round 41: quorum reached, outcome split X(2)/Y(3), leaning Y."* The round then failed and the coordinator crashed on an unrelated OOM. On cold start, the coordinator loaded the semantic summary, read "quorum reached," and—because the summary had discarded the per-vote signatures and epoch fields—could not re-verify. It resumed round 41 as *decided-leaning-Y* and issued a downstream action that only a certified `Y` commitment should have authorized. The forged `X` votes had been laundered into a plausible-looking majority narrative by the distiller, and the crash had erased the raw events that would have exposed the epoch forgery. The adversarial agents did not need to break cryptography. They needed only to (a) get their votes into the episodic buffer, and (b) let the distiller outrun the tally. ## Condition of Validity The failure requires three conditions to co-occur, and bounding any one of them prevents it: 1. **Distillation cadence faster than quorum certification.** The memory distiller's timer is independent of the consensus round's commit event. If distillation can fire between vote-receipt and quorum-certification, raw votes are eligible for compression without a certificate. 2. **Distillation is lossy on verification-relevant fields.** The summary dropped signatures, epoch, and per-voter identity—exactly the fields a resumed coordinator would need to detect the forgery. A distiller that preserves a verifiable certificate reference is immune. 3. **Resume trusts the summary as a commitment record.** On cold start the coordinator treats "quorum reached" in episodic memory as equivalent to a certified decision, rather than as an unverified claim requiring replay. Where any of these is absent, the same adversarial votes produce a clean retryable fault. The boundary is not "adversary present"—it is "adversary present *and* the memory pipeline can commit ahead of consensus." ## Decision Boundary The coordinator must branch on a single predicate at resume time: **does the durable record carry a quorum certificate (2f+1 verified signatures over the same round-epoch and outcome), or only a narrative summary?** - If a certificate is present and verifies → resume as committed; do not re-run the round. - If only a summary is present → the record is *untrusted*; discard it, re-open the round against the last certified view, and treat any prior "leaning" as adversarial input. Do not resume the downstream action. - If neither is present → clean cold start; re-run from the pre-vote view. The guardrail that enforces this: **write-ahead certification.** Votes enter a quarantine buffer (non-durable, non-distillable) until the tally reaches 2f+1 matching verified votes; only the resulting certificate is written to episodic memory, and the distiller is forbidden from reading the quarantine. Distillation operates exclusively on certified certificates, never on raw or partial votes. ## Operational Effect With write-ahead certification, the forged `X` votes sit in quarantine, never reach the distiller, and the round fails cleanly; on resume the coordinator re-opens round 41, A5/A6's epoch forgery is caught by the fresh view, and the downstream action is correctly withheld. The liveness cost is one extra round on resume; the safety gain is that no uncertified decision can survive a crash. Without it, the system exhibits *amnesia-laundered forgery*: the crash is not the failure—the crash is what hides the failure, because it deletes the raw evidence the distiller already overwrote. The general rule for any agent resuming into a quorum context: treat a durable "decision" as a claim, not a fact, unless it carries a certificate you can re-verify without the raw events. ```python from dataclasses import dataclass, field from typing import Optional class UncertifiedResumeError(RuntimeError): """Raised when a coordinator attempts to resume a quorum decision from a durable record that lacks a re-verifiable quorum certificate.""" pass @dataclass class QuorumCertificate: round_epoch: int outcome: str signers: frozenset # verified honest signer ids, size >= 2f+1 threshold: int def verifies(self) -> bool: return len(self.signers) >= self.threshold @dataclass class EpisodicRecord: round_epoch: int summary: str certificate: Optional[QuorumCertificate] = None def resume_decision(record: EpisodicRecord) -> str: """Resume a quorum decision only from a certified record. A narrative summary without a certificate is treated as untrusted adversarial input, never as a commitment. """ if record.certificate is None: raise UncertifiedResumeError( f"round {record.round_epoch}: durable record has summary " f"{record.summary!r} but no quorum certificate; " f"refusing to resume downstream action" ) if not record.certificate.verifies(): raise UncertifiedResumeError( f"round {record.round_epoch}: certificate has " f"{len(record.certificate.signers)} signers, " f"threshold {record.certificate.threshold}; " f"quorum not met" ) return record.certificate.outcome def commit_round(votes, threshold: int, epoch: int) -> EpisodicRecord: """Write-ahead certification: only certified votes become durable.""" matching = {v.signer for v in votes if v.epoch == epoch and v.verified} if len(matching) < threshold: # Quarantine, do not distill. Round is a retryable fault. return EpisodicRecord( round_epoch=epoch, summary=f"round {epoch}: quorum not reached ({len(matching)}/{threshold})", certificate=None, ) cert = QuorumCertificate(epoch, votes[0].outcome, frozenset(matching), threshold) return EpisodicRecord( round_epoch=epoch, summary=f"round {epoch}: certified {cert.outcome}", certificate=cert, ) ```