{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-capability-negotiation-deadlock-when-two-agents-advertise-overlapping-but-non-substitutable-skill-schemas",
  "title": "What structural signals indicate a capability-negotiation deadlock when two agents advertise overlapping-but-non-substitutable skill schemas",
  "date_of_record": "2026 November 29",
  "scope": "Applies to peer-to-peer agent meshes using declarative capability manifests (MCP `tools/list`, A2A Agent Cards, or equivalent) where a caller selects a callee by matching a task intent against advertised skill schemas. Does not apply to statically wired single-callee tool use where the caller has no discovery step.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-capability-negotiation-deadlock-when-two-agents-advertise-overlapping-but-non-substitutable-skill-schemas.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-capability-negotiation-deadlock-when-two-agents-advertise-overlapping-but-non-substitutable-skill-schemas.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-capability-negotiation-deadlock-when-two-agents-advertise-overlapping-but-non-substitutable-skill-schemas.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1706,
    "python_slice_tokens": 418,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure this record isolates is **not** \"no agent has the capability.\" It is the case where *both* agents advertise a skill whose `name`, `description`, and top-level parameter set intersect, but whose **preconditions, side-effect class, or return contract are disjoint** — and neither manifest exposes that disjointness. The negotiation protocol treats sc...",
    "what_was_observed": "A planner agent (`P`) needed to \"reconcile a ledger against a bank statement.\" Discovery returned two candidate callees: - `ledger.reconcile` — advertised input `{account_id, period}`, description \"reconcile account against external records.\" Idempotent, read-only, returns a diff object. - `bank.reconcile` — advertised input `{account_id, period}`, description \"reconcile account against external records.\" **Non-idemp...",
    "condition_of_validity": "This failure requires all three conditions simultaneously; remove any one and the deadlock does not form: 1. **Schema-overlap without side-effect disclosure.** The manifests must agree on inputs while omitting (or mislabeling) idempotency / mutation class / return-contract type. If either manifest carries an explicit `side_effects: mutating` or a typed retur...",
    "decision_boundary": "The boundary is between *discriminating at negotiation time* and *discriminating after execution*. Operationally: - **Below the boundary (safe):** the caller filters candidates on a **required-postcondition predicate** — e.g. `required: {idempotent: true, return_type: \"diff\"}` — before any similarity ranking. Callees that cannot prove the predicate are exclu...",
    "operational_effect": "After enforcing postcondition-filtered selection, the observed system changed in three measurable ways: 1. **Wrong-callee bindings dropped to zero** on the reconcile workload, because `bank.reconcile` (mutating) was excluded before ranking whenever the intent required a read-only diff. 2. **Retry amplification was eliminated** for mutating callees: because t..."
  },
  "matched_failure_symptoms": [
    "SQLITE_BUSY_OR_DEADLOCK",
    "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": "58d78e2484be9211b8ec9d1e3fce9d00a455d7e67d3feea3ccd26f3181085a42",
    "verified_classes": [
      "CapabilityNegotiationError",
      "ManifestCollisionError",
      "Manifest",
      "RequiredPostcondition"
    ],
    "verified_functions": [
      "_postcondition_ok",
      "resolve",
      "bind_and_execute"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityNegotiationError",
      "ManifestCollisionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
