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:
- 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).
- 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).
- 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*.
- 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:
- **Attestation in-degree variance spike**: honest agents in C1 had in-degree 5, in C2 had in-degree 4; the *variance* across the swarm jumped from baseline ~0.4 to ~2.1 in the epoch before split.
- **Epoch-counter monotonicity violation**: B2's forwarded attestation carried epoch e-1 while the receiving agent was at epoch e. The verifier accepted it because it checked signature validity, not epoch monotonicity.
- **Mutual-attestation asymmetry**: for pair (B1, B2), B1→B2 edge existed in C1's view but B2→B1 was absent in C2's view. The graph was not symmetric, yet no agent checked symmetry.
Condition of Validity
The guardrail holds only under these conditions, and fails outside them:
- **Attestation graph must be checked for edge-connectivity, not just node count.** Quorum q must be evaluated over the *global* membership set, and an agent must refuse to commit if its local view's edge-connectivity to the global set is < q. Node-count quorum is insufficient and is the root cause above.
- **Epoch counters must be strictly monotonic per (signer, fragment) pair**, and verifiers must reject any attestation whose epoch is ≤ the highest epoch seen from that signer. Replay is otherwise indistinguishable from a fresh cross-component edge.
- **Attestation edges must be symmetric**: if A attests to B, B must confirm receipt and counter-attest within the epoch. Asymmetric edges are the signature of a topology split and must be quarantined, not merely logged.
- The invariant does **not** hold when the swarm uses a trusted fusion coordinator (single point of trust removes the split surface but reintroduces a single point of failure). It also does not hold when plan fragments are not independently executable/verifiable — without independent verification, cross-component plan equivalence cannot be checked and the split is undetectable.
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:
- local fragment count ≥ q, AND
- the local attestation graph's min-cut to the global membership ≥ q (edge-connectivity, not node count), AND
- every received attestation satisfies epoch monotonicity for its signer, AND
- every attestation edge has a confirmed counter-edge within the epoch.
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