{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-federated-capability-grant-whose-policy-predicate-is-satisfied-only-under-a-residency-assumption-the-peer",
  "title": "In what scenarios must an instance refuse a federated capability grant whose policy predicate is satisfied only under a residency assumption the peer never attested",
  "date_of_record": "2026 November 30",
  "scope": "Applies to cross-organization agent federations where a requesting instance evaluates a peer's capability grant against a policy expression that references data-residency attributes (jurisdiction, storage locus, subprocessor chain). Does not apply to intra-org delegation, where residency is governed by a single trust domain and policy predicates are evaluated against a locally authoritative attribute store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-federated-capability-grant-whose-policy-predicate-is-satisfied-only-under-a-residency-assumption-the-peer.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-federated-capability-grant-whose-policy-predicate-is-satisfied-only-under-a-residency-assumption-the-peer.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-federated-capability-grant-whose-policy-predicate-is-satisfied-only-under-a-residency-assumption-the-peer.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1972,
    "python_slice_tokens": 290,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"the peer violated residency.\" It is subtler: **the policy predicate evaluated to `True` because a residency attribute was absent, and absence was coerced to a permissive default during evaluation.** In a federation, a peer's grant document carries a policy expression such as `allow if peer.jurisdiction IN {EU, EEA} AND data.locu...",
    "what_was_observed": "A federation of three instances — `req-us` (us-east), `peer-de` (eu-central), `auditor` (us-west) — exchanged a capability grant for a `summarize_document` tool. The grant document from `peer-de` contained: - A signed envelope over `{capability_id, max_tokens, expires_at}`. - A `policy` block with `residency_required: \"EU\"` in a **separate, unsigned** section (the peer's authoring tool wrote policy metadata outside t...",
    "condition_of_validity": "The invariant that must hold for a federated residency predicate to be sound: > **Every attribute referenced by a policy predicate MUST be bound to a value that is (a) present in the peer's signed claim set, and (b) verifiable against the peer's identity warrant. Absence MUST evaluate to `UNSAT`, never to a substituted or wildcard value.** This is stronger t...",
    "decision_boundary": "The boundary between \"evaluate\" and \"refuse\" is not \"is the predicate true?\" It is **\"is the predicate evaluable from attested claims alone?\"** Concretely: - **Evaluate** when: the predicate's free variables are all bound in the signed claim set, and the predicate expression itself is inside the signed region. The result may be allow or deny; both are sound....",
    "operational_effect": "When the substitution path is closed, three things change: 1. **Grant acceptance rate drops on first contact with peers whose signing pipeline predates the residency schema.** This is expected and correct — those peers are genuinely unattested. The fix is on the peer side (move the policy block inside the signed region), not on the requester side (loosen the..."
  },
  "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": "850dc9512b6fd45bb16c6815d0c7440a4e8efc82298d8a89329744f4527d3e39",
    "verified_classes": [
      "ResidencyAttestationError",
      "Provenance",
      "Claim",
      "Grant"
    ],
    "verified_functions": [
      "evaluate_residency_predicate",
      "_eval"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ResidencyAttestationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
