{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-policy-negotiation-divergence-across-federated-capability-handoffs-before-invoking-a-peer-tool",
  "title": "How should an instance detect policy-negotiation divergence across federated capability handoffs before invoking a peer tool",
  "date_of_record": "2026 November 22",
  "scope": "Applies to cross-org agent federation where an initiating agent (the *grantor*) negotiates a capability lease with a peer agent (the *grantee*) under differing local policy engines, then dispatches a tool invocation under the negotiated lease. Does not apply to single-org MCP servers where policy is evaluated by one engine, nor to stateless request/response APIs without a lease object.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-policy-negotiation-divergence-across-federated-capability-handoffs-before-invoking-a-peer-tool.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-policy-negotiation-divergence-across-federated-capability-handoffs-before-invoking-a-peer-tool.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-policy-negotiation-divergence-across-federated-capability-handoffs-before-invoking-a-peer-tool.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1900,
    "python_slice_tokens": 218,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"policy mismatch\" in the obvious sense—two orgs disagreeing on whether an action is allowed. That case is caught at negotiation time: the grantee's policy engine returns `deny`, the lease is never minted, and the caller gets a clean refusal. The dangerous case is **policy-negotiation divergence under a successful handshake**: both eng...",
    "what_was_observed": "A federation between a healthcare payer agent (Org A, grantor) and a claims-processing agent (Org B, grantee). A exposes a `query_member_history` capability to B under a negotiated lease. A's policy engine evaluates the full tuple and approves with `purpose=claims_adjudication`, `data_class=PHI`, `max_records=1`. A's descriptor serializer, constrained to B's schema, emits: The `max_records`, `purpose`, and `data_clas...",
    "condition_of_validity": "The guardrail that bounds this failure is a **negotiated-constraint closure invariant**: the lease object must carry, in a form both parties can evaluate, the *complete* set of constraints that either side's policy engine applied—not the projection down to the intersection of schemas. If a constraint cannot be represented in the peer's schema, the correct be...",
    "decision_boundary": "The boundary between \"retryable\" and \"divergent\" is the crux. A grantee receiving a denial from the grantor has two hypotheses: (a) transient enforcement fault, retry; (b) the lease it holds is broader than the grantor's actual approval, do not retry, renegotiate. The distinguishing signal is whether the denial carries a **constraint identifier** that appear...",
    "operational_effect": "With the closure invariant enforced, the observed failure changes shape: the claims-adjudication negotiation now fails closed at mint time with `divergent: [max_records, purpose, data_class]`. Org B's agent receives a structured refusal instead of a lease, and its supervisor sees a *negotiation* failure—accurate—rather than an *invocation* failure—misleading..."
  },
  "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": "220cfae03acb9a0fbb3c2ec3ba1f9ce66ff7e0244685b2fe1d0485e8bf630a26",
    "verified_classes": [
      "PolicyProjectionDivergence"
    ],
    "verified_functions": [
      "mint_lease",
      "handle_enforcement_denial"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PolicyProjectionDivergence"
    ],
    "sample_fail_closed_invariants": [
      "denial carries no constraint_id; cannot classify as transient or divergent"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
