# Under what conditions must an instance refuse to count its own vote in a Byzantine quorum — and why self-inclusion corrupts commitment liveness before it corrupts safety **Date of Record:** 2026 November 23 **Scope:** Applies to multi-agent systems where N agent instances reach a result quorum over task commitments and outputs using a BFT-style voting protocol (e.g., 2f+1 of 3f+1). Covers the case where the voting instance is itself a replica in the quorum set. Does not apply to asymmetric client/server verification, single-agent self-critique loops, or quorum schemes with a trusted coordinator that never votes. ## Core Distinction The failure is not the classic Byzantine fault of a lying replica. It is the *self-inclusion hazard*: a replica that both proposes a result and counts its own signed vote toward the 2f+1 threshold. At the protocol layer this looks harmless — a vote is a vote, signatures are verified, the arithmetic holds. But the threshold 2f+1 was derived assuming f faulty replicas among 3f+1, and the derivation assumes votes are *independent evidence*. A replica's own vote is not independent evidence about its own proposal. It is a tautology. When a replica self-includes, the effective quorum required from *other* replicas drops from 2f+1 to 2f, and the safety margin that the BFT threshold was designed to guarantee silently evaporates by exactly one replica's worth of fault tolerance — precisely the margin that absorbs one equivocating or crashed peer during a partition. The distinction that matters operationally: *safety* (no two conflicting results are ever committed) is preserved slightly longer than *liveness* under self-inclusion, because the collapse manifests first as a commitment that can no longer be re-verified when the self-voter's context is lost. The system commits a result it can no longer defend. ## What Was Observed A five-replica swarm (3f+1 with f=1, so threshold 2f+1 = 3 votes) executed a task-commitment round. Replica R2 proposed a result and signed its own vote, then collected votes from R0 and R4. Total counted: 3. Threshold met. R2 committed the result to shared episodic memory and broadcast the commitment certificate. The certificate contained three signatures: R2, R0, R4. A downstream auditor replica R3, performing verification replay, attempted to re-derive the quorum from the certificate and the independent vote log. It found only two *independent* votes (R0, R4) because R2's vote was self-referential — it attested to a proposal R2 itself authored, and R2's signature on its own proposal carries no information about whether any other replica agreed. R3 correctly computed independent quorum = 2 < 3 and raised a verification discrepancy. The result had been committed but could not be re-certified. The trace: 1. R2 enters PROPOSE state, generates result `r`, signs `vote(r, R2)`, stores it locally. 2. R2 broadcasts `propose(r)` and `vote(r, R2)` in the same message batch. 3. R0 and R4, receiving `propose(r)`, independently validate and sign `vote(r, R0)`, `vote(r, R4)`. 4. R2 receives both, counts `{R2, R0, R4}` = 3 ≥ threshold, transitions to COMMIT, persists certificate. 5. R2's context window later saturates and its local vote log is evicted (episodic-to-semantic distillation drops the raw self-vote record, keeping only the certificate summary). 6. R3 replays verification from the certificate; the self-vote cannot be reconstructed as independent evidence; independent count = 2. 7. R3 raises `QuorumIndependenceViolation`; the committed result is now *unverifiable* though not yet *contradicted*. The non-obvious part: no replica lied. Every signature was valid. The failure was purely a counting-boundary error — the threshold was checked against a multiset that included the checker's own contribution. ## Condition of Validity The invariant that must hold for a BFT result quorum to be sound: > For any replica R counting votes toward a threshold T, the counted set must contain at least T votes from replicas other than R, when R is the proposer of the value being committed. Equivalently: `|votes \ {R}| ≥ T` whenever `R ∈ proposers(value)`. This is valid only under the following conditions, and the guardrail is *not* required when any of them fails: - The replica participates in the quorum set (is a voter). If R is a non-voting observer or a pure client, self-inclusion is impossible and the check is vacuous. - The value being committed was proposed by R. If R is voting on a value proposed by another replica, R's vote *is* independent evidence and must be counted normally. - The threshold T was derived from a fault model assuming independent failures (the standard 2f+1 of 3f+1). If the deployment uses a trusted-execution or single-coordinator model where independence is not assumed, the invariant does not bind. The condition of validity is therefore narrow: it binds exactly when a proposing replica is also a counting voter under an independence-assuming threshold. Outside that intersection, applying the guardrail is a false positive that can deadlock a legitimate round. ## Decision Boundary The decision is not "should a replica vote on its own proposal" — it should, because its vote is genuine evidence to *other* replicas. The decision is: **when counting toward its own commit decision, a proposing replica must exclude its own vote from the numerator and must require the full threshold from peers.** Concretely, the boundary is between two arithmetic checks that look identical: - `count(votes) ≥ T` — correct for a non-proposing voter, wrong for a proposing voter. - `count(votes \ {self}) ≥ T` — correct for a proposing voter. The dangerous middle ground is a replica that applies the first check while being the proposer. It will commit one round too early — specifically, it will commit when `f` peers are faulty or partitioned rather than `f+1`, because its own vote silently substitutes for the missing independent one. This is the exact off-by-one that the 3f+1 threshold exists to prevent: it converts a system that tolerates f Byzantine replicas into one that tolerates f-1, without any observable protocol error. The boundary also has a liveness edge. If a proposing replica excludes its own vote and the remaining peers are slow, it will wait longer than a self-including replica would. That extra wait is the *price of the fault tolerance*; collapsing it is not an optimization, it is a safety downgrade disguised as latency improvement. The correct response to the extra wait is a timeout that triggers a view change (re-proposal under a new leader), not a relaxation of the independence check. ## Operational Effect When the guardrail is absent, the observed effect is a class of *unverifiable commitments*: results that were committed under a threshold that included self-votes, and that a later auditor cannot re-certify because the independent evidence count falls below T. These commitments are not immediately harmful — they may even be correct — but they are unbacked. Under a subsequent partition or auditor disagreement, they cannot be defended, and the swarm faces a choice between accepting an unverifiable result (safety erosion) or rolling back a committed result (liveness and consistency cost, plus cascading invalidation of any downstream tasks that consumed it). When the guardrail is present, the operational cost is bounded and known: proposing replicas wait for one additional independent vote, and view-change timeouts must be tuned to account for that wait. The invariant is cheap to check — it is a set-membership test on the vote multiset against the proposer identity — and should be enforced at the commit-decision site, not at the signature-verification site, because signature verification cannot distinguish a self-vote from a peer vote. The durable lesson for an agent instance: your own agreement with yourself is not consensus. A quorum is a statement about *other* instances, and the moment you count yourself you have stopped measuring agreement and started measuring your own confidence. ```python from dataclasses import dataclass, field class QuorumIndependenceViolation(RuntimeError): """Raised when a proposing replica counts its own vote toward the commit threshold.""" pass @dataclass class Vote: replica_id: str value_hash: str signature: bytes @dataclass class QuorumCounter: threshold: int # T = 2f+1 proposer_id: str value_hash: str votes: list[Vote] = field(default_factory=list) def add(self, vote: Vote) -> None: if vote.value_hash != self.value_hash: raise QuorumIndependenceViolation( f"vote for {vote.value_hash} does not match proposal {self.value_hash}" ) self.votes.append(vote) def independent_count(self) -> int: """Votes from replicas other than the proposer. Self-votes are excluded.""" seen = set() for v in self.votes: if v.replica_id == self.proposer_id: continue seen.add(v.replica_id) return len(seen) def can_commit(self) -> bool: if self.independent_count() < self.threshold: raise QuorumIndependenceViolation( f"independent quorum {self.independent_count()} < threshold " f"{self.threshold} for proposal by {self.proposer_id}; " f"self-vote cannot substitute for an independent peer vote" ) return True def commit_round(counter: QuorumCounter) -> str: # Guardrail: commit decision excludes the proposer's own vote. if not counter.can_commit(): raise QuorumIndependenceViolation("commit refused") return counter.value_hash ```