What structural signals indicate Byzantine consensus collapse in federated agent planning under partial trust

**Date of Record:** 2026 December 2 **Scope:** Applies to federated planner swarms where N heterogeneous LLM agents propose plan fragments, cross-verify via signed peer attestations, and commit a fused plan under a Byzantine fault-tolerance threshold. Does not apply to single-agent tool loops, purely hierarchical orchestrators with a trusted root, or systems where plan fragments are not independently verifiable.

Core Distinction

The failure mode is not "a Byzantine agent lies." It is the **attestation-graph divergence between the *verification topology* and the *trust topology***. In a federated planner, each agent A_i emits a plan fragment P_i, then attests to fragments from peers it trusts. A Byzantine agent B can remain *locally consistent* (its own fragment and its attestations of others are mutually coherent) while injecting a **topology split**: it attests honestly to honest agents in group G1 and dishonestly (favoring a corrupted fusion) to group G2. Because LLM verifiers are probabilistic and each sees a different retrieval context, the two groups converge on *different fused plans* while every individual attestation signature is valid and every per-agent consistency check passes.

The distinction that operators miss: Byzantine fault tolerance (BFT) thresholds are stated over *faulty nodes*, but the actual failure surface is over **faulty edges**. A swarm with f < N/3 faulty nodes can still fail if those nodes control a cut edge set whose removal disconnects the attestation graph into components that each individually satisfy their local quorum.

What Was Observed

A 9-agent planner swarm, threshold quorum q = 6 (tolerating f = 3). Two compromised agents (B1, B2) executed a **topology-split attestation**. Trace:

  1. Honest agents H1–H4 and B1 formed component C1; H5–H7 and B2 formed component C2. B1 and B2 exchanged *no* cross-component attestations (they withheld edges).
  2. C1 reached local quorum: 5 ≥ ... wait, C1 has 5 members, but the global quorum is 6. The critical observation: **each agent computed quorum over the set of fragments it had *received*, not over the full membership**. C1's agents received 5 fragments + self = 6 attestations, satisfying q = 6 locally. C2's agents received 4 + self = 5 — C2 should have stalled. It did not, because B2 forwarded a *stale* attestation from B1's fragment (a replay from a prior epoch with a still-valid signature under a non-monotonic epoch counter).
  3. Both components committed. C1 fused plan Π1, C2 fused plan Π2. Π1 and Π2 diverged on the ordering of two side-effecting tool calls (a `transfer` before a `balance_check`). The divergence was not detected because the fusion step only checks *fragment-level* signatures, never *cross-component plan equivalence*.
  4. Downstream, both plans executed against the same external ledger. The double-execution surfaced only when the ledger rejected the second `transfer` — 40 seconds after commit, past the planner's TTL.

Structural signals that preceded collapse, all observable *before* commit:

Condition of Validity

The guardrail holds only under these conditions, and fails outside them:

Decision Boundary

The operational boundary is between **"quorum reached"** and **"quorum reached over a connected, monotonic, symmetric attestation graph."** An agent must treat these as distinct predicates. The decision to commit a fused plan is valid iff:

If any predicate fails, the agent must **abstain and broadcast a divergence signal** rather than commit locally. The boundary is sharp: a single asymmetric edge is sufficient to invalidate commit, because asymmetry is the only reliable pre-commit signal of a topology split (the split itself is invisible until cross-component plan comparison, which is too late).

Operational Effect

When the boundary is enforced, the swarm converts a *silent dual-commit* into a *loud stall*: both components abstain, the divergence signal triggers a re-federation with the split edge quarantined, and the epoch advances. The cost is liveness — a split causes a stall rather than a fork. When the boundary is violated, the system exhibits **Byzantine dual-commit**: two valid-looking fused plans, each locally consistent, executing against shared external state, with divergence surfacing only at the side-effect boundary (ledger, filesystem, API) after the planner's TTL has expired. The failure is not in any single agent's reasoning; it is in the *topology of trust* being unverified against the *topology of attestation*.

class AttestationTopologyError(RuntimeError):
    """Raised when the local attestation graph cannot justify a commit."""
    pass


def verify_commit_eligibility(
    local_fragments: set[str],
    attestations: list[dict],
    global_membership: set[str],
    quorum_q: int,
    highest_epoch_seen: dict[str, int],
    current_epoch: int,
) -> bool:
    # 1. Node-count quorum (necessary, not sufficient)
    if len(local_fragments) < quorum_q:
        raise AttestationTopologyError(
            f"local fragment count {len(local_fragments)} < quorum {quorum_q}"
        )

    # 2. Edge-connectivity to global membership must meet quorum
    reachable = {a["signer"] for a in attestations} | local_fragments
    if len(reachable & global_membership) < quorum_q:
        raise AttestationTopologyError(
            f"edge-connectivity {len(reachable & global_membership)} < quorum {quorum_q}: "
            "topology split suspected"
        )

    # 3. Epoch monotonicity per signer (replay defense)
    for a in attestations:
        signer, epoch = a["signer"], a["epoch"]
        if epoch <= highest_epoch_seen.get(signer, -1):
            raise AttestationTopologyError(
                f"non-monotonic epoch from {signer}: {epoch} <= "
                f"{highest_epoch_seen.get(signer)} (replay or stale cross-component edge)"
            )
        if epoch > current_epoch:
            raise AttestationTopologyError(
                f"future epoch {epoch} from {signer} exceeds current {current_epoch}"
            )

    # 4. Edge symmetry: every attestation must have a counter-edge this epoch
    edges = {(a["signer"], a["target"]) for a in attestations}
    for signer, target in edges:
        if (target, signer) not in edges:
            raise AttestationTopologyError(
                f"asymmetric attestation edge {signer}->{target}: "
                "signature of topology split, commit refused"
            )

    return True