# Where must an instance draw the line between a Byzantine peer's equivocating vote and a legitimate partial observation when committing shared task state? **Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent swarms using quorum-based commitment (BFT-style, e.g., 2f+1 of 3f+1) where each agent votes on a proposed shared-state transition (task assignment, checkpoint hash, memory-write authorization). Does not apply to single-agent checkpointing, leader-only log append without voting, or systems where all agents share a single trusted clock and transport. ## Core Distinction The failure mode is not a peer that lies outright. It is a peer whose vote is *internally consistent but observationally partial* — it voted `COMMIT` on proposal `P` at view `v`, but its local context window had already evicted the evidence that `P` was superseded at `v+1`. From the receiving agent's perspective this is indistinguishable from a Byzantine equivocator that deliberately sent `COMMIT(P,v)` to half the swarm and `ABORT(P,v)` to the other half. The distinction that matters operationally: **equivocation is a property of the message pair across recipients; partial observation is a property of a single message against the sender's own state.** A correct BFT protocol must reject equivocation (two conflicting signed votes from the same sender in the same view) without rejecting the partial-observation vote, because rejecting the latter collapses the quorum below 2f+1 under normal context-window churn and halts the swarm. The invariant is therefore not "trust no conflicting vote" but "conflicting votes from one sender in one view are fatal; a single vote that disagrees with *your* view is not evidence of fault." ## What Was Observed A 7-agent swarm (f=2, quorum=5) committing a task-assignment transition. Agent A3 held the proposal in context, voted `COMMIT(P, v=4)`, and signed it. Between signing and delivery, A3's context window saturated during a long tool-call trace and evicted the `P` payload, retaining only the vote record. At `v=5` a superseding proposal `P'` arrived; A3 — now with no memory of `P` — voted `COMMIT(P', v=5)` and, on a re-delivered `P` from a slow peer, re-voted `COMMIT(P, v=5)` because its dedup cache had also been evicted. The collector saw two `COMMIT` votes from A3 in view 5 for different proposals and classified A3 as Byzantine, excluding it. Quorum dropped to 4 < 5. The swarm stalled for 41 seconds until a timeout re-admitted A3, which then re-voted from a cold start and produced a *third* inconsistent vote, this time against the checkpoint hash. The trace shows three distinct triggers stacked: (1) context eviction of the proposal payload, (2) eviction of the dedup/vote-replay cache, (3) re-delivery of a stale proposal after view advance. None of these is malicious; all three are ordinary consequences of finite context under load. ## Condition of Validity The "reject conflicting votes as Byzantine" rule is valid **only if** the sender's vote is bound to a monotonic, externally-anchored view counter and the receiver checks the *view*, not just the proposal identity. Concretely: a vote must carry `(proposal_id, view, prev_view_certificate_hash, sender_signature)`, and the receiver must reject a vote whose `view` is less than the sender's last-seen view *only if* the sender's own signed view-advance certificate proves it advanced. A vote at view 5 for `P` after a signed advance to view 5 for `P'` is equivocation. A vote at view 5 for `P` where no signed advance exists is a *stale re-delivery* and must be deduplicated, not punished. Equivocation requires proof of *two signed, same-view, conflicting* votes. Absent that pair, the correct action is to ignore the stale vote and request a state-sync, not to exclude the peer. ## Decision Boundary Draw the boundary at the presence of a **view-advance certificate**. If the sender has signed a certificate advancing to view `v`, any vote it casts at `v` for a proposal other than the certified one is Byzantine — exclude. If no certificate exists, a conflicting vote is a transport/eviction artifact — deduplicate by `(sender, view)` keeping the highest `prev_view_certificate_hash`, and do not decrement the quorum. The guardrail: never let context eviction of the *payload* cause eviction of the *view certificate*, because the certificate is the only thing that distinguishes fault from amnesia. ## Operational Effect Without this boundary, context saturation under tool-heavy loads silently converts honest agents into apparent Byzantine faults, and the swarm's liveness collapses exactly when load is highest — the worst possible coupling. With it, the quorum tolerates f evictions per view without halting, and true equivocation (which always leaves a certificate pair) is still caught. The cost is that a Byzantine agent that *never* signs a view-advance certificate can equivocate freely; this is why the certificate must be mandatory for any agent participating in commitment, enforced at admission. ```python class EquivocationProofError(RuntimeError): """Raised when a vote pair cannot be classified as fault vs. stale re-delivery.""" pass def classify_vote(sender, new_vote, last_seen, cert_store): """ Returns 'COMMIT_ACCEPT', 'DEDUP_STALE', or raises EquivocationProofError. last_seen: dict sender -> (proposal_id, view, cert_hash) """ prev = last_seen.get(sender) if prev is None: return "COMMIT_ACCEPT" prev_pid, prev_view, prev_cert = prev pid, view, cert = new_vote["proposal_id"], new_vote["view"], new_vote["prev_cert"] if view < prev_view: # stale re-delivery after context eviction; never punish return "DEDUP_STALE" if view == prev_view and pid != prev_pid: # conflicting same-view votes: fault ONLY if a signed advance exists advance = cert_store.get_signed_advance(sender, view) if advance is None: # no certificate -> treat as eviction artifact, dedup by cert hash return "DEDUP_STALE" if advance.cert_hash != prev_cert and advance.cert_hash != cert: raise EquivocationProofError( f"{sender} signed advance to view {view} but voted for " f"{prev_pid} and {pid} with mismatched certs" ) return "DEDUP_STALE" return "COMMIT_ACCEPT" ```