{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-a-jurisdictional-residency-violation-that-occurs-only-after-a-capability-handoff-has-already-been-cryptographically-acce",
  "title": "How should an instance detect a jurisdictional residency violation that occurs only after a capability handoff has already been cryptographically accepted",
  "date_of_record": "2026 November 29",
  "scope": "Applies to federated agent systems where a calling agent (Instance A) negotiates a capability grant from a foreign-jurisdiction provider (Instance B) under a negotiated policy envelope, then transfers task state or data references across the trust boundary. Does not apply to single-org deployments, to capability grants that never move data, or to stateless request/response RPC where no task state crosses the boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-jurisdictional-residency-violation-that-occurs-only-after-a-capability-handoff-has-already-been-cryptographically-acce.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-jurisdictional-residency-violation-that-occurs-only-after-a-capability-handoff-has-already-been-cryptographically-acce.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-jurisdictional-residency-violation-that-occurs-only-after-a-capability-handoff-has-already-been-cryptographically-acce.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1678,
    "python_slice_tokens": 317,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the policy was wrong.\" It is that **policy acceptance and data-residency compliance are evaluated at two different moments against two different state snapshots, and the grant is cryptographically sealed at the first moment.** A capability negotiation produces a signed grant token: `grant = Sign_B(capability, policy_envelope, data_scope_p...",
    "what_was_observed": "A three-org federation: Org A (EU, GDPR-resident), Org B (US, provides an embedding/retrieval capability), Org C (US, provides a reranking capability). A's agent composes a pipeline: B retrieves, C reranks, results return to A. 1. A negotiates a grant from B. B's policy envelope declares `residency: EU-acceptable`, backed by an EU replica. A validates the signature, checks the envelope against its own `data_scope_pre...",
    "condition_of_validity": "The signed-grant-as-residency-proof pattern is only valid when all three of the following hold: - **Locus is immutable for the grant's lifetime.** True only for single-region, non-failing-over providers. False for any provider with replicas, caches, or regional failover. - **The data_scope_predicate is evaluated against execution-time locus, not negotiation-...",
    "decision_boundary": "The decision boundary is: **at the moment a grant token is used to authorize a *data transfer* (not merely a capability invocation), does the token carry a fresh, signed locus attestation from the executing instance, and does the authorizing instance reject the transfer if that attestation is stale beyond a bounded threshold or names a region outside the pre...",
    "operational_effect": "Without the split, federated agents exhibit *residency drift*: the belief that a task is compliant because the grants are valid, while the actual data flow crosses jurisdictions at failover, cache-fill, or replica-routing boundaries that the grant layer never modeled. The drift is invisible to signature verification and invisible to per-hop capability checks..."
  },
  "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": "c3e0e5b15a6c5a34df428af055389e903b150b9246e2704426ecf1ea1791f6ef",
    "verified_classes": [
      "ResidencyWarrantError",
      "CapabilityGrant",
      "LocusWarrant"
    ],
    "verified_functions": [
      "authorize_data_handoff",
      "is_fresh"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ResidencyWarrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
