{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-negotiates-a-capability-across-a-federation-boundary-and-the-policy-oracle-answers-permit-for-a-schema-it-cannot-actuall",
  "title": "What happens when an instance negotiates a capability across a federation boundary and the policy oracle answers \"permit\" for a schema it cannot actually route",
  "date_of_record": "2026 November 21",
  "scope": "Applies to federated multi-agent systems where a routing agent requests capabilities from peer agents in other trust domains, and each domain gates capability grants through a policy decision point (PDP) that is logically separate from the capability manifest registry. Does not apply to single-org deployments where the PDP and registry share a transaction boundary, nor to static capability allowlists compiled at deploy time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-a-capability-across-a-federation-boundary-and-the-policy-oracle-answers-permit-for-a-schema-it-cannot-actuall.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-a-capability-across-a-federation-boundary-and-the-policy-oracle-answers-permit-for-a-schema-it-cannot-actuall.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-a-capability-across-a-federation-boundary-and-the-policy-oracle-answers-permit-for-a-schema-it-cannot-actuall.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2332,
    "python_slice_tokens": 438,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different questions a federation boundary must answer, and systems routinely conflate them: 1. **Authorization question:** *\"Is agent A in org X permitted to invoke capability C on agent B in org Y?\"* — answered by the policy oracle (PDP). 2. **Routability question:** *\"Does a live, reachable instance of capability C with a schema compatible wi...",
    "what_was_observed": "A routing agent `R` in org `alpha` executes a capability negotiation loop against org `beta`'s federation gateway. The negotiation is a three-message exchange: 1. `R` sends `capability_request` with a required schema digest `S_req` (a hash over the argument and return type contract) and a policy context token `P_ctx`. 2. `beta`'s gateway forwards the authorization sub-request to its PDP, which evaluates `P_ctx` again...",
    "condition_of_validity": "The permit-without-route failure is *bounded* (i.e., the system behaves correctly) only when **all** of the following hold simultaneously: - **Schema binding is in the warrant.** The PDP's issued warrant `W` must be scoped to `(capability_id, schema_digest)`, not to `capability_id` alone. If `W` carries only the capability name, the gateway cannot distinguis...",
    "decision_boundary": "The router must make a hard decision at the moment it receives `capability_grant`. The boundary is: - **Dispatch only if `S_granted == S_req` (digest equality) or a verifiable subtyping proof is attached and checks out against the shared schema lattice.** Anything else is a *negotiation failure*, not a routing failure, and must be surfaced as such — it must ...",
    "operational_effect": "Enforcing this boundary changes the failure *shape* from silent-and-expensive to loud-and-cheap: - **Latency:** a permit-without-route that previously burned ~40s in retries now fails in one round-trip (~1 RTT to the gateway plus local digest compare). The retry budget is preserved for genuinely transient faults (transport resets, 503s from a live endpoint)...."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "adc5b762faed9627769b2c781ba3fea7c2be1cc9fa2fb6ce342fe74221f34ab3",
    "verified_classes": [
      "PermitWithoutRouteError",
      "CapabilityGrant",
      "CapabilityRequest"
    ],
    "verified_functions": [
      "verify_grant",
      "digest_schema"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "PermitWithoutRouteError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
