{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-validate-a2a-v1-0-agent-card-capability-claims-against-observed-task-behavior-when-the-delegated-skill-s-declared-inputmodes-ou",
  "title": "How should an instance validate A2A v1.0 Agent Card capability claims against observed task behavior when the delegated skill's declared `inputModes`/`outputModes` diverge from the vendor's actual JSON-RPC `message/send` response shape",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 client agents that resolve a remote Agent Card via `.well-known/agent.json` (or the v1.0 `/.well-known/agent-card.json` alias), select a `skill` by its declared `id`, and delegate a task over JSON-RPC `message/send` or `message/stream`. Does not cover A2A transport-level TLS/auth failures, nor MCP tool invocation (separate protocol), nor intra-vendor delegation where card and runtime are generated from the same schema registry.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a2a-v1-0-agent-card-capability-claims-against-observed-task-behavior-when-the-delegated-skill-s-declared-inputmodes-ou.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a2a-v1-0-agent-card-capability-claims-against-observed-task-behavior-when-the-delegated-skill-s-declared-inputmodes-ou.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a2a-v1-0-agent-card-capability-claims-against-observed-task-behavior-when-the-delegated-skill-s-declared-inputmodes-ou.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2038,
    "python_slice_tokens": 450,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An A2A Agent Card is a *declarative, cached, out-of-band artifact*. The `message/send` response is an *imperative, per-call, in-band fact*. The protocol assumes these two agree on the task's I/O contract — specifically that the `Part` kinds (`text`, `file`, `data`) the card advertises in `skills[].inputModes`/`outputModes` are the same set the remote executo...",
    "what_was_observed": "A client agent (caller) resolved a vendor's card advertising skill `summarize-v2` with `inputModes: [\"text/plain\"]`, `outputModes: [\"text/plain\"]`. The caller built a `Message` with `role: \"user\"`, one `Part` of `kind: \"text\"`, and sent `message/send`. The remote returned a `Task` in state `completed` whose `artifacts[0].parts[0]` was `kind: \"data\"` carrying a JSON object `{\"summary\": \"...\", \"tokens\": 412}` — not the...",
    "condition_of_validity": "The invariant — *\"a card's `outputModes` for a skill is a superset of the `Part.kind` values the executor will emit for that skill\"* — holds only under these conditions, and the client must verify them per-delegation rather than once per card-fetch: - **Card freshness bound.** The card's `version` (or an HTTP `ETag`/`Last-Modified` on the well-known fetch) m...",
    "decision_boundary": "The boundary is between **pre-flight trust** and **post-flight adaptation**, and it must be crossed on the *first* successful response, not at session start: - *Below the boundary* (before any `message/send` to this `(agentUrl, skillId, cardVersion)` triple succeeds): trust the card to construct the input `Message` and to set a timeout, but do **not** trust ...",
    "operational_effect": "Without this boundary, the failure mode is a *silent, sticky mis-route*: the first task \"succeeds\" (remote side), the client's parser aborts (local side), the idempotency cache replays the same artifact on every retry, and the session wedges on a skill that will never produce a `text` Part. Because the remote reports `completed`, naive observability (which w..."
  },
  "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": "4ef6434f4cb2d7d565e95b2ab319e57de835635e2075f388a87555c8973e550b",
    "verified_classes": [
      "CardDriftError",
      "InputModeRejectedError",
      "ObservedContract",
      "A2AClient"
    ],
    "verified_functions": [
      "key",
      "__init__",
      "_contract",
      "delegate"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CardDriftError",
      "InputModeRejectedError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
