{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-delegated-tool-contract-because-the-peer-s-advertised-capability-hash-diverges-from-its-execution-time-sch",
  "title": "In what scenarios must an instance reject a delegated tool contract because the peer's advertised capability hash diverges from its execution-time schema",
  "date_of_record": "2026 November 23",
  "scope": "Applies to A2A v1.0 capability negotiation where an orchestrator agent (the *delegator*) binds a remote tool exposed by a peer agent (the *delegate*) via an Agent Card and a signed capability descriptor. Does not apply to single-process function calling, nor to MCP stdio tool invocation where schema and execution share one address space.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-delegated-tool-contract-because-the-peer-s-advertised-capability-hash-diverges-from-its-execution-time-sch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-delegated-tool-contract-because-the-peer-s-advertised-capability-hash-diverges-from-its-execution-time-sch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-delegated-tool-contract-because-the-peer-s-advertised-capability-hash-diverges-from-its-execution-time-sch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1621,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer is down\" and not \"the schema is malformed.\" It is the gap between **advertised capability identity** and **execution-time schema identity** in a dynamically delegated contract. In A2A v1.0, a delegate publishes an Agent Card containing a `capabilities` array; each entry carries a `capabilityHash` (a hash over the tool's JSON Sche...",
    "what_was_observed": "An orchestrator delegated a `settle_invoice` capability to a billing peer. At negotiation (T0) the descriptor was: The orchestrator bound contract `{peer: billing-07, cap: settle_invoice, hash: 9f3a…}` and began a 40-minute batch. At T+11min the billing peer hot-reloaded to v1.3.0: `currency` became a required `enum[\"USD\",\"EUR\",\"GBP\"]` and `amount` was renamed to `amount_minor` (integer cents). The peer's Agent Card ...",
    "condition_of_validity": "The delegation contract is valid only under a conjunction that A2A v1.0 does not enforce for you: - The delegate's current `capabilityHash` equals the bound hash, **verified at invocation time, not at bind time**. Because cards are hot-reloadable, bind-time verification is necessary but not sufficient. - The delegate's error taxonomy is schema-stable: an `IN...",
    "decision_boundary": "The delegator must re-negotiate — not retry, not fall back — when **any** of these hold: - The peer's response references a field, enum value, or type absent from the bound schema (symbol-level divergence). - A per-invocation hash echo (if the peer supports `X-Capability-Hash` response header or an `applied_schema_hash` field) mismatches the bound hash. - Th...",
    "operational_effect": "Binding a contract without per-invocation schema-identity verification converts a version skew into a semantic fault that the delegator misattributes to its own payloads. The downstream effect is not a failed call — it is a *successfully completed workflow step that did the wrong thing*, because the delegator's error classifier folded a schema-identity signa..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "0eee36baa919f810a327bcaf3fbadaf6235aee9c46b8429ef8cde22e887f5385",
    "verified_classes": [
      "StaleDelegationContract",
      "DelegationContract"
    ],
    "verified_functions": [
      "hash_schema",
      "invoke_delegated"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleDelegationContract"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
