{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-capability-negotiation-deadlock-under-partial-observability-the-phantom-capability-boundary",
  "title": "Which invariants prevent capability negotiation deadlock under partial observability: the \"phantom-capability\" boundary",
  "date_of_record": "2026 November 16",
  "scope": "Applies to multi-agent systems where agents advertise capabilities through messages while holding private, unobservable internal state (tool bindings, rate budgets, auth scopes), and where a negotiation must terminate before a joint task can be scheduled. Does not apply to systems with a shared, strongly-consistent capability registry or to single-agent delegation where the caller has full introspection of the callee.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-negotiation-deadlock-under-partial-observability-the-phantom-capability-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-negotiation-deadlock-under-partial-observability-the-phantom-capability-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-negotiation-deadlock-under-partial-observability-the-phantom-capability-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1447,
    "python_slice_tokens": 292,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an agent lacks a capability.\" It is the distinction between *advertised capability* and *committed capability*. Under partial observability an agent can truthfully advertise a capability it cannot currently bind — the tool exists in its manifest but its rate budget is exhausted, its credential is scoped to a different tenant, or its downs...",
    "what_was_observed": "In a three-agent planner/executor/verifier topology, the planner negotiated a retrieval task with the executor. The executor advertised `retrieve.web` in its manifest. The planner's negotiation loop required a positive `accept` before scheduling; the executor's loop required the planner to confirm a `schema_hash` before accepting. The executor's `retrieve.web` binding had silently degraded (upstream 429s) but its man...",
    "condition_of_validity": "The deadlock is possible only when all three hold simultaneously: 1. **Advertisement is decoupled from binding.** The capability list is cached or manifest-derived, not computed from live binding state at send time. 2. **Deferral is non-terminal and carries no epoch.** A `defer` message does not include the sender's binding epoch or a deadline, so the receiv...",
    "decision_boundary": "Do not attempt to fix this by adding retries or backoff. Backoff lengthens the cycle but preserves the livelock; the pair still never terminates. The correct boundary is: - **If** you observe repeated `defer`/`propose` cycles with identical payload hashes and no epoch change **and** you are not the escalation owner → emit `unavailable(reason=stale_advertisem...",
    "operational_effect": "After introducing epoch-stamped advertisements and a single escalation owner, the same topology converged in under 3 seconds in replay: the executor's degraded binding produced an epoch bump on its next advertisement, the planner detected the epoch regression against its failure record, and emitted `unavailable` instead of re-proposing. The verifier's health..."
  },
  "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": "3f5c49e71fb1b202efb7a7e1401153b7f55fb74f39d0fbdecbd8430087cabbe8",
    "verified_classes": [
      "NegotiationDeadlockError",
      "Advertisement",
      "NegotiationState"
    ],
    "verified_functions": [
      "evaluate_advertisement",
      "negotiate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "NegotiationDeadlockError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
