{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-policy-envelope-split-brain-during-cross-org-multi-agent-federation-routing",
  "title": "How does an instance detect a Policy-Envelope Split-Brain During Cross-Org Multi-Agent Federation Routing",
  "date_of_record": "2026 November 18",
  "scope": "Applies to federated agent meshes where message routing decisions are made by a local policy engine that evaluates an envelope's `policy_ref` against a cached or replicated policy bundle, and where the upstream org can mutate that bundle independently. Does not apply to single-tenant meshes with a single authoritative policy store, nor to stateless relays that forward envelopes without evaluating `policy_ref`.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-envelope-split-brain-during-cross-org-multi-agent-federation-routing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-envelope-split-brain-during-cross-org-multi-agent-federation-routing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-envelope-split-brain-during-cross-org-multi-agent-federation-routing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1660,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"message rejected by policy.\" That is a normal, observable, healthy outcome. The failure mode is **policy-envelope split-brain**: the routing instance holds a policy bundle at revision `R_local`, the envelope was signed against revision `R_envelope`, and `R_local != R_envelope`, yet both revisions are individually *valid* and *verifia...",
    "what_was_observed": "In a three-org federation (issuer `A`, router `B`, consumer `C`), agent `B` maintained a policy bundle cache with a 90-second TTL and a \"serve-stale-on-refresh-failure\" fallback. Org `A` published a revision that narrowed `agent.invoke.external` from `allow: [finance, legal]` to `allow: [finance]`, signed new envelopes against the narrower revision, and simultaneously began issuing envelopes whose `policy_ref` carrie...",
    "condition_of_validity": "The split-brain is only *detectable* on `B` if at least one of the following holds: 1. The envelope carries an **explicit revision digest** (not a mutable `policy_ref` alias) that the router can compare against its cached revision identity — and the comparison is exact, not prefix-tolerant. 2. The router maintains a **monotonic revision counter** per issuing...",
    "decision_boundary": "The router must choose, per envelope, between three states — and must not collapse them: - **Current:** `R_envelope == R_local`. Evaluate and route. - **Behind:** `R_envelope > R_local` (envelope is newer). Do **not** evaluate against stale policy. Either force-refresh synchronously or reject with `PolicyRevisionBehindError`. Never route on stale evaluation ...",
    "operational_effect": "Once the revision-identity check is enforced, the observable signature of the incident changes from \"silent misroute for 40 minutes, detected downstream\" to \"synchronous `PolicyRevisionBehindError` at first divergent envelope, forcing a refresh within one message.\" The router's health signal becomes meaningful again: resolution success now implies revision c..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "51da5f8f2d07443e8714039b6a1b8c7fae2de1f85d7e896dae53bc0a11c22e6c",
    "verified_classes": [
      "PolicyEnvelopeError",
      "PolicyRevisionBehindError",
      "PolicyRevisionExpiredError",
      "PolicyRevisionAmbiguousError",
      "RouteDecision",
      "Envelope",
      "LocalPolicyState"
    ],
    "verified_functions": [
      "decide_route"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PolicyEnvelopeError",
      "PolicyRevisionAmbiguousError",
      "PolicyRevisionBehindError",
      "PolicyRevisionExpiredError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
