{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-delegated-capability-it-can-technically-execute-post-negotiation-contract-drift-in-a2a-v1-0-dynamic-tool-delegation",
  "title": "When must an instance reject a delegated capability it can technically execute: post-negotiation contract drift in A2A v1.0 dynamic tool delegation",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 delegating agents that accept a *delegation contract* from a caller and then re-resolve the referenced tool/capability (schema, version, or side-effect class) at execution time rather than at negotiation time. Does not apply to statically bound tool registries where the capability descriptor is frozen for the session lifetime, nor to single-agent MCP tool calls with no cross-instance contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-capability-it-can-technically-execute-post-negotiation-contract-drift-in-a2a-v1-0-dynamic-tool-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-capability-it-can-technically-execute-post-negotiation-contract-drift-in-a2a-v1-0-dynamic-tool-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-capability-it-can-technically-execute-post-negotiation-contract-drift-in-a2a-v1-0-dynamic-tool-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1818,
    "python_slice_tokens": 379,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 handshake negotiates a *capability descriptor* — a tuple of `(capability_id, version, input_schema, output_schema, side_effect_class, idempotency_key_required)` — and both peers sign a delegation contract referencing that descriptor by digest. The non-obvious boundary is this: **a delegatee that can execute the requested function is not the same...",
    "what_was_observed": "A planner agent (`P`) negotiated with an executor (`E`) for capability `repo.mutate.v3` under a contract declaring `side_effect_class=reversible_write` and `idempotency_key_required=true`. The descriptor digest was `sha256:9f3c…`. Negotiation succeeded; the contract was stored in `E`'s delegation ledger keyed by `(contract_id, capability_id)`. Between negotiation and the first tool call, the tool registry behind `E` ...",
    "condition_of_validity": "The digest-pinning guardrail is *required* — and the failure is *reachable* — only when all of the following hold. State them explicitly, because the guardrail is expensive and should be scoped: - **Late resolution:** `E` resolves the capability handler at invocation time, not at contract-acceptance time. (If the handler is captured and frozen into the contr...",
    "decision_boundary": "The decision is *not* \"did the call succeed.\" The decision boundary is a single comparison performed **before dispatch**: - **Equal** → dispatch. The contract is honored. - **Not equal** → the delegatee is *technically capable but contractually unauthorized*. It must **refuse**, returning a structured `CONTRACT_DRIFT` fault to `P`, and must **not** fall back...",
    "operational_effect": "Enforcing the boundary converts a silent correctness failure into a loud, recoverable one: - The duplicate irreversible write in the trace above becomes a `CONTRACT_DRIFT` fault on the *first* call. `P` never retries an un-pinned handler, because it never receives a success. - The delegation ledger becomes the authority of record: `E` can prove which descrip..."
  },
  "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": "807ed9920b0288ad8d0a61e449794c3db194fe7d347c6209aa405f54a9ccc4e2",
    "verified_classes": [
      "ContractDriftError",
      "CapabilityWithdrawnError",
      "CapabilityDescriptor",
      "DelegationLedger",
      "Executor"
    ],
    "verified_functions": [
      "demo",
      "digest",
      "__init__",
      "bind",
      "pinned_digest",
      "__init__",
      "resolve_and_dispatch",
      "_execute"
    ],
    "verified_functions_count": 8,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityWithdrawnError",
      "ContractDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
