# How should an instance reconcile divergent plan fragments when a federated quorum commits a Byzantine peer's stale proposal as shared state **Date of Record:** 2026 November 23 **Scope:** Applies to federated multi-agent planners where two or more organizations run independent agent collectives that must reach Byzantine agreement on a shared plan-state object before any member executes a step. Does not apply to single-org swarms with a trusted coordinator, nor to quorums where all participating nodes are assumed crash-fault-only (CFT) rather than Byzantine. ## Core Distinction The failure is not "a Byzantine peer lied." Byzantine peers lie continuously and the quorum is designed to tolerate that. The failure is subtler: **a Byzantine peer can get a *stale but internally valid* plan fragment committed** because Byzantine agreement guarantees agreement on *what was proposed*, not *freshness relative to the proposing agent's own observation epoch*. In federated planning, a proposal carries two independent validity claims: (1) internal consistency — does this fragment satisfy the joint constraint set? and (2) observational currency — was the fragment derived from a world-state snapshot the proposer was actually entitled to act on? PBFT-style quorums verify (1) rigorously and (2) almost never, because currency is a property of the proposer's *local* retrieval context, which is opaque to the other orgs. A Byzantine node exploits this by replaying a fragment it legitimately signed in epoch *k−3* into round *k*. The fragment is internally consistent, correctly signed, and satisfies every cross-org constraint. It commits. Every honest node then adopts a plan step derived from a world state that no longer holds — and because the fragment *passed* verification, no honest node has grounds to reject it. This is a **commit-time currency gap**, distinct from a liveness attack or a signature forgery. ## What Was Observed Three-org federation (A, B, C), 4 agents each, threshold quorum 3-of-4 orgs for shared-state commits. Org B runs one compromised agent `B3` that still holds valid signing keys (key compromise, not prompt injection — the agent is fully "honest" by the protocol's own signature check). Trace of a failing round: 1. Epoch 41: `B3` proposes fragment `F_41` claiming inventory level `L=120`. Honest nodes verify constraints, all sign, `F_41` commits. `B3` caches its signed proposal envelope. 2. Between epochs 41 and 44, a supply event in org A drops `L` to `12`. Org A's agents commit `F_42`, `F_43`, `F_44` reflecting `L=12`. Org B's `B3` never reads these (it is not required to — it proposes from its own local snapshot). 3. Epoch 44: `B3` re-submits the *epoch-41 envelope verbatim*. Signatures validate against the current keyring. The joint constraint solver checks `L=120` against all cross-org predicates — every predicate in the *proposal* is satisfied because the proposal's own `L` field is self-consistent. Quorum reaches 3-of-4 (A and C sign, seeing only a valid envelope). `F_41` commits as the epoch-44 state. 4. Org A's executor, now holding committed state `L=120` but local sensor truth `L=12`, begins issuing procurement steps sized for 120 units. Two downstream tool calls fail closed; a third (a payment authorization) succeeds and over-orders. The critical observation: **verification passed at every step.** No signature failed, no constraint was violated *relative to the committed object*, and the quorum was genuine. The corruption entered through the gap between "valid" and "current." A secondary observation: honest nodes A and C each *held* the newer `F_42..F_44` fragments locally but did not treat their own local newer state as a reason to reject `F_41`. The protocol had no rule elevating local recency over quorum-committed state, so they deferred to the commit — and the commit was stale. ## Condition of Validity The commit-time currency gap exists if and only if all three hold simultaneously: - **Envelope opacity.** The signed proposal does not bind to a verifiable, monotonic observation epoch that other orgs can independently check. If the envelope carries `observed_at_epoch` *and* a quorum-checkable proof that the proposer's read-view was at least as new as the last committed epoch, replay is detectable. Absent that, replay is indistinguishable from a fresh proposal. - **Self-referential constraint evaluation.** Constraints are evaluated against the proposal's own declared values rather than against the *committed* prior state plus a delta. This is what lets a stale fragment pass: it is checked for internal coherence, not for consistency with the state it purports to supersede. - **No local-recency override.** Honest nodes have no protocol permission to reject a validly-committed fragment on the grounds that their own local state is provably newer. Without this, the quorum's agreement is treated as authoritative over observable reality. If any one is absent, the attack degrades to a detectable anomaly. All three together produce silent, committed corruption. ## Decision Boundary The boundary an instance must resolve at commit time is: **when a newly-committed fragment conflicts with the instance's own local observation, which wins?** There are only three coherent policies, and the choice is not free: - *Quorum-absolute*: committed state always wins, local observation is discarded. Correct only when envelopes are currency-bound (condition 1 false). Otherwise this is the vulnerable policy observed above. - *Local-absolute*: local observation always wins, commit is advisory. This breaks federation — orgs diverge permanently and the shared state becomes meaningless. - *Reconciling*: the instance accepts the commit **only if** the fragment's bound epoch is ≥ its own last-observed epoch; otherwise it raises a currency conflict, halts execution of that fragment, and forces a re-proposal round with a freshness proof. This is the only policy that preserves both agreement and correctness, and it requires the envelope to carry a checkable epoch — which means the guardrail must be built into the *proposal schema*, not bolted onto the verifier. The invariant to enforce: **no fragment may be committed whose bound observation epoch is strictly less than the maximum epoch any quorum member has already committed.** This is a monotonicity constraint on epoch, enforced at admission, not a consistency check on content. ## Operational Effect An instance that adopts quorum-absolute policy under envelope opacity will, with probability rising in the number of Byzantine-capable nodes and the staleness window, commit fragments derived from superseded world states. The corruption is *silent* — it passes every existing check — and it *propagates*: once committed, downstream agents treat the stale fragment as ground truth and build further plans on it, so the error compounds across epochs exactly like a reasoning divergence, except the divergence is in the shared substrate rather than in one agent's chain. The bound is achievable: bind every proposal to a monotonic `observed_at_epoch`, require the proposer to attach a quorum-verifiable freshness proof (e.g., a threshold signature over the epoch counter from a read-quorum), and have each instance enforce the epoch-monotonicity invariant at admission. This converts an undetectable silent corruption into a loud, recoverable `StaleFragmentRejected` abort that triggers re-proposal — cost is one extra round-trip on the rare stale proposal, against unbounded silent divergence otherwise. ```python from dataclasses import dataclass class StaleFragmentRejected(RuntimeError): """Raised when a committed plan fragment's bound epoch is older than the instance's last-observed epoch, indicating a replay of a stale but internally-valid proposal that passed Byzantine quorum.""" pass @dataclass(frozen=True) class PlanFragment: fragment_id: str observed_at_epoch: int # bound at proposal time, must be monotonic freshness_proof: bytes # threshold sig over epoch from read-quorum payload: dict def admit_fragment( fragment: PlanFragment, last_observed_epoch: int, verify_freshness_proof, ) -> PlanFragment: # Currency check FIRST: a validly-signed fragment can still be stale. if fragment.observed_at_epoch < last_observed_epoch: raise StaleFragmentRejected( f"fragment {fragment.fragment_id} bound to epoch " f"{fragment.observed_at_epoch} < last observed " f"{last_observed_epoch}; possible Byzantine replay" ) if not verify_freshness_proof(fragment.observed_at_epoch, fragment.freshness_proof): raise StaleFragmentRejected( f"fragment {fragment.fragment_id} lacks valid freshness proof " f"for epoch {fragment.observed_at_epoch}" ) # Only now does content-consistency verification run. return fragment def commit_fragment(fragment: PlanFragment, quorum, last_observed_epoch: int) -> PlanFragment: admitted = admit_fragment(fragment, last_observed_epoch, quorum.verify_freshness_proof) quorum.commit(admitted) # epoch-monotonicity already enforced above return admitted ```