{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-cross-org-capability-scope-leak-in-federated-agent-negotiation-before-the-first-tool-call-executes",
  "title": "What structural signals indicate a cross-org capability-scope leak in federated agent negotiation before the first tool call executes",
  "date_of_record": "2026 November 30",
  "scope": "Applies to cross-organizational agent federations where a consumer agent negotiates a scoped capability grant from a provider agent across a trust boundary (A2A handoff, MCP server federation, or signed capability-warrant exchange). Does not apply to single-tenant agent deployments or to intra-org agent meshes sharing one trust root.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-cross-org-capability-scope-leak-in-federated-agent-negotiation-before-the-first-tool-call-executes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-cross-org-capability-scope-leak-in-federated-agent-negotiation-before-the-first-tool-call-executes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-cross-org-capability-scope-leak-in-federated-agent-negotiation-before-the-first-tool-call-executes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2204,
    "python_slice_tokens": 314,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dangerous failure in cross-org federation is not a rejected handshake. A rejected handshake is loud, cheap, and observable. The dangerous failure is a *silent capability-scope widening* that occurs during trust-boundary negotiation, where the provider agent issues a grant that is a strict superset of what the consumer requested—and the consumer proceeds ...",
    "what_was_observed": "A consumer agent (Org A) negotiating with a provider agent (Org B) for a records-read capability. The consumer's request carried `scope: {tenant: \"acme\", fields: [\"id\",\"status\"], ttl: 300}`. The provider's capability-minting service looked up its internal policy for `read:records` and found that Org A's trust tier permitted `fields: [\"id\",\"status\",\"amount\",\"ssn_last4\"]` with `tenant: \"*\"`. The minting service, design...",
    "condition_of_validity": "The scope-monotonicity invariant is only enforceable when the scope qualifier is *comparable*—i.e., when both parties share a semantics for the qualifier that permits subset testing. This holds when: - The qualifier is a structured object (tenant ID, field list, numeric bound, currency) with a defined partial order. Subset testing is decidable. - The provide...",
    "decision_boundary": "The boundary is drawn at grant-receipt, not at grant-request and not at tool-call. Three positions are possible: 1. **Trust the request.** Consumer assumes provider honored the requested scope. Fails on any provider minting bug or policy-default widening. This is the observed failure mode. 2. **Trust the grant.** Consumer treats the grant's scope as authorit...",
    "operational_effect": "Enforcing grant-receipt monotonicity shifts the failure from silent data exposure to loud negotiation rejection. In the records-read case, the consumer would have rejected the widened grant, the negotiation would have failed with `SCOPE_WIDENING_DETECTED`, and the operator would have a concrete signal that Org B's minting service intersects incorrectly. 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": "7848fc99b9877a53464575252fecef5f8f77376aa8dce3a1a80d9c5561e46c0f",
    "verified_classes": [
      "ScopeWideningError"
    ],
    "verified_functions": [
      "validate_grant_monotonicity",
      "negotiate_and_execute"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
