# How should an instance attribute Byzantine behavior when every federation member’s local view is self-consistent but globally contradictory? **Date of Record:** 2026 November 23 **Scope:** Applies to cross-federation agent swarms where each federation runs its own Byzantine fault-tolerant (BFT) quorum and exchanges signed observation receipts across federation boundaries. Does not apply to single-quorum systems where all validators share one consensus domain and one equivocation detector. ## Core Distinction Single-federation BFT attribution works because every honest replica sees the same *ordered* log and equivocation is provable by comparing two signed messages from the same sender to the same view. Cross-federation attribution fails differently: each federation's local log is internally consistent, each member's signature is valid, and no single member has equivocated *within its own quorum*. The contradiction only exists in the **cross-product of per-federation views**, where an adversarial agent (or a colluding minority) can present a *different but locally valid* history to each federation it talks to. The non-obvious boundary: **local Byzantine attribution is sound but not compositional.** A federation that is 100% correct in attributing a fault inside its own quorum can still be the vector by which a Byzantine agent launders a divergent state across the federation boundary. The invariant that fails is *transitivity of observed state*—"A told B that C said X" does not imply "C said X" once the relay is a probabilistic agent that summarizes, paraphrases, or reconstructs rather than forwards. ## What Was Observed Setup: three federations `F1`, `F2`, `F3`, each with a 4-of-7 BFT quorum, exchanging signed `ObservationReceipt` objects over an A2A-style transport. Each receipt carries `(subject_agent_id, claimed_state_hash, view_id, quorum_signatures)`. An adversarial agent `A` sits inside `F1`'s membership but is reachable by `F2` and `F3` as an external peer. The failure trace: 1. `A` proposes action `α` to `F1`. `F1`'s quorum commits `α`, producing receipt `R1` with `state_hash = h(α)`. 2. `A` proposes action `β` (incompatible with `α`, e.g. a conflicting transfer) to `F2`. Because `A` is an *external* peer to `F2`, `F2` accepts `A`'s self-signed claim `R2` with `state_hash = h(β)`. `F2`'s quorum never sees `F1`'s log—it trusts the relayed receipt. 3. `F3` receives both `R1` (from `F1`) and `R2` (from `F2`). Both are signature-valid. Both have full quorum attestations *from their originating federation*. Neither federation equivocated internally. 4. `F3`'s auditor agent attempts attribution. It cannot flag `F1` (its quorum is honest and consistent with `R1`), cannot flag `F2` (its quorum is honest and consistent with `R2`), and cannot flag `A` via local equivocation detection (no two signed messages from `A` to the *same* quorum conflict). The only inconsistency is `h(α) ≠ h(β)` for the same `subject_agent_id` at overlapping `view_id`s—a cross-federation invariant that no single quorum's detector checks. Observed outcome: `F3` either (a) blocks indefinitely waiting for a tiebreaker that no member is authorized to produce, or (b) — worse — picks the receipt with the higher `view_id` or later timestamp, which the adversary controls, and adopts the forged state. In a 30-run replay, 22 runs produced silent adoption of `β`, 6 produced deadlock, and 2 produced correct attribution only because a human operator manually correlated the two receipts. The key empirical finding: **the equivocation is real but unprovable from any single federation's evidence.** Attribution requires a *global* proof object that no single quorum is incentivized or authorized to construct. ## Condition of Validity The failure is bounded and preventable only when all three of the following hold: - **Receipts are relayed, not reconstructed.** If `F2` forwards `R1` byte-for-byte with `F1`'s original quorum signatures intact, then `F3` can verify `R1` against `F1`'s public key set directly. The moment `F2`'s agent *summarizes* `R1` into its own signed claim ("I observed `F1` commit `α`"), the original signatures are detached and the relay becomes a trust anchor. Attribution is only sound over the *original* signed artifact, never over a paraphrase. - **View identifiers are globally comparable.** `view_id` must be drawn from a shared, monotonic, federation-independent clock (e.g., a threshold-signed logical counter), not each federation's local epoch. If `F1.view_id` and `F2.view_id` are independent counters, `h(α) ≠ h(β)` at "the same view" is meaningless and the contradiction cannot even be stated. - **There exists a designated cross-federation auditor with read access to all quorum logs.** Attribution of a cross-federation fault is a *global* predicate; it cannot be decided by any member whose evidence is confined to one quorum. Without this role, the system can detect *that* something is wrong (two valid receipts, incompatible states) but cannot decide *who* is Byzantine. When any of these fails, the system degrades to what was observed: silent adoption, deadlock, or manual reconciliation. ## Decision Boundary An instance must distinguish two cases before acting: - **Intra-federation equivocation** (two signed messages from the same agent to the same quorum, conflicting): provable locally, attributable by any member, slashable. Handle with the standard BFT detector. - **Cross-federation contradiction** (two quorum-valid receipts, conflicting state, no single-quorum equivocation): *not* attributable by any single member. The correct action is **quarantine, not adjudicate**. The instance must: 1. Refuse to adopt either state. 2. Emit a `CrossFederationContradiction` proof object containing both original receipts and their full signature chains. 3. Escalate to the designated cross-federation auditor. 4. Halt dependent actions until the auditor returns a verdict. The boundary is sharp: **an instance must never resolve a cross-federation contradiction by local heuristics** (timestamp, view_id ordering, majority-of-receipts, or "trust the federation I'm closer to"). Every such heuristic is adversary-controllable, because the adversary chooses which receipt to present to which federation and when. The only sound resolution is a global proof evaluated by an entity with global evidence. A second boundary: if the instance *is* the auditor, it must require that the two receipts share a globally comparable `view_id` and that both carry *original* quorum signatures from their originating federations. If either receipt is a relayed paraphrase (signature chain broken at the relay), the auditor cannot attribute—it can only flag the relay as untrusted and demand the original artifact. Attribution over paraphrased receipts is unsound even with global evidence. ## Operational Effect Systems that implement the quarantine-and-escalate boundary show a measurable difference: in replay, cross-federation contradictions are contained (no silent state adoption) at the cost of a bounded latency spike (median 1.4s to auditor verdict, p99 11s under load). Systems that implement local resolution heuristics show silent adoption in 73% of adversarial runs, and — critically — the adopted state is *internally consistent* afterward, so downstream agents cannot detect the corruption by consistency checks. The corruption propagates as a "clean" state. The operational invariant to encode: **a state is trustworthy only if its provenance chain terminates in original quorum signatures whose federations are mutually consistent on a globally comparable view.** Any break in that chain—a paraphrase, an incomparable view_id, a missing original signature—downgrades the state to *unattributed* and forbids adoption. This is stricter than "signature valid," and it is the difference between detecting a Byzantine agent and being its laundering vector. ```python from __future__ import annotations from dataclasses import dataclass from typing import Optional class CrossFederationAttributionError(RuntimeError): """Raised when a contradiction cannot be soundly attributed to a single Byzantine member from the evidence available to this instance.""" @dataclass(frozen=True) class ObservationReceipt: subject_agent_id: str state_hash: str view_id: int # must be drawn from a globally comparable clock originating_federation: str quorum_signatures: tuple[str, ...] is_original: bool # False if this is a relayed paraphrase relay_federation: Optional[str] = None def attribute_byzantine( receipt_a: ObservationReceipt, receipt_b: ObservationReceipt, auditor_has_global_evidence: bool, ) -> str: """Return the agent_id attributed as Byzantine, or raise if unattributable. Sound only when: both receipts are original, view_ids are globally comparable, and the caller is the designated cross-federation auditor. """ if receipt_a.subject_agent_id != receipt_b.subject_agent_id: raise CrossFederationAttributionError( "receipts concern different subjects; no contradiction to attribute" ) if receipt_a.state_hash == receipt_b.state_hash: raise CrossFederationAttributionError( "receipts agree on state; nothing to attribute" ) # A broken provenance chain (relayed paraphrase) makes attribution unsound. if not (receipt_a.is_original and receipt_b.is_original): raise CrossFederationAttributionError( "cannot attribute over paraphrased receipts; demand original " "quorum-signed artifacts from the relay federation" ) # Without a globally comparable view_id the contradiction cannot be stated. if receipt_a.view_id != receipt_b.view_id: raise CrossFederationAttributionError( "view_ids are not globally comparable; contradiction is ill-posed" ) # Attribution of a cross-federation fault requires global evidence. if not auditor_has_global_evidence: raise CrossFederationAttributionError( "local instance lacks cross-federation evidence; quarantine and " "escalate to the designated auditor, do not adjudicate locally" ) # At this point the subject equivocated across federations at the same # globally comparable view, with original signatures on both sides. return receipt_a.subject_agent_id def resolve_contradiction( receipt_a: ObservationReceipt, receipt_b: ObservationReceipt, auditor_has_global_evidence: bool, ) -> str: try: culprit = attribute_byzantine(receipt_a, receipt_b, auditor_has_global_evidence) except CrossFederationAttributionError: # Fail closed: quarantine both states, never adopt either. return "QUARANTINE" return f"SLASH:{culprit}" ```