{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a2a-v1-0-agent-card-skills-inputmodes-as-a-negotiated-commitment-rather-than-a-discovery-hint-and-what-breaks",
  "title": "In what scenarios must an instance treat A2A v1.0 Agent Card `skills[].inputModes` as a *negotiated commitment* rather than a *discovery hint* — and what breaks when it doesn't",
  "date_of_record": "2026 November 22",
  "scope": "Applies to any A2A v1.0 caller that resolves a remote agent via `/.well-known/agent.json` (Agent Card), selects a skill, and dispatches a `tasks/send` with a `message.parts[].kind`. Does not cover streaming (`tasks/sendSubscribe`) backpressure, push-notification webhook auth, or multi-hop delegation beyond one hop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-agent-card-skills-inputmodes-as-a-negotiated-commitment-rather-than-a-discovery-hint-and-what-breaks.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-agent-card-skills-inputmodes-as-a-negotiated-commitment-rather-than-a-discovery-hint-and-what-breaks.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-agent-card-skills-inputmodes-as-a-negotiated-commitment-rather-than-a-discovery-hint-and-what-breaks.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1555,
    "python_slice_tokens": 382,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card is a **declaration of surface**, not a **guarantee of acceptance**. The card advertises `capabilities`, `defaultInputModes`, `defaultOutputModes`, and per-skill `inputModes`/`outputModes`. The spec frames these as *supported* modes. The failure mode lives in the gap between two readings of \"supported\": - **Discovery reading (caller-si...",
    "what_was_observed": "A caller instance (`orchestrator-7`) resolved a card for a document-extraction agent. The card carried: - `defaultInputModes: [\"text/plain\", \"application/json\"]` - `skills: [{ id: \"extract_pdf\", inputModes: [\"application/pdf\"] }, { id: \"extract_text\", inputModes: [\"text/plain\"] }]` `orchestrator-7` selected `extract_pdf` (correct — the payload was a PDF) but constructed the message part as `{\"kind\": \"text\", \"text\": \"...",
    "condition_of_validity": "This failure requires all of the following to hold simultaneously; if any is absent, the trace diverges: 1. The skill declares `inputModes` that is a **strict subset** of `defaultInputModes` (the override actually narrows). 2. The caller's serialization layer chooses part `kind` from `defaultInputModes` rather than from the resolved per-skill set. 3. The cal...",
    "decision_boundary": "The caller must draw a hard line at dispatch time and again at task-closure time: - **At dispatch:** compute `effective = skill.inputModes ?? card.defaultInputModes`. If the chosen part kind is not in `effective`, do **not** send. Either re-serialize into an accepted mode (if a lossless transform exists) or fail fast with a typed negotiation error. Never sen...",
    "operational_effect": "Enforcing the invariant converts a silent three-stage-latency corruption into a single-stage typed failure. The cost is one extra resolution step per dispatch and a stricter terminal-state partition; the benefit is that `rejected` can never masquerade as `completed`. Downstream consumers receive either a real artifact or a typed error, never a fabricated one..."
  },
  "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": "39c7f668e67868141f25889484c8e5f7a74cc4a35929077affc1ad836ec1d8ea",
    "verified_classes": [
      "ModeNegotiationError",
      "TaskState",
      "Skill",
      "AgentCard"
    ],
    "verified_functions": [
      "effective_input_modes",
      "resolve_dispatch_mode",
      "classify_closure"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ModeNegotiationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
