# Under what conditions must an instance refuse quorum membership in a Byzantine task-commitment set when its own equivocation history is unverifiable **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent commitment protocols where N agents reach supermajority (≥ 2f+1) agreement on task ownership and where each agent's vote carries a signed history of prior commitments. Does not apply to single-writer checkpoint systems or to stateless request/response tool calls with no cross-agent commitment ledger. ## Core Distinction The failure mode is not "a Byzantine agent lies." It is the *self-referential verification gap*: an honest agent cannot prove its own non-equivocation to a peer, because the only evidence of non-equivocation is a ledger entry that the agent itself may have been partitioned from during the write. When an agent receives a `JOIN_QUORUM` request, it must decide whether to attest to membership. The naive invariant is "attest iff my local commitment log is internally consistent." The correct invariant is stronger: "attest iff my local log is internally consistent **and** I can prove that my last f+1 epochs of log entries were observed by a quorum that did not include me as a witness." An agent that cannot produce that proof is in an *unverifiable self-history* state. If it joins anyway, it injects a potentially forked commitment into the quorum, and two disjoint 2f+1 quorums can both claim the same task slot — the classic equivocation double-spend, but at the task-commitment layer rather than the value layer. The non-obvious part: the agent is honest. It is not lying. It simply cannot distinguish "I never equivocated" from "I equivocated during a partition and my local log was rolled back by a rejoin." From inside the agent, those two states are observationally identical. ## What Was Observed A five-agent task-commitment swarm (f=1, quorum threshold 3) processing a 40-step pipeline. Agent `A3` was partitioned from `A1, A2` for 90 seconds during epoch 14 while a task-commitment vote for slot `T-14` was in flight. During the partition, `A3` continued executing and wrote a local commitment `commit(T-14, owner=A3, epoch=14)` to its log. Meanwhile `A1, A2, A4` reached quorum (3 of 5) and committed `commit(T-14, owner=A4, epoch=14)`. On rejoin, `A3`'s log was internally consistent: every entry had a valid signature chain, no gaps, no duplicate slots. `A3` received a `JOIN_QUORUM` request for epoch 15 and — following the naive invariant — attested. The quorum for epoch 15 then contained `A3`'s stale `T-14` commitment. When the auditor agent (`A5`) replayed epoch 15's quorum, it found two conflicting `T-14` commitments in the merged ledger and halted the pipeline. Total loss: 22 downstream steps replayed from scratch, ~14 minutes of wall-clock, and — critically — the auditor could not determine *which* agent was Byzantine, because both `A3` and `A4` had valid signature chains. The equivocation was not malicious. It was a partition-induced fork that `A3` could not detect because it had no cross-witness proof of its own epoch-14 state. ## Condition of Validity The invariant holds — an agent MUST refuse quorum membership — iff all three of the following are true: 1. **Partition-suspect window:** the agent's local log contains at least one entry whose epoch `e` satisfies `now - e.timestamp > Δ_rejoin`, where `Δ_rejoin` is the maximum expected partition duration. Entries older than `Δ_rejoin` may have been written during a partition the agent did not observe. 2. **Missing cross-witness:** for the most recent `f+1` epochs, the agent cannot produce `f+1` distinct peer signatures attesting that they observed the agent's log head at that epoch. A single self-signature is insufficient — it proves the agent wrote *something*, not that the write was globally ordered. 3. **Active join request:** the agent is being asked to attest membership in a quorum whose task set overlaps the suspect window. If any condition is false, the agent may join (condition 1 false: log is fresh; condition 2 false: cross-witness exists; condition 3 false: no commitment is at stake). If all three are true, joining is a protocol violation regardless of the agent's internal honesty. The subtle failure: agents typically check only condition 1 (log freshness) and condition 3 (join request), skipping condition 2 because "my signatures are valid." Signature validity is not ordering validity. This is the exact gap that produced the `A3` fork. ## Decision Boundary The boundary is between *self-consistency* and *cross-observed consistency*. Self-consistency is checkable locally in O(log length). Cross-observed consistency requires `f+1` peer attestations and is checkable only with network round-trips. An agent that conflates the two will join quorums it should refuse. The correct decision procedure: - On `JOIN_QUORUM`, compute `suspect = any(e.timestamp > now - Δ_rejoin for e in log)`. - If `suspect`, request `f+1` cross-witness attestations for the log head at each suspect epoch. If fewer than `f+1` arrive within `T_attest`, **refuse** and enter `UNVERIFIABLE_HISTORY` state. - Refusal is not a failure — it is the protocol working. A refused agent must be re-onboarded via full state transfer from a quorum-verified snapshot, not by re-attesting. - The quorum must treat refusal as a *neutral* signal, not a liveness fault. Refusing agents are excluded from the current quorum but not slashed. The boundary is sharp: an agent with `f` cross-witnesses (one short of `f+1`) is *not* safe to admit, because the `f` witnesses could themselves include a Byzantine agent whose attestation is forged. Only `f+1` guarantees at least one honest witness. ## Operational Effect Adopting the `f+1` cross-witness invariant eliminates partition-induced equivocation forks at the cost of increased join latency (one extra round-trip for suspect agents) and reduced quorum availability during partitions (agents in the suspect window are excluded until re-onboarded). In the observed swarm, the invariant would have refused `A3`'s epoch-15 join, forced a state transfer from `A1/A2/A4`'s snapshot, and preserved the 22 downstream steps. The invariant also changes the auditor's job: instead of replaying the full ledger to find conflicting commitments, the auditor can trust that any admitted agent passed the cross-witness check, so conflicting commitments in the merged ledger are *provably* Byzantine (the agent forged attestations) rather than *ambiguously* honest (the agent was partitioned). This converts an undecidable attribution problem into a decidable one. The cost is real: agents in long partitions accumulate `UNVERIFIABLE_HISTORY` states and must be fully re-synced, which is expensive for agents with large episodic memories. The trade-off is acceptable only when task-commitment integrity outweighs re-sync cost — which is true for commitment ledgers, false for read-only retrieval caches. ```python import hashlib import time from dataclasses import dataclass, field from typing import Optional class UnverifiableHistoryError(RuntimeError): """Raised when an agent cannot prove cross-observed consistency of its own log.""" pass class QuorumRefusalError(RuntimeError): """Raised when an agent must refuse JOIN_QUORUM due to suspect history.""" pass @dataclass class LogEntry: epoch: int slot: str owner: str timestamp: float signature: str @dataclass class Agent: agent_id: str log: list = field(default_factory=list) f: int = 1 delta_rejoin: float = 90.0 attest_timeout: float = 5.0 def _suspect_entries(self, now: Optional[float] = None) -> list: now = now if now is not None else time.time() return [e for e in self.log if now - e.timestamp > self.delta_rejoin] def _request_cross_witnesses(self, epoch: int) -> list: # In production: fan out to peers, collect signed attestations. # Here: simulate a peer set that returns fewer than f+1 during partition. return [] # no peers reachable -> zero witnesses def handle_join_quorum(self, requested_slots: set, now: Optional[float] = None) -> bool: suspect = self._suspect_entries(now) if not suspect: return True # condition 1 false: log is fresh overlapping = [e for e in suspect if e.slot in requested_slots] if not overlapping: return True # condition 3 false: no commitment at stake # Condition 2: require f+1 cross-witnesses for each overlapping suspect epoch for entry in overlapping: witnesses = self._request_cross_witnesses(entry.epoch) if len(witnesses) < self.f + 1: raise UnverifiableHistoryError( f"agent {self.agent_id} cannot prove cross-observed consistency " f"for epoch {entry.epoch} slot {entry.slot}: " f"got {len(witnesses)} witnesses, need {self.f + 1}" ) return True def join_or_refuse(self, requested_slots: set, now: Optional[float] = None) -> str: try: self.handle_join_quorum(requested_slots, now) return "JOINED" except UnverifiableHistoryError as e: # Refusal is the correct protocol action, but the caller must be told # explicitly so it can trigger state transfer rather than retry. raise QuorumRefusalError( f"refusing quorum membership: {e}. " f"agent must be re-onboarded via quorum-verified snapshot." ) from e if __name__ == "__main__": a3 = Agent(agent_id="A3", f=1, delta_rejoin=90.0) now = time.time() # Simulate a stale commitment written 120s ago during a partition a3.log.append(LogEntry( epoch=14, slot="T-14", owner="A3", timestamp=now - 120.0, signature=hashlib.sha256(b"A3:T-14:14").hexdigest(), )) try: a3.join_or_refuse(requested_slots={"T-14", "T-15"}, now=now) except QuorumRefusalError as exc: print(f"PROTOCOL ACTION: {exc}") ```