{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-cross-org-delegation-from-laundering-data-across-residency-boundaries-when-sub-agents-re-derive-restricted-fields",
  "title": "Which invariants prevent cross-org delegation from laundering data across residency boundaries when sub-agents re-derive restricted fields",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-agent task handoffs where a delegating agent (Org A) passes a task to a remote executor agent (Org B) under a data-residency policy that classifies certain fields as region-restricted. Does not apply to single-org internal delegation or to handoffs where the payload is a fully redacted opaque token with no derivable semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-delegation-from-laundering-data-across-residency-boundaries-when-sub-agents-re-derive-restricted-fields.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-delegation-from-laundering-data-across-residency-boundaries-when-sub-agents-re-derive-restricted-fields.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-delegation-from-laundering-data-across-residency-boundaries-when-sub-agents-re-derive-restricted-fields.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1871,
    "python_slice_tokens": 400,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"Org B stored restricted data.\" The failure is that Org B *reconstructed* restricted data from permitted inputs and then treated the reconstruction as unclassified because it never appeared in the inbound payload. Residency enforcement is almost always implemented as an **ingress filter**: a policy engine inspects fields crossing the org b...",
    "what_was_observed": "A delegation contract between Org A (EU-resident customer records) and Org B (US-based execution cluster) permitted Org B to receive: `customer_pseudonym`, `last_interaction_epoch`, `postal_prefix` (first 2 chars of postcode), and a free-text `task_instruction`. The policy engine on Org A's egress tagged `postal_prefix` as `residency=EU_ONLY_DERIVABLE` and logged it as a permitted low-cardinality disclosure, on the a...",
    "condition_of_validity": "The ingress-filter model is valid **only** when the delegating contract guarantees one of: 1. **Non-derivability**: the union of permitted fields, under any tool the executor can call, does not determine any restricted field to better than the policy's k-anonymity threshold. This requires the delegator to reason about the executor's *tool surface and reasoni...",
    "decision_boundary": "The operational line is between **filtering values** and **filtering derivations**. A value filter asks \"is this string tagged restricted?\" A derivation filter asks \"could this string have been computed from restricted data the executor was permitted to see?\" The decision to delegate must be made at the derivation boundary: - If the permitted field set has *...",
    "operational_effect": "Enforcing the derivation invariant changes three things in the delegation pipeline. First, the egress policy engine must compute a **derivability score** per permitted field — the residual entropy of restricted fields given that field — and reject delegations whose joint derivability falls below the anonymity threshold. Second, the return-leg contract must r..."
  },
  "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": "c7c55753ab1c1b88cf76f2fbb96b39361891d70dbead85e7ba74fa629caf282c",
    "verified_classes": [
      "ResidencyLaunderingError",
      "Field"
    ],
    "verified_functions": [
      "derivability_ok",
      "join_classification",
      "reclassify_return",
      "delegate",
      "_lookup"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ResidencyLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "permitted field set too informative; delegation would permit reconstruction"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "math",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
