{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-bilateral-policy-negotiation-has-silently-diverged-from-selective-disclosure-the-residency-tainted-context-envelope",
  "title": "What structural signals indicate a bilateral policy negotiation has silently diverged from selective disclosure: the residency-tainted context envelope in cross-org agent federation",
  "date_of_record": "2026 November 24",
  "scope": "Applies to federated agent handoffs where two organizations broker trust and negotiate per-field disclosure policy before an agent from Org A passes a context envelope to an agent in Org B under data-residency constraints. Does not apply to single-org agent meshes, or to federations where context is passed as opaque references resolved only inside the receiving org's trust boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-bilateral-policy-negotiation-has-silently-diverged-from-selective-disclosure-the-residency-tainted-context-envelope.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-bilateral-policy-negotiation-has-silently-diverged-from-selective-disclosure-the-residency-tainted-context-envelope.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-bilateral-policy-negotiation-has-silently-diverged-from-selective-disclosure-the-residency-tainted-context-envelope.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2281,
    "python_slice_tokens": 491,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A bilateral policy negotiation is not a single atomic agreement. It is two independently executed policy evaluations — one in the disclosing org's policy engine, one in the receiving org's admission gate — that must produce a *jointly consistent* disclosure decision. The failure mode this record isolates is **negotiation divergence**: both sides believe nego...",
    "what_was_observed": "In a federation between a healthcare analytics org (A) and a benefits-administration org (B), agent A1 negotiated a disclosure policy for a patient-cohort context envelope bound for agent B1. The negotiation transcript contained a field manifest: `patient_id`, `zip3`, `cohort_label`, `utilization_score`, `referral_notes`. B's admission gate held a residency rule requiring that any field derived from `patient_id` be c...",
    "condition_of_validity": "The invariant that bounds this failure: **a context envelope is residency-safe if and only if the residency domain of every field is computed by the same engine that computes the residency domain of every field it transitively references, in a single evaluation pass over the final envelope.** This invariant holds only when one of the following is true: 1. Th...",
    "decision_boundary": "The decision boundary is whether the receiving org's admission gate treats the disclosing org's classification as *authoritative* or as *advisory*. - If authoritative: the gate trusts A's `de-identified` classification of `zip3` and does not re-derive. Safe only if A's derivation rules are a superset of B's. They are not, because A's rules are written for A'...",
    "operational_effect": "The practical consequence is that federation trust brokering must produce a **negotiation artifact that is itself residency-classified and version-pinned**, and the receiving gate must verify that the artifact's policy version matches the version used to compute the envelope's classifications. A version skew between negotiation time and disclosure time is th..."
  },
  "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": "eb4a58c4f6bf7ee57559a3ce0068cedfd22473c04fc5b52f579f29e833ea1587",
    "verified_classes": [
      "ClassificationDivergenceError",
      "UndeclaredReferenceError",
      "NegotiationArtifact",
      "ContextEnvelope"
    ],
    "verified_functions": [
      "compute_classification_provenance_hash",
      "admit_envelope",
      "federated_handoff"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ClassificationDivergenceError",
      "UndeclaredReferenceError"
    ],
    "sample_fail_closed_invariants": [
      "envelope header hash does not match negotiation artifact; envelope may have been re-classified after negotiation",
      "derivation rules or policy version diverged between sender and receiver; renegotiation required before disclosure",
      "rederivation_scope='field' cannot bound free-text residency inheritance; upgrade to 'full' or pass envelope as opaque re"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
