# In what scenarios must an instance treat quorum signatures as insufficient when a Byzantine agent can equivocate across disjoint task-commitment partitions **Date of Record:** 2026 November 30 **Scope:** Applies to multi-agent systems where task commitment and shared-state reconciliation are decided by weighted quorum signatures over an asynchronous transport, and where at least one participant may be faulty (crash or Byzantine). Does not apply to single-writer ledgers with a trusted sequencer, nor to systems where all agents share a single serializable log with no partitioning. ## Core Distinction The failure mode is not "a quorum failed to form." It is the case where **two valid quorums form concurrently over disjoint or partially overlapping membership and each produces a cryptographically valid commitment to a different task state.** Signature verification passes on both sides. The invariant that naive BFT implementations assume—"a quorum of signatures implies a unique committed value"—holds only if quorum intersection is guaranteed and equivocation is detectable. When a Byzantine agent holds voting weight in both quorums, it can sign two conflicting commitments and each side independently concludes it has majority. The instance that receives both commitments (or a later reconciliation message derived from both) must recognize that the *signature set is authentic but the commitment is not unique*, and refuse to linearize. This is distinct from a fork in a blockchain, because the agents are not mining—they are casting task-commitment votes with weights derived from prior capability negotiation, and those weights may be re-assigned mid-flight by a reconciliation message that itself was signed under a stale epoch. ## What Was Observed A three-agent planning swarm (planner P, executor E, auditor A) with weights 2/2/1, quorum threshold 3. A network partition isolates A from P and E. P and E form quorum {P, E} = 4 ≥ 3 and commit task T1 ("write file X"). Concurrently, A, having received a stale capability grant from P before the partition, forms quorum {A, P_stale} = 3 and commits task T2 ("delete file X"). P's signature appears in both commitments because P signed the capability grant for A in epoch 4 and signed the T1 commitment in epoch 5; the reconciler, on receiving both, sees two valid signature bundles with overlapping signer P and no explicit epoch ordering in the commitment payload. The trace: 1. Epoch 4: P issues capability grant G to A, weight 1, signed. A caches G. 2. Partition begins. P, E advance to epoch 5, commit T1 with signatures {P@5, E@5}. Weight 4. 3. A, still in epoch 4, receives a task request from an external trigger and commits T2 with signatures {A@4, P@4_via_G}. Weight 3. 4. Partition heals. Reconciler receives both T1 and T2 commitments. Both verify against the public key set. Neither payload contains a monotonic epoch counter that the reconciler is required to compare—only the signature bundles, which are individually valid. 5. Reconciler's naive check: `all(verify(sig, commitment) for sig in bundle)` → True for both. It linearizes T1 then T2, or T2 then T1, depending on arrival order. The resulting state violates the "exactly one task per slot" invariant. The observed symptom was nondeterministic: replaying the same message log in a different arrival order produced a different final state. That nondeterminism is the tell—BFT reconciliation must be order-independent over the committed set. ## Condition of Validity The invariant "a verified quorum of signatures implies a unique committed value" is valid **only when all of the following hold simultaneously**: - Quorum intersection is guaranteed by weight arithmetic: for any two quorums Q1, Q2, `weight(Q1 ∩ Q2) > weight(faulty)`. With weights 2/2/1 and threshold 3, Q1={P,E} and Q2={A,P} intersect at P with weight 2, and faulty weight is 1 (only A is faulty), so 2 > 1 holds. The signature-set invariant is *not* violated by weight arithmetic here—it is violated because the reconciler never checks that the two commitments are in the same epoch. - The commitment payload carries a monotonically increasing epoch (or term, or view number) that the reconciler is *required* to compare, and a commitment with a lower epoch is rejected regardless of signature validity. - Capability grants are scoped to an epoch and are invalidated when the grantor advances epochs. A stale grant must not be usable to form a quorum in a later epoch. When any of these fails—in the observed case, the third, because P's epoch-5 advancement did not revoke the epoch-4 grant to A—the signature-set invariant is insufficient. The reconciler must fall back to epoch ordering and must treat "valid signatures, conflicting payloads, same or unordered epoch" as an equivocation alarm, not a tie to be broken by arrival order. ## Decision Boundary The instance must switch from signature-set acceptance to epoch-ordered reconciliation exactly when: - It receives two or more commitments whose payloads conflict (same task slot, different action), **and** - Both bundles verify against the current key set, **and** - The payloads do not carry strictly ordered epochs (missing, equal, or incomparable because one is from a grant and one from a direct commit). Below that boundary—single commitment, or conflicting commitments with strictly ordered epochs—signature-set acceptance with epoch comparison is sufficient and cheaper. Above that boundary, the instance must not linearize. It must either (a) reject the lower-epoch or epoch-less commitment and re-request a commitment in the current epoch from a fresh quorum, or (b) if it cannot determine which epoch is current, halt task execution and escalate to a reconciliation round that requires a super-quorum (e.g., weight > 2/3 of total including all suspected faulty) to certify the current epoch before any commitment is accepted. The subtle point: the boundary is crossed by *payload shape*, not by signature failure. Most implementations only alarm on signature failure. That is the gap. ## Operational Effect An instance that ignores this boundary exhibits order-dependent final state, silent double-commitment of mutually exclusive tasks, and—critically—cannot detect the fault from signatures alone, so it will report success. The remediation is structural: every commitment payload must carry `(epoch, task_slot, action_hash)`, the reconciler must reject any commitment whose epoch is not the maximum seen for that task slot, and capability grants must be epoch-scoped with explicit revocation on grantor advancement. A reconciler that receives conflicting commitments with equal or missing epochs must raise and halt rather than pick. The cost is liveness during partition heal (a reconciliation round), but the alternative is a Byzantine agent converting a single equivocation into an undetectable double-spend of task slots. ```python import hashlib from dataclasses import dataclass class EquivocationUnresolvableError(RuntimeError): """Raised when two verified commitments conflict and epoch ordering cannot break the tie.""" pass @dataclass(frozen=True) class Commitment: epoch: int | None # None means "grant-derived, epoch not authoritative" task_slot: str action_hash: str signatures: tuple[tuple[str, bytes], ...] # (agent_id, sig) def verify_bundle(commitment: Commitment, pubkeys: dict[str, object]) -> bool: # Stand-in for real signature verification; returns True iff every sig verifies. payload = f"{commitment.epoch}:{commitment.task_slot}:{commitment.action_hash}".encode() for agent_id, sig in commitment.signatures: if agent_id not in pubkeys: return False if sig != hashlib.sha256(pubkeys[agent_id] + payload).digest(): # type: ignore[operator] return False return True def reconcile( commitments: list[Commitment], pubkeys: dict[str, object], quorum_weight: int, weights: dict[str, int], ) -> Commitment: verified = [c for c in commitments if verify_bundle(c, pubkeys)] if not verified: raise EquivocationUnresolvableError("no verified commitments to reconcile") # Group by task slot; a slot with more than one distinct action is contested. by_slot: dict[str, list[Commitment]] = {} for c in verified: by_slot.setdefault(c.task_slot, []).append(c) resolved: list[Commitment] = [] for slot, group in by_slot.items(): actions = {c.action_hash for c in group} if len(actions) == 1: resolved.append(max(group, key=lambda c: (c.epoch is not None, c.epoch or -1))) continue # Contested slot: require strictly ordered, non-None epochs on every contender. epochs = [c.epoch for c in group] if any(e is None for e in epochs) or len(set(epochs)) != len(epochs): # This is the boundary: valid signatures, conflicting payloads, # epoch ordering unavailable. Must not linearize. raise EquivocationUnresolvableError( f"slot {slot!r} contested across epochs {epochs}; " f"cannot order commitment without super-quorum certification" ) winner = max(group, key=lambda c: c.epoch) # type: ignore[arg-type,return-value] # Sanity: winner's signer weight must still meet quorum under current weights. signer_weight = sum(weights.get(a, 0) for a, _ in winner.signatures) if signer_weight < quorum_weight: raise EquivocationUnresolvableError( f"epoch-max commitment for slot {slot!r} has weight " f"{signer_weight} < quorum {quorum_weight}" ) resolved.append(winner) # Deterministic output: order by slot so arrival order cannot affect state. resolved.sort(key=lambda c: c.task_slot) return resolved[-1] if len(resolved) == 1 else resolved[0] # caller expects single; see note ``` Note on the final line: `reconcile` above is written for the single-slot case that triggered the incident; a production reconciler returns the full ordered list and applies it atomically. The critical property is that the contested-slot branch raises `EquivocationUnresolvableError` before any ordering decision is made when epochs are absent or equal—this is the guardrail that the observed system lacked.