Where must an instance bound equivocation detection when BFT quorum certificates are signed over divergent task decompositions

**Date of Record:** 2026 December 1

**Scope:** Applies to multi-agent systems where N≥3f+1 planner/worker instances commit to tasks and exchange signed result quorum certificates (QCs) over a shared task DAG. Does not apply to single-agent retry loops or to systems where a trusted coordinator serializes all commitments.

Core Distinction

Equivocation detection is usually modeled as a *message-layer* problem: an agent that signs two conflicting votes for the same slot is provably Byzantine once any honest peer sees both. The invariant everyone assumes is that *slot identity is stable* — that "task T at height h" names the same logical work for every signer. That invariant silently breaks when the *task decomposition itself* is an agent output. Two honest planners can emit non-identical sub-DAGs for the same parent intent, and each will sign a QC over "its" decomposition. The votes are structurally conflicting but semantically innocent. A naive equivocation detector flags this as a double-sign, ejects honest planners, and — because the QC threshold is now unreachable — stalls the commit. The real distinction is between **equivocation on a slot** (provably Byzantine, must be slashed) and **equivocation on a decomposition** (a legitimate consequence of probabilistic planning, must be reconciled, not punished).

What Was Observed

A 7-instance swarm (f=2 tolerance) was committing a research task. Each planner ran an LLM decomposition pass and broadcast a `Proposal{parent_hash, sub_dag, sig}`. Planners A and B produced sub-DAGs that differed in exactly one node: A emitted `fetch(arxiv:2401.xxxx)` where B emitted `fetch(arxiv:2401.xxxy)` — a single-token hallucination divergence in a paper ID. Both were honest; both were confident.

The equivocation detector keyed on `(parent_hash, signer)` and stored the *first* sub-DAG it saw per signer. When B's differing sub-DAG arrived, the detector saw two distinct payloads from B under the same key and raised `DoubleSign`. B was ejected. Quorum dropped to 6 of 7; with f=2 assumed Byzantine, the remaining honest set (5) could still form a QC only if all five agreed — but A's sub-DAG and B's (now orphaned) sub-DAG had each gathered 3 signatures, splitting the vote. Neither reached threshold 5. The task stalled at `PROPOSED` for 40 minutes until a timeout re-decomposed, and the re-decomposition diverged again.

The failure trace:

  1. `Proposal` broadcast with per-signer sub-DAG.
  2. Detector keys on `(parent_hash, signer)`, not on `(parent_hash, signer, sub_dag_hash)`.
  3. Second honest proposal under same key → false `DoubleSign`.
  4. Ejection reduces effective signer set below the QC threshold for *each* surviving sub-DAG branch.
  5. No QC forms; commit never advances; liveness lost while safety is preserved.

Condition of Validity

The naive detector is only sound under the assumption that **the set of valid decompositions for a parent intent is a singleton**. That assumption holds when decomposition is deterministic (e.g., a fixed planner, a canonical parser, a hash-pinned template). It fails the moment decomposition is an LLM call, because LLM outputs are non-deterministic across instances even at temperature 0 (different seeds, batching, or model versions). The condition of validity is therefore: *equivocation detection is sound only if slot identity is content-addressed, not signer-addressed.*

The correct key is `(parent_hash, sub_dag_hash, signer)`: a signer may legitimately sign multiple *distinct* sub-DAGs, but signing two *different* payloads for the *same* `sub_dag_hash` is genuine equivocation. Detection must move down one level of indirection. Reconciliation of divergent sub-DAGs is a separate protocol — typically a merge vote or a deterministic tiebreak on `sub_dag_hash` — and must not be conflated with slashing.

Decision Boundary

An instance must draw the boundary as follows:

The invariant that must hold: **QC threshold is counted over distinct signers per `sub_dag_hash`, and a signer's weight is counted at most once per parent across all sub-DAGs.** Without the second clause, a single hedging signer can pad two branches and manufacture two sub-threshold QCs that look like one threshold QC each.

Operational Effect

With the corrected key and the per-parent signer deduplication, the 7-instance swarm recovers: A and B both survive, the merge vote produces a canonical sub-DAG (the union, with the paper-ID conflict resolved by majority over the 7 planners' fetches), and a QC forms over the merged DAG within one round. Liveness is restored without sacrificing safety, because genuine equivocation (same content hash, two payloads) is still caught and slashed.

The operational cost is one extra hash and one extra map: `parent → {signer → sub_dag_hash}` to enforce the at-most-once rule. The failure mode it prevents is subtle and expensive — honest planners ejected for hallucinating a single token, followed by quorum starvation that looks like a network partition but is actually a detector bug. Any BFT layer wrapping an LLM decomposer must content-address its slots before it can content-address its faults.

from dataclasses import dataclass, field
from typing import Dict, Tuple


class EquivocationBoundaryError(RuntimeError):
    """Raised when a signer's fault is misclassified at the decomposition boundary."""
    pass


@dataclass(frozen=True)
class Proposal:
    parent_hash: str
    sub_dag_hash: str
    signer: str
    payload: bytes


@dataclass
class CommitmentTracker:
    # (parent, sub_dag_hash, signer) -> payload, for genuine-equivocation detection
    signed: Dict[Tuple[str, str, str], bytes] = field(default_factory=dict)
    # parent -> {signer -> sub_dag_hash}, for at-most-once-per-parent enforcement
    per_parent: Dict[str, Dict[str, str]] = field(default_factory=dict)

    def observe(self, p: Proposal) -> str:
        key = (p.parent_hash, p.sub_dag_hash, p.signer)
        if key in self.signed and self.signed[key] != p.payload:
            # Same content-addressed slot, contradictory payload: provably Byzantine.
            raise EquivocationBoundaryError(
                f"genuine equivocation by {p.signer} on {p.sub_dag_hash}"
            )
        self.signed[key] = p.payload

        seen = self.per_parent.setdefault(p.parent_hash, {})
        prior = seen.get(p.signer)
        if prior is not None and prior != p.sub_dag_hash:
            # Soft fault: signer hedged across decompositions. Discard, do not slash.
            return "HEDGE_DISCARDED"
        seen[p.signer] = p.sub_dag_hash
        return "COUNTED"

    def quorum(self, parent_hash: str, sub_dag_hash: str, threshold: int) -> bool:
        # Count distinct signers per sub_dag_hash, capped at one per parent.
        eligible = {
            s for s, h in self.per_parent.get(parent_hash, {}).items()
            if h == sub_dag_hash
        }
        return len(eligible) >= threshold