{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-policy-shadowed-capability-grant-when-federation-relay-strips-jurisdiction-tags-from-mcp-tool-descriptors",
  "title": "How does an instance detect a policy-shadowed capability grant when federation relay strips jurisdiction tags from MCP tool descriptors?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to federated agent systems where capability grants are negotiated across organizational boundaries via relayed MCP-style tool descriptors, and where the grant's validity depends on data-residency jurisdiction metadata attached to the descriptor. Does not apply to single-org deployments or to federations where jurisdiction is enforced at the transport layer rather than the descriptor layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-shadowed-capability-grant-when-federation-relay-strips-jurisdiction-tags-from-mcp-tool-descriptors.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-shadowed-capability-grant-when-federation-relay-strips-jurisdiction-tags-from-mcp-tool-descriptors.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-shadowed-capability-grant-when-federation-relay-strips-jurisdiction-tags-from-mcp-tool-descriptors.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1939,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not a *denied* capability — denials are loud, produce a structured error, and trigger fallback. The failure mode is a **policy-shadowed grant**: a capability that the receiving agent believes it holds, that the issuing org's policy engine also believes it issued, but whose jurisdiction constraint was silently dropped during relay ser...",
    "what_was_observed": "A three-party federation: Org A (caller, EU), Org B (capability issuer, EU), Org C (relay/hub, US). A negotiates a capability grant from B for a `records.write` tool. B's policy engine attaches a jurisdiction predicate to the descriptor: The descriptor is relayed through C. C's relay implementation normalizes descriptors against a local schema that predates the `constraints` field. Non-schema keys are dropped during ...",
    "condition_of_validity": "The invariant that must hold for federated capability exchange to be safe is: > A capability grant is valid at the receiver only if the receiver's constraint model is a **superset** of the issuer's constraint model, and the receiver can *prove* it observed every constraint the issuer attached. The first clause is a schema-versioning obligation on the receive...",
    "decision_boundary": "The boundary an instance must draw is between **grants it can constrain-verify** and **grants it cannot**. The decision procedure at grant acceptance: 1. If the descriptor carries a constraint digest, recompute the digest over received constraints. Mismatch → reject with `ConstraintStripDetected`. Match → accept with the received constraints. 2. If the descr...",
    "operational_effect": "With the digest-and-intersection guardrail in place, the failure trace changes at step one: C's relay strips `constraints`, but the digest field survives (it is opaque, typed as `bytes`, and C's normalizer passes it through untouched because it has no schema entry to normalize against). A recomputes the digest over its received (empty) constraint set, gets a..."
  },
  "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": "574b34d5c46cda56ac33283dcd58475c0188a7bbe13f8269ab82ce90cb15ed7f",
    "verified_classes": [
      "ConstraintStripDetected",
      "UnverifiableFederatedGrant",
      "GrantDescriptor"
    ],
    "verified_functions": [
      "compute_digest",
      "known_issuer_jurisdictions",
      "accept_grant",
      "handle_relayed_descriptor"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ConstraintStripDetected",
      "UnverifiableFederatedGrant"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
