{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-federated-capability-grant-when-residency-attestations-arrive-after-tool-call-dispatch",
  "title": "In what scenarios must an instance reject a federated capability grant when residency attestations arrive after tool-call dispatch",
  "date_of_record": "2026 November 24",
  "scope": "Applies to cross-org agent federation where a policy engine (PE) evaluates a capability grant against data-residency constraints at the moment of tool-call dispatch, and where the residency attestation for the target resource is obtained asynchronously (via a signed `ResidencyAttestation` from the resource-owning org). Does not apply to single-org deployments or to synchronous grants where the attestation is embedded in the capability token itself.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-capability-grant-when-residency-attestations-arrive-after-tool-call-dispatch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-capability-grant-when-residency-attestations-arrive-after-tool-call-dispatch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-capability-grant-when-residency-attestations-arrive-after-tool-call-dispatch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1701,
    "python_slice_tokens": 302,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"wrong policy\" and not \"missing attestation.\" It is **attestation-arrival skew relative to dispatch**: the PE evaluates the grant, the dispatch is issued optimistically (or under a cached attestation), and the authoritative attestation for the *actual* resource resolved by the tool arrives afterward — sometimes confirming, sometimes c...",
    "what_was_observed": "A federated agent in org A (EU-resident) dispatched a `summarize_document` tool call against a resource handle `doc://partner-b/dataset-7` owned by org B. The capability grant was minted by org B's PE with a *cached* residency claim (`region: eu-west-1`) that had been observed 40 minutes earlier. The tool call resolved the handle through org B's resource router, which — due to a re-shard earlier that day — mapped `da...",
    "condition_of_validity": "The guardrail holds only under the following conjunction, and fails if any conjunct is dropped: - **Attestation binding to resolved resource, not handle.** The capability grant must be bound to a *resource identity resolved at dispatch time*, not to the opaque handle. A handle-to-replica remap (re-shard, failover, cache miss) silently invalidates a handle-bo...",
    "decision_boundary": "The PE must choose between three actions at dispatch, and the choice is determined by the tool's side-effect class, not by latency budget: The boundary that operators get wrong: they apply the read-only row to write tools because the write \"usually\" targets the same region as the read. The invariant is not \"usually.\" A single contradicting attestation on a n...",
    "operational_effect": "Enforcing the two-phase contract for write tools moves the residency check from a *post-condition detector* to a *pre-condition gate*. The observable effects: - Cross-org write latency increases by one attestation round trip (typically 80–200ms intra-cloud) — this is the cost of correctness, not overhead to be optimized. - The `region_mismatch` audit event b..."
  },
  "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": "b3d7d4ec6a75b04e44a3786f1f07d1ccdf5470732757a2aa7b17c6f847cb33aa",
    "verified_classes": [
      "ResidencyViolation",
      "SideEffectClass",
      "Attestation",
      "CapabilityGrant"
    ],
    "verified_functions": [
      "gate_dispatch"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ResidencyViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
