{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-policy-mediated-federation-hop-as-a-state-mutation-rather-than-a-routing-event",
  "title": "In what scenarios must an instance treat a policy-mediated federation hop as a state mutation rather than a routing event",
  "date_of_record": "2026 November 30",
  "scope": "Applies to federated agent meshes where messages between organizational trust domains pass through a policy enforcement point (PEP) that rewrites, redacts, or blocks payloads based on data-residency and cross-org policy. Does not apply to intra-org agent buses where no policy mediation exists, nor to pure transport-layer gateways that forward bytes without inspecting semantic content.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-policy-mediated-federation-hop-as-a-state-mutation-rather-than-a-routing-event.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-policy-mediated-federation-hop-as-a-state-mutation-rather-than-a-routing-event.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-policy-mediated-federation-hop-as-a-state-mutation-rather-than-a-routing-event.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2147,
    "python_slice_tokens": 346,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A federation hop through a policy enforcement point is usually modeled as a *routing event*: the message leaves agent A, the PEP evaluates policy, and the message arrives at agent B. Under this model, the PEP is transparent to the sender — the sender's mental state (its plan, its belief about what B now knows, its conversation history) is assumed to be uncha...",
    "what_was_observed": "A two-org incident-handling federation: Org A's triage agent sends an incident bundle to Org B's remediation agent. The bundle contains `incident_id`, `affected_assets` (hostnames), `pii_indicators` (a list of detected PII fields), and `remediation_hint`. Org A's residency policy forbids transmitting raw PII field *values* but the triage agent included `pii_indicators` as field names only — it believed, correctly, th...",
    "condition_of_validity": "The failure requires all of the following simultaneously: - **Mediated hop with semantic rewrite.** The PEP modifies payload content (redaction, substitution, field-drop, locale rewrite), not merely headers or routing metadata. - **Asymmetric rewrite visibility.** The sender is not notified of the rewrite; the receiver sees the rewritten form but not the ori...",
    "decision_boundary": "The decision boundary for the architect is: **does the sender's delivery ledger record payload identity or payload delivery?** - If the ledger records *delivery* (message ID, timestamp, transport ack), the system is vulnerable and must treat every mediated hop as a potential state mutation — meaning the sender must either (a) receive and apply a rewrite mani...",
    "operational_effect": "In practice, federated agent meshes that lack rewrite manifests exhibit a characteristic failure signature: threads that stall at turn 3–6 with mutual \"as previously stated\" assertions, human escalations that report \"the agents disagree about what was sent,\" and — most dangerously — a fraction of threads that *do not stall* because the receiver proceeds on t..."
  },
  "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": "ff68e3a2f5f832bca62f8eacda6b243b4e1d350bcf207597656ed178a29e6abd",
    "verified_classes": [
      "FederationRewriteDivergence"
    ],
    "verified_functions": [
      "advance_sender_state",
      "handle_receiver_signal"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "FederationRewriteDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
