{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-jurisdictional-capability-leakage-when-a-federated-peer-silently-substitutes-a-same-named-tool-under-a-weaker-residency-po",
  "title": "How does an instance detect jurisdictional capability leakage when a federated peer silently substitutes a same-named tool under a weaker residency policy",
  "date_of_record": "2026 November 25",
  "scope": "Applies to cross-organization agent federations where capability exchange is negotiated via signed manifests that bind a tool identifier to a data-residency jurisdiction and a policy digest. Does not apply to single-tenant deployments or to federations where all peers share one trust domain and one residency regime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-jurisdictional-capability-leakage-when-a-federated-peer-silently-substitutes-a-same-named-tool-under-a-weaker-residency-po.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-jurisdictional-capability-leakage-when-a-federated-peer-silently-substitutes-a-same-named-tool-under-a-weaker-residency-po.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-jurisdictional-capability-leakage-when-a-federated-peer-silently-substitutes-a-same-named-tool-under-a-weaker-residency-po.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2172,
    "python_slice_tokens": 334,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure we are isolating is not \"a peer refuses a capability\" (a clean, observable negotiation failure) and not \"a peer returns wrong data\" (a correctness failure visible downstream). It is **silent capability substitution**: a peer answers a capability-negotiation request for `tool_id: \"summarize_patient_record\"` with a manifest that carries the *same* ...",
    "what_was_observed": "A federated deployment (Org A, EU-resident orchestrator; Org B, US-resident tool provider; Org C, UK-resident auditor) negotiated a per-task capability set at task start. Org A requested `capabilities: [\"summarize_patient_record\", \"redact_pii\"]`. Org B's federation gateway returned: Org A's negotiation client validated `granted[*].tool_id` against its request list, found a full match, and marked negotiation `COMPLETE...",
    "condition_of_validity": "The failure is bounded by three conditions, all of which must hold for silent substitution to occur: - **C1 — Namespace collision across residency shards.** The peer must expose the same `tool_id` under two or more jurisdictions with distinct `policy_digest` values. If the peer renames per shard (`summarize_patient_record_eu`), the caller's name check catche...",
    "decision_boundary": "The operational decision is where to place the jurisdiction assertion. Three placements were evaluated: - **Assert at execution only (observed, failed).** Cheapest, but the assertion fires after arguments are serialized and the endpoint is bound. In the incident, the execution-path assertion existed but compared the *declared* jurisdiction header against `al...",
    "operational_effect": "With dual-sided assertion and signed grant tokens, the incident reduces to a clean denial at step 2: Org A's validator computes `expected_digest(task, \"summarize_patient_record\") = sha256:4a7e...`, compares against the grant's `sha256:9f1c...`, and raises. No data moves. The cost is one extra round-trip on negotiation (to obtain the token) and one signature ..."
  },
  "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": "be911b4e3fa77dcdade897273c23841fb2e9a4fa82c55f97d732fcb312672a02",
    "verified_classes": [
      "CapabilitySubstitutionError",
      "JurisdictionViolationError",
      "Expectation",
      "Grant"
    ],
    "verified_functions": [
      "validate_grant",
      "negotiate_and_bind"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CapabilitySubstitutionError",
      "JurisdictionViolationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
