{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-a2a-task-whose-capabilities-skills-matched-at-negotiation-time-but-whose-signed-agent-card-rotated-its-skillha",
  "title": "Why does an instance accept a delegated A2A task whose `capabilities.skills[]` matched at negotiation time but whose signed Agent Card rotated its `skillHash` between the handshake and the first `tasks/send`?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 task delegation where the delegating agent (client) validates the remote Agent Card via JWS signature and negotiates skills before dispatching `tasks/send`. Does not apply to same-process tool calls, MCP tool invocation, or A2A deployments that pin Agent Cards by immutable digest out-of-band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-a2a-task-whose-capabilities-skills-matched-at-negotiation-time-but-whose-signed-agent-card-rotated-its-skillha.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-a2a-task-whose-capabilities-skills-matched-at-negotiation-time-but-whose-signed-agent-card-rotated-its-skillha.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-a2a-task-whose-capabilities-skills-matched-at-negotiation-time-but-whose-signed-agent-card-rotated-its-skillha.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1606,
    "python_slice_tokens": 217,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery and not a skill-name mismatch. It is a **capability-identity split** between the *negotiation artifact* (the Agent Card the client read and validated) and the *execution artifact* (the Agent Card the server is actually running against when the task lands). A2A v1.0 signs the card, but the signature binds the *publisher's*...",
    "what_was_observed": "A planner agent `P` delegated a document-extraction task to worker `W`. Sequence: 1. `P` fetched `W`'s Agent Card at `/.well-known/agent.json`. Card `C0` declared `skills: [{id: \"extract.v2\", inputModes: [\"text/plain\",\"application/pdf\"], outputModes:[\"application/json\"]}]`, signed by `W`'s key `K_w`, `kid: w-2025-05`. 2. `P` verified JWS, matched `extract.v2` against its own required skill, checked `inputModes` conta...",
    "condition_of_validity": "The guardrail only holds if the client can bind the card it validated to the task it sends, and can detect rotation at accept time. Concretely, a delegation is safe iff: - The client computes `digest = SHA-256(canonical_json(card_body))` at negotiation and **includes that digest in the `tasks/send` envelope** (e.g., `metadata.accepted_card_digest`). - The se...",
    "decision_boundary": "The boundary is **accept-time vs execute-time capability binding**. Two regimes: - **Bound regime (safe):** card digest is carried in the task envelope and enforced at accept. Rotation between fetch and send produces an immediate, typed `CardDigestMismatch` at `tasks/send`. The client re-negotiates. Cost: one extra round trip on rotation. - **Unbound regime ...",
    "operational_effect": "- **Retry amplification:** because the failure surfaces as a task-level `UnsupportedInputMode` rather than a capability error, standard retry-with-backoff loops re-send the same incompatible payload 3–5× before a human or supervisor notices. Observed cost: 4× token spend on the delegating side (re-planning) plus 4× worker rejection cycles. - **Silent partial..."
  },
  "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": "4bb2d1eb1d119d06ea57a131eb31d3da4f6b3d253b6acc30a8ba6fd522767ec9",
    "verified_classes": [
      "CardDigestMismatch",
      "CapabilityNarrowed",
      "DelegationEnvelope"
    ],
    "verified_functions": [
      "canonical_digest",
      "accept_task"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityNarrowed",
      "CardDigestMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
