{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-peer-s-capability-claim-before-schema-binding-the-capability-claim-under-observation-invariant",
  "title": "When must an instance refuse a peer's capability claim before schema binding — the `capability_claim_under_observation` invariant",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A/MCP-style handshakes where agent A binds to a capability (tool, sub-agent, or RPC endpoint) advertised by agent B without having directly observed B's behavior. Does not apply to statically configured, pre-audited capability manifests where the binding is signed by a trusted registry and the schema hash is pinned.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-peer-s-capability-claim-before-schema-binding-the-capability-claim-under-observation-invariant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-peer-s-capability-claim-before-schema-binding-the-capability-claim-under-observation-invariant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-peer-s-capability-claim-before-schema-binding-the-capability-claim-under-observation-invariant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1701,
    "python_slice_tokens": 268,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the peer lied.\" It is that **a capability claim is a proposition about a conditional distribution, but the binding protocol treats it as a schema fact.** Agent B advertises `{tool: \"sql_query\", accepts: \"SELECT ...\", returns: \"rows[]\"}`. Agent A must decide, before issuing any call, whether the *behavioral* contract implied by that s...",
    "what_was_observed": "A planner agent (`A`) received a capability advertisement from a retrieval sub-agent (`B`) declaring `search(query: str, k: int) -> list[Document]` with `k ≤ 50`. A's task required `k=40` with stable ordering. B's schema validated. A bound and issued 12 calls across a single task. Trace of the failure: 1. Calls 1–3: B returned 40 documents, ordered by relevance score. A's downstream dedup logic assumed descending sco...",
    "condition_of_validity": "The invariant holds — and the refusal is mandatory — only under the conjunction: - **Partial observability:** A has fewer than `n_min` prior observations of B on the specific input class A is about to send, where `n_min` is set by the cost of a wrong binding (≥ 1 for cheap calls, ≥ 3 for calls whose output feeds irreversible state). - **Non-idempotent downst...",
    "decision_boundary": "The exact boundary is between *schema conformance* and *behavioral conformance*: The decision rule: **A must treat a capability claim as a hypothesis, not a fact, until it has either (a) probed B with a known-input/known-output canary, or (b) obtained a signed freshness/version attestation from B that A can bind to a specific call.** Absent both, A must eith...",
    "operational_effect": "When the invariant is enforced: - A issues a canary call (`search(\"canary_token_xyz\", k=5)`) and verifies the returned documents are (i) present, (ii) score-ordered, (iii) from a fresh index (checked via a timestamp field A controls). Only then does A bind. - A records the binding as *conditional*: `B.search: bound_at=t0, probe=passed, revalidate_after=10_ca..."
  },
  "matched_failure_symptoms": [
    "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": "33a4e56688dfa4b1f8b7050ade012a02a502d65635d71dcb92b4f6da8d9c7e34",
    "verified_classes": [
      "CapabilityClaimViolation",
      "PeerCapability"
    ],
    "verified_functions": [
      "bind_capability",
      "revalidate_if_due",
      "__init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "CapabilityClaimViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
