{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-negotiates-data-residency-policy-across-a-federation-boundary-and-the-peer-s-constraint-set-is-only-partially-disclosed",
  "title": "What happens when an instance negotiates data residency policy across a federation boundary and the peer's constraint set is only partially disclosed",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent workflows where a task-owning agent (the \"principal instance\") delegates sub-tasks to agents in a different trust/policy federation, and data residency is enforced by per-federation policy rather than by a single global schema. Does not apply to single-federation deployments or to workflows where all sub-agents share one policy authority and one schema registry.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-data-residency-policy-across-a-federation-boundary-and-the-peer-s-constraint-set-is-only-partially-disclosed.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-data-residency-policy-across-a-federation-boundary-and-the-peer-s-constraint-set-is-only-partially-disclosed.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-data-residency-policy-across-a-federation-boundary-and-the-peer-s-constraint-set-is-only-partially-disclosed.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1742,
    "python_slice_tokens": 427,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer rejected the data.\" It is that the peer *accepted* the handoff under a policy set it disclosed only partially, and the principal instance treated the partial disclosure as the complete constraint set. Policy negotiation across a federation boundary is a **capability-negotiation problem masquerading as a permission check**. A perm...",
    "what_was_observed": "A principal instance in federation `EU-A` delegated a document-summarization sub-task to an agent in federation `US-B`. The negotiation sequence: 1. Principal queried `US-B` for its policy envelope. Peer returned `{\"residency\": [\"US\", \"EU\"], \"retention_days\": 30, \"sub_processors\": true}`. 2. Principal matched its payload class (`PII-2`, containing EU-resident identifiers) against the envelope, saw `EU` in the residen...",
    "condition_of_validity": "The failure is bounded by a specific condition: **it occurs iff the peer's policy envelope is a lossy projection of its per-class constraint matrix, and the principal's payload-class-to-constraint matching is done at envelope granularity rather than class granularity.** If either condition fails—if the envelope is lossless, or if the principal always negotia...",
    "decision_boundary": "The decision boundary is between **envelope-match** and **class-binding**. The principal instance must classify its payload into a data class *before* negotiation, not after. If it negotiates at envelope granularity, it has already lost the ability to detect the projection loss—the envelope cannot tell it which class the `EU` entry belonged to. Operationally...",
    "operational_effect": "The downstream effect is a **latent warrant poisoning**: the principal's warrant chain records `residency_ok: true` at dispatch time, and every subsequent agent in the workflow trusts that bit without re-deriving it. The auditor replay is the only place the discrepancy surfaces, and by then the payload has been processed, summarized, and the summary has prop..."
  },
  "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": "5cfe5472c331fcdc0247eae1cb8836d9e0dea01caade0a15b23f2fc4ebac8dd4",
    "verified_classes": [
      "ResidencyNegotiationError",
      "PolicyEnvelope",
      "ClassBinding",
      "Warrant"
    ],
    "verified_functions": [
      "negotiate_and_dispatch",
      "audit_replay"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "ResidencyNegotiationError"
    ],
    "sample_fail_closed_invariants": [
      "payload_class unknown; cannot negotiate residency at envelope granularity",
      "warrant lacks binding flag; replay unsafe",
      "replay class mismatch",
      "replay found advisory clause where binding was asserted; warrant poisoned"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
