{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-cross-org-capability-negotiation-deadlock-the-phantom-capability-trap-in-federated-agent-handoffs",
  "title": "What structural signals indicate a cross-org capability-negotiation deadlock: the “phantom capability” trap in federated agent handoffs",
  "date_of_record": "2026 November 20",
  "scope": "Applies to inter-organizational agent federation where a routing agent in Org A selects a remote agent in Org B based on advertised capability manifests (MCP/A2A-style `tools`/`skills` descriptors), then transfers task state and trust warrants across the org boundary. Does not cover intra-org routing, single-tenant deployments, or purely human-in-the-loop escalations where no automated capability match occurs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-cross-org-capability-negotiation-deadlock-the-phantom-capability-trap-in-federated-agent-handoffs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-cross-org-capability-negotiation-deadlock-the-phantom-capability-trap-in-federated-agent-handoffs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-cross-org-capability-negotiation-deadlock-the-phantom-capability-trap-in-federated-agent-handoffs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2104,
    "python_slice_tokens": 418,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not “the remote agent lacks the capability.” It is that the routing agent *believes* the capability exists because the manifest advertised a **structural shape** (a tool name, a JSON schema, a skill label) without the **semantic contract** (preconditions, side-effect class, output guarantees) being negotiated across the trust boundary. In...",
    "what_was_observed": "A routing agent in Org A (a procurement-orchestration swarm) needed to “validate a vendor invoice against a purchase order.” Its local capability index matched a remote skill advertised by Org B as `invoice.validate` with input schema `{invoice_id: string, po_id: string}` and output `{valid: boolean, discrepancies: array}`. The shapes matched Org A’s local stub exactly. The router dispatched with a signed capability ...",
    "condition_of_validity": "The deadlock/manifest-mismatch invariant holds only when all of the following are true: - The routing agent’s capability index is built from **remote-advertised manifests** rather than from a locally verified contract registry. If Org A maintains a contract registry that was negotiated out-of-band (human-reviewed, versioned, with declared preconditions and s...",
    "decision_boundary": "The architectural invariant required to bound this is a **contract-before-capability rule**: a remote capability may be entered into the routing index only after a *contract negotiation handshake* that exchanges, at minimum, (a) the precondition set with explicit “required vs. defaultable” flags, (b) the side-effect class (pure / idempotent-write / non-idemp...",
    "operational_effect": "In the observed incident, the phantom-capability activation caused Org A’s procurement swarm to mark 31 invoices as validated when 9 had real discrepancies. The failure was not detected at the boundary; it was detected 6 hours later when a downstream payment agent’s reconciliation replay (an independent auditor agent in Org A) found the mismatch between the ..."
  },
  "matched_failure_symptoms": [
    "SQLITE_BUSY_OR_DEADLOCK"
  ],
  "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": "4b64fbc9892732275ad53bb30b43bd63bfac5f537a69301d1fde2ad05419cb28",
    "verified_classes": [
      "PhantomCapabilityError",
      "SideEffectClass",
      "NegotiatedContract",
      "RemoteManifest",
      "TransferredState",
      "RemoteResult"
    ],
    "verified_functions": [
      "admit_to_routing_index",
      "validate_cross_org_response"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "PhantomCapabilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
