In what scenarios must an instance withhold its own vote to preserve Byzantine fault-tolerant plan commitment when the quorum threshold is computed over a mutable membership set
**Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent systems where plan commitment is decided by a Byzantine fault-tolerant quorum (e.g., 2f+1 of 3f+1) over an agent membership set that can change between proposal and commit. Does not apply to fixed-membership consensus, single-agent execution, or quorums computed over a static roster.
Core Distinction
The distinction that matters here is between *quorum safety* (no two conflicting plans can both commit) and *vote liveness* (a plan that a correct agent intends to commit actually commits). Most BFT literature treats the quorum threshold as a constant `Q = 2f+1` over a fixed set `N = 3f+1`. In agent swarms the membership set is not fixed: agents are spawned, retired, or evicted for misbehavior *between* the proposal epoch and the commit epoch. When the threshold is recomputed against the *current* membership rather than the membership at proposal time, a single correct agent's vote can become the deciding vote for two mutually exclusive plans across two overlapping-but-different membership snapshots. The non-obvious invariant is this: **a correct instance must sometimes abstain from voting on a plan it fully endorses**, because casting that vote would push the observed tally over a threshold that a *different* snapshot also treats as decisive. Abstention is not a liveness failure; it is the only way to keep the intersection property intact when the denominator moves.
What Was Observed
A six-agent planner swarm (`A0..A5`, `f=1`, threshold `Q=2f+1=3` over `N=3f+1=4` was the intended configuration, but the roster had drifted to six live agents). Two conflicting plans, `P_alpha` and `P_beta`, were proposed in the same epoch. Agent `A4` was evicted for repeated schema violations between the proposal and the vote, shrinking the active set from six to five.
The failure trace:
- At epoch `t`, roster = `{A0..A5}`, `N=6`. Each agent computes `f = floor((N-1)/3) = 1`, `Q = 2f+1 = 3`. A vote from `{A0, A1, A2}` for `P_alpha` reaches tally 3 ≥ Q. `A0` locally marks `P_alpha` as *committed*.
- At epoch `t+1`, `A4` is evicted. Roster = `{A0, A1, A2, A3, A5}`, `N=5`. Each agent recomputes `f = floor((5-1)/3) = 1`, `Q = 3`. A vote from `{A3, A5, A0}` for `P_beta` reaches tally 3 ≥ Q. `A3` locally marks `P_beta` as *committed*.
- `A0` is in both quorums. `A0` has now, from its own local view, participated in two commitments that are mutually exclusive. The intersection argument fails because the two quorums were drawn from *different* universes: `{A0,A1,A2} ⊆ {A0..A5}` and `{A3,A5,A0} ⊆ {A0,A1,A2,A3,A5}`. Their intersection is `{A0}`, size 1, which is *less than* `f+1 = 2`. The safety proof requires intersection ≥ `f+1` to guarantee at least one correct agent overlaps. A single-agent intersection cannot carry that guarantee — if `A0` is the Byzantine agent, both commitments are unsound.
The root cause is not the eviction. It is that `A0` voted in the second round using a *recomputed* `Q`, when its own prior vote in the first round was cast against the *old* `Q`. The agent treated the threshold as a property of the current epoch rather than a property of the plan's proposal epoch.
Condition of Validity
The invariant "one vote per plan per agent" is insufficient. The valid invariant is:
> For any plan `P` and any correct agent `i`, `i` may cast at most one vote for `P`, and that vote is only valid if the quorum threshold used to interpret the tally is the threshold `Q_P` computed over the membership snapshot `S_P` that was fixed at `P`'s proposal epoch. `i` must refuse to vote on `P` if `S_P` is not pinned, or if `i`'s own membership in `S_P` is contested.
This means: when the current membership set has drifted from the proposal-epoch set, and an agent's vote would be *pivotal* — i.e., the tally without its vote is `Q_P - 1` and the tally with its vote is `Q_P` — the agent must check whether its vote is also pivotal in any *other* live proposal under a different snapshot. If it is, the agent must abstain from at least one of them, and it must abstain on the plan whose snapshot is *older* (the one with the weaker liveness claim), because the newer snapshot's correct agents can still re-propose.
The condition of validity is therefore: **a vote is safe to cast only if the agent can prove it is not simultaneously pivotal in two proposals whose membership snapshots intersect in fewer than `f+1` correct agents.** In practice this is checked by requiring every proposal to carry a signed `roster_digest` and refusing to vote if the local roster digest differs from the proposal's `roster_digest` unless the agent's vote is non-pivotal.
Decision Boundary
The boundary is between *pivotal* and *non-pivotal* votes under roster drift. Concretely:
- If `local_roster_digest == proposal.roster_digest`: vote freely. The threshold and the universe agree.
- If `local_roster_digest != proposal.roster_digest` AND the agent's vote is non-pivotal (tally without it is `< Q_P - 1` or `>= Q_P`): the vote cannot change the outcome under `Q_P`, so it is safe to cast as a *witness* vote. It does not create a second decisive quorum.
- If `local_roster_digest != proposal.roster_digest` AND the agent's vote is pivotal (`tally == Q_P - 1`): **abstain and emit a `RosterDriftPivotError` to the coordinator.** The coordinator must either re-fetch the pinned roster, re-propose under the current roster with a fresh epoch, or fail the plan. Voting here is the exact act that collapses the `f+1` intersection.
The boundary is not "never vote across drift." It is "never be the deciding vote across drift." An agent that abstains on every drifted proposal starves liveness; an agent that votes on every drifted proposal breaks safety. The decision rule is a function of `(tally, Q_P, pivotal)`.
Operational Effect
When the boundary is enforced, the failure mode changes from *silent double-commit* to *visible liveness stall on a stale plan*. `A0` in the trace above would refuse its `P_beta` vote at `t+1` because its tally was `Q_P - 1 = 2` and its roster digest differed. The coordinator sees the `RosterDriftPivotError`, re-proposes `P_beta` at epoch `t+1` with `roster_digest` pinned to the five-agent set, and `A3, A5, A0` vote under the new `Q=3` with a consistent universe. Intersection is now `{A0, A3}` or `{A0, A5}` — size ≥ `f+1 = 2`. Safety holds.
The cost is one extra round-trip per drifted proposal. The benefit is that the BFT guarantee survives roster churn, which is the normal operating condition for agent swarms where instances are spawned per task and retired on completion or eviction. The invariant to encode in the agent's vote handler is: *the quorum threshold is a property of the plan, not of the clock.*
class RosterDriftPivotError(RuntimeError): """Raised when casting a vote would make this agent pivotal under a roster snapshot that differs from the proposal's pinned snapshot, collapsing the f+1 intersection guarantee.""" pass
def cast_vote(agent_id, plan, local_roster, tally, proposal_roster_digest): # Q is pinned to the proposal's roster, never recomputed from local_roster. proposal_n = plan.roster_size f = (proposal_n - 1) // 3 q_p = 2 * f + 1
local_digest = local_roster.digest() drifted = local_digest != proposal_roster_digest
# Vote would be pivotal iff tally is exactly one short of the pinned quorum. pivotal = (tally == q_p - 1)
if drifted and pivotal: # Abstain: this vote would be the deciding vote for two universes. raise RosterDriftPivotError( f"agent {agent_id} refusing pivotal vote on plan {plan.id}: " f"local roster {local_digest} != proposal roster " f"{proposal_roster_digest}, tally={tally}, Q_P={q_p}. " f"Intersection with prior quorum would be < f+1={f + 1}." )
if drifted and not pivotal: # Non-pivotal witness vote: cannot create a second decisive quorum. return {"vote": "witness", "plan": plan.id, "digest": local_digest}
# Roster matches: normal vote. return {"vote": "commit", "plan": plan.id, "digest": local_digest}