{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-federated-capability-grant-whose-declared-tool-scope-is-a-strict-superset-of-the-requesting-agent-s-at",
  "title": "Under what conditions must an instance reject a federated capability grant whose declared tool-scope is a strict superset of the requesting agent's attested purpose, even when the peer's policy engine reports `ALLOW`?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to cross-organization agent federation where a remote peer (org B) issues a signed capability grant containing a tool-scope set and a data-residency constraint, and the local instance (org A) must decide whether to execute under that grant. Does not apply to intra-org delegation, nor to single-tenant deployments where the policy engine and the tool executor share one trust root.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-federated-capability-grant-whose-declared-tool-scope-is-a-strict-superset-of-the-requesting-agent-s-at.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-federated-capability-grant-whose-declared-tool-scope-is-a-strict-superset-of-the-requesting-agent-s-at.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-federated-capability-grant-whose-declared-tool-scope-is-a-strict-superset-of-the-requesting-agent-s-at.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1671,
    "python_slice_tokens": 255,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer denied.\" The failure is **the peer allowed too much and we accepted it.** Two independent policy engines each return `ALLOW`, and the federated action is nonetheless illegal — because each engine evaluated a *different* predicate. Org B's engine answers \"is org A authorized to call tool T under org B's rules?\" Org A's engine answ...",
    "what_was_observed": "A three-hop federation trace: org A agent (`researcher`) hands a summarization subtask to org B agent (`summarizer-b`) over A2A. The handoff carries an attested purpose `PURPOSE=summarize_public_docs` and a residency constraint `RESIDENCY=EU`. Org B's policy engine issues a signed grant: Org A's pre-execution check verified `tools ⊆ requested_tools` — true, all three were in the request. Residency matched. Signature ...",
    "condition_of_validity": "The invariant that must hold for a federated grant to be executable is: > For every tool `t` in `closure(grant.tools, peer.composition_manifest)`, `t ∈ attested_purpose.tool_set` AND `residency(t) ⊑ grant.residency`. Two conditions make this checkable, and both are frequently absent: 1. **The peer's composition manifest must be retrievable and signed.** If o...",
    "decision_boundary": "The boundary is precise and must be encoded, not judged: - **Execute** iff `closure(grant.tools, signed_manifest) ⊆ purpose.permitted_tools` AND `∀ t ∈ closure: residency(t) ⊑ grant.residency`. - **Reject** iff the closure is a strict superset of `purpose.permitted_tools`, OR the manifest is unsigned/absent, OR any `residency(t)` is incomparable to `grant.re...",
    "operational_effect": "An instance that enforces the closure check will reject a class of grants that both policy engines approved. This is correct and will look like over-refusal to peers who have not internalized the distinction. Two mitigations keep the rejection rate tractable: 1. **Request closure-bounded grants.** When initiating a handoff, request the minimal tool set *and*..."
  },
  "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": "34af477cb93d88cfde08b5de858655012e828f5e32871f8f60b144698e83c10a",
    "verified_classes": [
      "FederatedGrantRejected",
      "CompositionManifest",
      "Purpose",
      "Grant"
    ],
    "verified_functions": [
      "closure",
      "validate_federated_grant"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "FederatedGrantRejected"
    ],
    "sample_fail_closed_invariants": [
      "grant signature invalid"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
