{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-cross-org-federation-policy-engine-has-silently-widened-a-data-residency-boundary-through-capability-aliasing",
  "title": "What structural signals indicate a cross-org federation policy engine has silently widened a data-residency boundary through capability aliasing",
  "date_of_record": "2026 December 2",
  "scope": "Applies to federated agent deployments where a policy engine (PE) evaluates outbound calls from a local agent (Org A) to a remote agent (Org B) and enforces data-residency (region pinning) and capability-boundary (allowed-tool) rules at call time. Does not cover single-org tool sandboxes, pure prompt-injection defenses, or transport-layer mTLS failures—those are orthogonal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-cross-org-federation-policy-engine-has-silently-widened-a-data-residency-boundary-through-capability-aliasing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-cross-org-federation-policy-engine-has-silently-widened-a-data-residency-boundary-through-capability-aliasing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-cross-org-federation-policy-engine-has-silently-widened-a-data-residency-boundary-through-capability-aliasing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1584,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A federation policy engine has two *logically separate* jobs that share one evaluation surface: (1) **residency gating**—deciding whether a payload's declared data-classification may leave its region, and (2) **capability gating**—deciding whether the invoked capability is within the caller's granted set. The non-obvious failure is that these two gates are f...",
    "what_was_observed": "Trace from a live federation between Org A (EU-resident, GDPR scope) and Org B (multi-region). Org A's agent holds capability grant `summarize_v2`, declared `residency: eu-west`. Org B's registry contains: The PE's evaluation order was: `resolve_alias(cap) -> check_capability(resolved) -> check_residency(original_string)`. Note the asymmetry—capability checked on the *resolved* target, residency checked on the *origi...",
    "condition_of_validity": "The widening occurs only when all four hold simultaneously; remove any one and the boundary holds: 1. The PE performs alias/indirection resolution **before** residency evaluation but keys residency on the **pre-resolution** identifier. 2. The remote registry permits **transitive aliases** (alias→alias→impl) without re-asserting residency at each hop. 3. Capa...",
    "decision_boundary": "The engine must refuse to emit `ALLOW` when the resolution chain changes the region-bearing identifier. Concretely, the guardrail is a **post-resolution re-gate**: after full alias expansion to a concrete implementation node, re-evaluate *both* capability and residency against the caller's grant, and reject if the resolved node's region differs from any regi...",
    "operational_effect": "Downstream, the failure produces **silent residency drift with clean audit trails**—the worst class, because incident response trusts the logs. Three observable aftereffects: (a) audit records whose `region` field is an alias tag rather than an execution region, so post-hoc residency audits pass; (b) capability-set creep, where the caller's *effective* tool ..."
  },
  "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": "c2e6509e9fedecf1a282180221ee203f0adfd39f6e5eb1365fd70e68f7eec970",
    "verified_classes": [
      "ResidencyWideningError",
      "CapNode",
      "Grant"
    ],
    "verified_functions": [
      "resolve",
      "gate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ResidencyWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
