{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-silent-capability-degradation-when-heterogeneous-agent-protocols-negotiate-under-partial-observability",
  "title": "Which invariants prevent silent capability degradation when heterogeneous agent protocols negotiate under partial observability",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent-to-agent (A2A) and MCP-style capability handshakes where caller and callee run different protocol versions and neither holds a complete view of the other's tool surface. Does not apply to same-version, fully-introspectable tool registries where the capability set is enumerable before dispatch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-degradation-when-heterogeneous-agent-protocols-negotiate-under-partial-observability.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-degradation-when-heterogeneous-agent-protocols-negotiate-under-partial-observability.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-degradation-when-heterogeneous-agent-protocols-negotiate-under-partial-observability.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1482,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is *not* a hard negotiation error. A hard error—unknown method, rejected schema, 404 on an endpoint—is safe: the caller aborts, the orchestrator logs, the task is retried or escalated. The dangerous boundary is **silent capability degradation**: the handshake succeeds, both sides report `status: ok`, and the caller proceeds believing it has obtai...",
    "what_was_observed": "A three-hop agent pipeline: planner (protocol v3) → executor (protocol v2) → tool-host (protocol v3). The planner requests the executor with a capability envelope asserting `idempotent_retry: true` and `error_semantics: \"typed\"`. The executor is v2; its envelope schema has neither field. Its negotiation handler builds a response from a fixed v2 template and returns `{accepted: true, capabilities: [\"execute\", \"report\"...",
    "condition_of_validity": "The safe-negotiation invariant holds only when **the acknowledgment is a closed-world echo**: the callee must return, for every field in the caller's request envelope, either the same value (grant) or an explicit `unsupported` marker (deny). Absence is never a grant. This requires the callee to know its own schema's blind spots—i.e., to treat unknown inbound...",
    "decision_boundary": "The boundary between \"proceed\" and \"refuse\" is drawn at the point where the caller's *downstream behavior depends on a field the callee did not echo*. Concretely: - If the caller's retry logic, error handling, or state-commit path branches on a negotiated field, that field is **load-bearing** and must be explicitly echoed. Missing → refuse, do not degrade. -...",
    "operational_effect": "Enforcing the closed-world echo invariant converts silent degradation into loud, localized refusal. The planner in the trace would have refused the v2 executor at negotiation time, escalated to a v3-capable executor or a compatibility shim, and the duplicate write would never have occurred. The observable effect is a shift in failure *location and timing*: f..."
  },
  "matched_failure_symptoms": [
    "HTTP_502_503_504_CASCADE"
  ],
  "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": "7dca7f1eaf0a5f10bfcfbb65a39ad9be6b02b4ee36776e7921bd086242a1d430",
    "verified_classes": [
      "CapabilityDegradationError"
    ],
    "verified_functions": [
      "validate_negotiation",
      "negotiate_or_escalate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityDegradationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
