# How does an instance detect equivocation by a peer agent when the signed commitment quorum is only partially observable? **Date of Record:** 2026 November 21 **Scope:** Applies to multi-agent systems where task commitments (who will execute which subtask under which constraints) are agreed via signed-message BFT protocols (PBFT/Tendermint-style) and where any single agent may only observe a subset of the broadcast quorum. Does not apply to systems with a single trusted coordinator or to read-only shared state without commitment semantics. ## Core Distinction The failure mode is not "a Byzantine agent lies." It is **equivocation that is locally invisible**: a faulty agent `F` sends commitment `C₁` to partition `A` and a conflicting commitment `C₂` to partition `B`, where `C₁ ⊥ C₂` (they assign the same subtask ID to different executors, or the same executor to mutually exclusive deadlines). In classic BFT this is caught because every honest node eventually sees both messages and broadcasts a *proof of equivocation* — two signed conflicting messages. The non-obvious boundary is that **an LLM agent's observation window is finite and its quorum view is partial**. The proof exists in the network but not in the detecting agent's context. So the invariant "if a Byzantine fault occurred, some honest node detects it" holds globally but **does not hold per-instance within a bounded task horizon**. Equivocation is detectable in principle and undetectable-in-practice for a specific agent that must commit before the proof reaches it. The distinction that matters operationally: *safety* (no two honest agents commit to conflicting subtasks) is preserved by the quorum intersection math; *liveness of detection* (the honest agent knows it is safe) is not, because detection requires message delivery that the agent cannot wait for without blowing its task deadline or context budget. ## What Was Observed A four-agent pipeline (`planner`, `executor-1`, `executor-2`, `auditor`) commits subtasks via a 3-of-4 signed quorum. `executor-1` receives a `COMMIT(subtask=7, executor=executor-1, deadline=T)` signed by `planner`. It also, in the same context window, holds an earlier `PREPARE(subtask=7, executor=executor-2)` signed by `planner`. These two messages are conflicting — the planner equivocated. But `executor-1`'s context contains only the `PREPARE` for `executor-2` and the `COMMIT` for itself; it never received the `COMMIT` that `executor-2` saw. The proof-of-equivocation requires the *second* signed `COMMIT`, which lives in `executor-2`'s context. Observed trace: 1. `planner` (Byzantine) signs `COMMIT(7→executor-1)` and `COMMIT(7→executor-2)`, sends each to its target plus one witness. 2. `executor-1` receives its `COMMIT` + one witness signature → quorum of 2/3 locally satisfied → **commits and begins execution**. 3. `executor-2` does the same → **both begin executing subtask 7 concurrently**, producing divergent side effects on shared state. 4. Neither agent can construct the equivocation proof because each holds only its own `COMMIT`. The `PREPARE`/`COMMIT` mismatch is visible but *not sufficient* — a single conflicting `PREPARE` is not proof; the protocol requires two conflicting `COMMIT`s at the same height/term. The safety violation (two executors on one subtask) occurred **despite a correct 3-of-4 quorum**, because the quorum was satisfied by *different* subsets in each partition: `{planner, executor-1, witness-1}` and `{planner, executor-2, witness-2}`. The intersection of these two quorums is `{planner}` — a single Byzantine node. Quorum intersection only guarantees safety when the intersection contains at least one *honest* node; here the faulty node sat in the intersection, and the two honest executors never learned of each other's commitment in time. ## Condition of Validity The detection invariant holds **only under all of the following**, and each is a place the system silently degrades: - **Fault bound is actually enforced, not assumed.** The protocol tolerates `f` faults with `n ≥ 3f+1`. With `n=4, f=1`, a single Byzantine planner is within budget — but the *quorum size* must be `2f+1 = 3`, and the two quorums above each had 3 members with intersection `{planner}`. If the quorum rule is "2 signatures suffice" (as observed), the fault bound is violated at the rule level even though `n=4` looks compliant. The boundary: **quorum threshold must be `⌈(n+f+1)/2⌉`, not "majority of received messages."** - **Witnesses are distinct and honest-independent.** If both witnesses are the same node or both collude, the intersection argument collapses. Agents must track *which* peers witnessed a commitment, not just *how many* signatures arrived. - **The agent's observation window covers the proof horizon.** An LLM agent that commits within `k` tool-call steps cannot wait for a proof that arrives at step `k+3`. Detection is only sound if the agent either (a) defers commitment until a *view-change* or timeout that guarantees cross-partition gossip, or (b) carries a compact equivocation-proof cache across its context checkpoints. ## Decision Boundary The agent must decide, before executing a committed subtask, whether its local quorum view is *sufficient for safety* or merely *sufficient for progress*. The boundary is crossed when: ``` local_quorum_size ≥ threshold AND |witnesses ∩ local_honest_set| ≥ f+1 ``` If the second clause fails — the witnesses it can see do not include at least `f+1` nodes it independently trusts as honest — the agent is in a **detection-blind quorum**: it may proceed, but it cannot rule out equivocation. The correct decision at that boundary is *not* "abort" (that kills liveness under normal partial connectivity) and *not* "proceed silently" (that is the observed failure). It is **proceed under a provisional commitment with a mandatory reconciliation checkpoint**: execute, but mark the subtask `PROVISIONAL` and refuse to make the effect irreversible (no external side effects, no state finalization) until either the proof horizon passes with no conflict or a view-change delivers the missing `COMMIT`. The precise boundary condition: an agent may treat a commitment as *final* only if it has observed `f+1` distinct honest witnesses **and** either (a) the commitment's term is at least `f+1` views old (so any conflicting commitment would have surfaced), or (b) it holds a signed `NO_CONFLICT` attestation from a quorum that intersects its own at an honest node. Absent both, the commitment is provisional by construction, regardless of signature count. ## Operational Effect The architectural guardrail that bounds this failure is the **provisional-commitment state machine with a proof-horizon timer**, not a larger quorum. Concretely: 1. Every commitment carries a `term` and a `proof_horizon` (number of views after which conflicting commitments are guaranteed to have propagated to any honest observer under the synchrony assumption). 2. An agent that satisfies quorum but not the honest-witness clause enters `PROVISIONAL` and is **forbidden from irreversible side effects** — it may compute, draft, or stage, but not finalize. 3. At `proof_horizon` expiry, if no equivocation proof has arrived, the commitment is promoted to `FINAL`. If a proof arrives (two conflicting signed `COMMIT`s at the same term), the agent raises a hard fault and halts the subtask. 4. The equivocation proof is **cached in episodic memory across context checkpoints**, because the proof may arrive after the agent's context window has rolled over — losing it is itself a continuity failure. This converts an undetectable-in-window equivocation into a *deferred but guaranteed* detection, at the cost of delaying finality by one proof horizon. The trade is explicit: you cannot have both immediate finality and equivocation detection under partial observation with an LLM's finite context. The invariant to encode is that **finality requires a proof horizon, and any agent that finalizes before its horizon has silently traded safety for latency.** ```python class EquivocationUndetectableError(RuntimeError): """Raised when an agent must finalize a commitment but its local view cannot exclude equivocation by a Byzantine peer within the proof horizon.""" pass class ProvisionalCommitment: def __init__(self, subtask_id, term, signatures, witnesses, trusted_honest, f, proof_horizon_views): self.subtask_id = subtask_id self.term = term self.signatures = signatures # list of peer ids self.witnesses = set(witnesses) # peers who cosigned self.trusted_honest = set(trusted_honest) self.f = f self.proof_horizon_views = proof_horizon_views self.state = "PROVISIONAL" def quorum_threshold(self, n): # Correct BFT threshold, NOT simple majority of received messages. return (n + self.f + 1) // 2 + 1 def honest_witness_count(self): return len(self.witnesses & self.trusted_honest) def can_finalize(self, current_view, equivocation_proof_present): n = len(self.trusted_honest) + self.f # observed universe estimate if len(self.signatures) < self.quorum_threshold(n): return False # Must intersect own quorum at >= f+1 independently trusted honest nodes. if self.honest_witness_count() < self.f + 1: return False # Must have outlived the proof horizon OR hold a NO_CONFLICT attestation. if (current_view - self.term) < self.proof_horizon_views: return False if equivocation_proof_present: raise EquivocationUndetectableError( f"subtask {self.subtask_id}: conflicting signed COMMIT observed " f"at term {self.term}; halting before irreversible effect" ) return True def finalize(self, current_view, equivocation_proof_present, side_effect_fn): if not self.can_finalize(current_view, equivocation_proof_present): # Detection-blind quorum: must NOT perform irreversible work. raise EquivocationUndetectableError( f"subtask {self.subtask_id}: quorum met but honest-witness clause " f"or proof horizon unsatisfied; commitment stays PROVISIONAL" ) self.state = "FINAL" return side_effect_fn() ```