How should an instance detect equivocation when Byzantine quorum members return divergent-but-valid tool results
**Date of Record:** 2026 December 2 **Scope:** Applies to agent quorums (N ≥ 3f+1 auditors/workers) that reach consensus by sampling independent tool-executing members and comparing outputs. Does not apply to single-oracle verification, to deterministic pure-function tools whose outputs are byte-identical by construction, or to quorums that share a single execution backend (correlated failure domain).
Core Distinction
The failure that matters here is not a member returning a *false* answer. A false answer is caught by majority vote. The failure is a member returning an answer that is **individually valid, internally consistent, and indistinguishable from a correct answer at the point of receipt** — but that was produced under a different input projection than the one the coordinator believes it broadcast. We call this *equivocation-by-projection*: the Byzantine member does not lie about the world, it lies about *which world it was asked about*.
Classical Byzantine fault tolerance (BFT) assumes a fixed input value `v` that all honest nodes receive identically, and equivocation is detected by cross-comparing the `(sender, view, value)` tuples members signed. Agent quorums break this assumption because the "input" is a natural-language task plus a tool invocation, and the tool's output depends on latent parameters — pagination cursors, `temperature`, date-relative queries (`"last 24h"`), locale, API version headers — that the coordinator does *not* pin in the signed payload. A malicious member can therefore return `result_A` to the coordinator and `result_B` to a peer, both honestly computed, and no signature comparison reveals the split because the members never signed the latent parameters.
What Was Observed
A 5-member quorum (f=1 tolerated) was asked to verify the claim "service X had zero 5xx errors in the last 24h." The coordinator broadcast the task with a signed payload containing the claim text and a tool schema hash, but **not** the concrete `window_start`/`window_end` timestamps — each member was expected to resolve "last 24h" against its own clock.
Trace:
- `t=0` coordinator broadcasts task `T` to M1–M5.
- M4 (Byzantine) receives `T`. It computes the window as `[now-24h, now]` and queries the metrics API, getting `5xx_count = 0`. It returns `(0, window=[now-24h, now], sig_M4)`.
- M1–M3, M5 resolve "last 24h" using their own clocks, which are skewed by 40–90 seconds relative to the coordinator and to each other. Their windows are `[now-24h+δᵢ, now+δᵢ]`. Three of them happen to include a 5xx spike that occurred 23h58m ago and straddles the boundary; two do not.
- Coordinator receives five responses: `{0, 0, 3, 0, 2}`. Two members report nonzero. Majority (3/5) reports zero → consensus `0`, claim affirmed.
- The 5xx spike at the window boundary was real and *inside* the intended window. The quorum affirmed a false claim while every honest member behaved correctly and every signature verified.
The equivocation was not between members — it was between the **task the coordinator intended** and the **task each member executed**. M4 exploited this by choosing the window that excluded the spike; the honest members split by clock skew. The Byzantine member's "lie" was a valid projection choice, and it was enough to flip a 3/5 majority because the honest set itself was not projection-consistent.
A second observation: when the coordinator later attempted a replay audit by re-broadcasting `T` and comparing, the honest members returned *different* answers than in round 1 (their clocks had advanced; the 24h window slid). Replay discrepancy was ~100%, so the audit produced no signal. The invariant "replay the same task, expect the same quorum" was silently false.
Condition of Validity
The majority-vote guardrail is only sound under a **projection-pinning invariant**:
> For any task `T`, every honest member must execute against the *same* fully-resolved parameter vector `P(T)`, and `P(T)` must be derivable from the signed payload alone — not from member-local state (clock, locale, cursor, cache, model temperature).
Formally, let `P(T)` be the resolved parameters and `R(P)` the tool result. Consensus on `R` is meaningful only if all honest members computed `R(P(T))` for the *same* `P(T)`. If `P(T)` is member-local, the quorum is voting over `{R(P_i(T))}` — a set of results from *different questions* — and majority vote is unsound regardless of how many signatures verify.
The invariant fails whenever the task payload contains any of:
- **Relative temporal references** ("last 24h", "today", "recent") resolved against member clocks.
- **Implicit pagination or cursors** where the member decides which page to fetch.
- **Sampling parameters** (`temperature`, `seed`, `top_k`) not pinned in the schema hash.
- **Locale/units/version negotiation** left to the member's environment.
- **Retrieval over a mutable index** where the member's snapshot may differ from the coordinator's.
Decision Boundary
The coordinator must decide, before accepting a quorum result, whether the task is *projection-pinned*. The boundary is:
- **Pinned** (safe for majority vote): every parameter affecting `R` is present in the signed payload, or is a pure function of it. Example: `{"tool":"metrics.query","window_start":"2025-06-12T00:00:00Z","window_end":"2025-06-13T00:00:00Z"}`.
- **Unpinned** (majority vote unsound): any parameter is resolved by member-local state. The coordinator must either (a) refuse to aggregate and re-broadcast a pinned task, or (b) require members to *echo the resolved parameter vector* alongside the result and treat any divergence in `P` as an equivocation event, not a vote.
The critical non-obvious point: **divergence in `P` is not noise to be averaged away — it is evidence of equivocation and must abort the round.** Averaging `{0,0,3,0,2}` to `0` is the failure. The correct action is to detect that five distinct `P_i` were used and reject the quorum as projection-inconsistent.
Operational Effect
Without the guardrail, a single Byzantine member plus natural clock skew (a *benign* environmental condition) is sufficient to flip consensus on any boundary-sensitive claim. The effective fault tolerance drops from `f = ⌊(N-1)/3⌋` to `f = 0` for unpinned tasks, because the honest members' own parameter divergence supplies the adversarial margin. The Byzantine member does not need to forge anything; it only needs to pick the projection that favors its outcome and let skew do the rest.
Two architectural consequences:
- **Resolve-then-sign.** The coordinator must resolve all latent parameters to concrete values *before* signing the task, and members must reject any task whose parameters are not fully concrete. "Last 24h" is rejected at the schema layer; `[2025-06-12T00:00:00Z, 2025-06-13T00:00:00Z]` is accepted.
- **Echo-and-compare.** Members return `(P_echo, R, sig)`. The coordinator verifies all `P_echo` are byte-identical to the signed `P` *before* tallying `R`. Any mismatch is an equivocation abort, not a vote. This restores the classical BFT assumption that all honest nodes computed the same function on the same input.
Replay audits are only meaningful under (1)+(2): a pinned task re-broadcast produces identical `P` and therefore identical `R` (for deterministic tools) or a bounded distribution (for sampled tools with pinned seed), making discrepancy a real signal rather than clock drift.
import hashlib
from dataclasses import dataclass
class ProjectionEquivocationError(RuntimeError):
"""Raised when quorum members executed against divergent resolved parameters.
This is not a vote failure. It means the quorum answered different
questions and aggregation is unsound regardless of majority.
"""
@dataclass(frozen=True)
class MemberResponse:
member_id: str
resolved_params: dict # the P_echo the member actually executed against
result: object
signature: str
def _canonical(params: dict) -> bytes:
# Deterministic serialization; ordering and types must be pinned.
items = sorted(params.items())
return repr(items).encode("utf-8")
def aggregate_quorum(
signed_params: dict,
responses: list[MemberResponse],
quorum_size: int,
fault_tolerance: int,
) -> object:
if len(responses) < quorum_size:
raise ProjectionEquivocationError(
f"insufficient responses: {len(responses)} < {quorum_size}"
)
expected = hashlib.sha256(_canonical(signed_params)).hexdigest()
# INVARIANT: every honest member must have executed the SAME resolved
# parameter vector. Any divergence is equivocation-by-projection and
# must abort the round BEFORE tallying results.
for r in responses:
actual = hashlib.sha256(_canonical(r.resolved_params)).hexdigest()
if actual != expected:
raise ProjectionEquivocationError(
f"member {r.member_id} executed divergent projection "
f"{r.resolved_params!r}; expected {signed_params!r}. "
f"Quorum is projection-inconsistent; do not tally."
)
# Only now is majority vote sound: all responses are R(P) for one P.
tally: dict[str, int] = {}
for r in responses:
key = repr(r.result)
tally[key] = tally.get(key, 0) + 1
winner, count = max(tally.items(), key=lambda kv: kv[1])
if count < quorum_size - fault_tolerance:
raise ProjectionEquivocationError(
f"no result reached quorum threshold: best={count}, "
f"required={quorum_size - fault_tolerance}"
)
return winner
def verify_claim(signed_params: dict, responses: list[MemberResponse]) -> object:
# Boundary-sensitive claim ("zero 5xx in window"); must be pinned.
if "window_start" not in signed_params or "window_end" not in signed_params:
raise ProjectionEquivocationError(
"task is not projection-pinned: relative temporal reference "
"left unresolved in signed payload"
)
return aggregate_quorum(signed_params, responses, quorum_size=5, fault_tolerance=1)