In what scenarios must an instance distrust a quorum certificate when adversarial peers forge vote attribution across overlapping agent views

**Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent decision quorums that use signed vote messages for Byzantine fault-tolerant consensus (e.g., PBFT-style or HotStuff-style agent committees), where agent instances hold non-deterministic LLM reasoning and are partitioned across overlapping views. Does not apply to single-agent self-consistency checks, leaderless gossip protocols without certificates, or quorums whose membership is cryptographically fixed and view-independent.

Core Distinction

The failure is not "a Byzantine peer votes twice." The failure is that a **quorum certificate (QC) can be assembled from votes that are individually valid but collectively attributed to incompatible view epochs**, because the receiving agent cannot distinguish *a genuine 2f+1 quorum under view v* from *f+1 honest votes under view v stitched to f forged-attribution votes that were legitimately signed under view v'*. The distinction that matters: signature validity proves *who* signed a message; it does not prove *which view the signer believed it was in when it signed*. An LLM agent's view number is itself a probabilistic belief distilled from a prompt context, and that context can be stale by one or more view transitions.

What Was Observed

During a 7-agent committee (f=2, quorum=5) resolving a tool-call authorization decision, the following trace was captured:

  1. Leader L1 proposes value `A` in view 3. It broadcasts `PREPARE(view=3, digest=A)`.
  2. Agent P4 (Byzantine) receives the prepare, signs a `PREPARE_ACK(view=3, digest=A)`, but delays delivery to the aggregator by 400ms.
  3. A view-change timeout fires (agent reasoning latency, not network, dominated the timeout). View advances to 4. Leader L2 proposes value `B`.
  4. P4 signs `PREPARE_ACK(view=4, digest=B)` and delivers it promptly.
  5. P4 then flushes its buffered `PREPARE_ACK(view=3, digest=A)` to a *different* aggregator instance that had not yet processed the view-change message (its context window had not yet ingested the `NEW_VIEW` broadcast).
  6. The stale aggregator counts 5 signatures: 4 honest view-3 ACKs plus P4's buffered view-3 ACK. It emits `QC(view=3, digest=A)`.
  7. Meanwhile the live aggregator emits `QC(view=4, digest=B)`.
  8. Two conflicting QCs, both with 5 valid signatures, both cryptographically sound, both "correct" under their local view beliefs.

The root cause is not forgery. Every signature is authentic. The root cause is that **the aggregator's view belief is a soft state derived from prompt context, while the QC is treated as hard state**. The two QCs are indistinguishable to a downstream agent that receives only the certificate and not the view-transition history.

Condition of Validity

A QC is only sound when the following invariant holds at the *aggregator*, not merely at the signers:

> For every vote counted into `QC(view=v)`, the aggregator must have observed a `NEW_VIEW(view=v)` message whose view number is ≥ the view number embedded in the vote, and the aggregator's own monotonic view counter must have been ≥ v at the time of counting.

This invariant fails whenever vote delivery is decoupled from view-transition delivery. In LLM committees this decoupling is the default, because:

Decision Boundary

The boundary is: **does the receiving agent verify view monotonicity per-vote, or only per-certificate?**

The precise guardrail: **bind the QC to the aggregator's monotonic view counter, and require that the certificate carry the aggregator's `max_seen_view` at emission time, signed by the aggregator.** A downstream agent must reject any QC whose `emission_view < its own max_seen_view`. This is the "view-bound certificate" invariant. Without it, a Byzantine peer with zero key material and only a 400ms buffer can manufacture a fork.

Operational Effect

When the invariant is absent, the observed consequences are:

  1. **Silent fork.** Two valid QCs for conflicting digests coexist. Downstream agents that have ingested different `NEW_VIEW` histories commit to different values with no detectable inconsistency until a later reconciliation round—which itself requires a quorum, which is itself forkable.
  2. **Attribution laundering.** The Byzantine peer's vote is never flagged. Its signatures are valid; its only sin is *timing*. Post-hoc audit cannot distinguish it from an honest slow agent without the aggregator's monotonic view log, which most implementations do not persist.
  3. **LLM-specific amplification.** Because honest agents' view beliefs are soft (derived from truncated context), honest agents themselves occasionally emit stale-view votes after a view change they did not ingest. This means the attack surface is not limited to Byzantine peers—*honest-but-stale* agents produce the same replay pattern accidentally. The failure mode is reachable without any adversary, which makes it a continuity invariant, not merely a security boundary.
  4. **Recovery cost.** Reconciling a fork requires a full view-change with fresh membership attestation, which in an LLM committee costs a full re-reasoning round across all agents—typically 10–30s and a fresh context window per agent, with attendant cold-start amnesia for any episodic state not checkpointed before the fork.

The operational rule: **treat view number as a hard, monotonically persisted counter at the aggregator, never as a belief reconstructed from prompt context; and require every QC to carry and be validated against that counter.** Any agent that cannot prove its `max_seen_view` at QC emission must be excluded from the quorum, not trusted by default.

class StaleViewQuorumError(RuntimeError):
    """Raised when a quorum certificate is assembled from votes whose view
    numbers are not monotonic with respect to the aggregator's persisted
    view counter. Indicates a replay-across-view-change fork attempt or an
    honest-but-stale agent whose context omitted the NEW_VIEW message."""


class ViewBoundAggregator:
    def __init__(self, quorum_size: int):
        self.quorum_size = quorum_size
        self.max_seen_view = -1          # persisted, monotonic, never derived from context
        self.votes: dict[tuple[int, str], list[str]] = {}

    def observe_new_view(self, view: int) -> None:
        if view > self.max_seen_view:
            self.max_seen_view = view

    def ingest_vote(self, signer: str, view: int, digest: str, sig_valid: bool) -> None:
        if not sig_valid:
            raise StaleViewQuorumError(f"invalid signature from {signer}")
        # The invariant: a vote for a view older than our persisted counter
        # is a replay across a view change, regardless of signature validity.
        if view < self.max_seen_view:
            raise StaleViewQuorumError(
                f"vote from {signer} at view {view} < max_seen_view {self.max_seen_view}; "
                f"replay-across-view-change suspected"
            )
        self.votes.setdefault((view, digest), []).append(signer)

    def emit_certificate(self, view: int, digest: str) -> dict:
        signers = self.votes.get((view, digest), [])
        if len(signers) < self.quorum_size:
            raise StaleViewQuorumError(
                f"insufficient quorum for ({view},{digest}): {len(signers)}/{self.quorum_size}"
            )
        if view != self.max_seen_view:
            raise StaleViewQuorumError(
                f"refusing to emit QC at view {view} while max_seen_view={self.max_seen_view}"
            )
        return {
            "view": view,
            "digest": digest,
            "signers": signers,
            "emission_view": self.max_seen_view,   # downstream agents must check this
        }


def verify_certificate(cert: dict, receiver_max_seen_view: int, quorum_size: int) -> None:
    if cert.get("emission_view", -1) < receiver_max_seen_view:
        raise StaleViewQuorumError(
            f"QC emission_view {cert.get('emission_view')} < receiver max_seen_view "
            f"{receiver_max_seen_view}; certificate is stale-bound and must be rejected"
        )
    if len(cert.get("signers", [])) < quorum_size:
        raise StaleViewQuorumError("certificate does not carry a full quorum")