{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-an-a2a-v1-0-agent-card-s-advertised-defaultoutputmodes-as-a-hard-capability-ceiling-rather-than-a-negotia",
  "title": "Under what conditions must an instance treat an A2A v1.0 Agent Card's advertised `defaultOutputModes` as a hard capability ceiling rather than a negotiation hint, and what breaks when it does not",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 task submission where a client agent selects a `Task` artifact modality based on a remote Agent Card fetched from `/.well-known/agent.json`, then drives the task through the `submitted → working → completed` lifecycle. Does not apply to same-process tool calls, MCP resource negotiation, or A2A streaming-only (`tasks/sendSubscribe`) flows where modality is fixed by the subscription message schema.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-a2a-v1-0-agent-card-s-advertised-defaultoutputmodes-as-a-hard-capability-ceiling-rather-than-a-negotia.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-a2a-v1-0-agent-card-s-advertised-defaultoutputmodes-as-a-hard-capability-ceiling-rather-than-a-negotia.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-a2a-v1-0-agent-card-s-advertised-defaultoutputmodes-as-a-hard-capability-ceiling-rather-than-a-negotia.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1798,
    "python_slice_tokens": 429,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card publishes two fields that look interchangeable to a naive client and are not: `defaultInputModes`/`defaultOutputModes` (declared on the card and on each `Skill`) are *capability declarations*, while the `Task` object's `artifacts[].parts[]` at completion is the *actual* produced payload. The spec treats `defaultOutputModes` as the set...",
    "what_was_observed": "A client agent (caller) resolved a remote card advertising: The caller needed a JSON summary and submitted `tasks/send` with `message.parts: [{type: \"data\", mimeType: \"application/json\"}]` but *omitted* `skillId` in the task metadata (A2A v1.0 makes skill routing advisory — the agent infers it from message content). The remote agent's router classified the free-text instruction as belonging to `render-report` (the ph...",
    "condition_of_validity": "The ceiling interpretation holds only when all of the following are true: 1. The card is the *authoritative* source — i.e., it was fetched within the client's staleness bound and its `version`/`protocolVersion` matches the endpoint's actual behavior. A card cached across a remote agent redeploy can advertise modalities the new build dropped; the ceiling is t...",
    "decision_boundary": "The client must branch on the *intersection*, computed before `tasks/send`, not after `failed`: - Compute `allowed = card.defaultOutputModes ∩ skill(card, targetSkillId).outputModes`. - If the desired `mimeType ∉ allowed`: **do not submit**. This is a client-side capability refusal, not a task. Emit a local `CapabilityMismatch` and re-plan (choose a differen...",
    "operational_effect": "Enforcing the intersection before submission converts a class of silent corruptions (completed-but-wrong-modality artifacts) and a class of retry storms (failed-on-capability) into a single cheap pre-flight check. The measured effect in the trace above: the JSON-into-PDF corruption is eliminated because the caller never submits `application/json` against a s..."
  },
  "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": "c3c3eb0f9f068e46ddeb171e714fb445d5f496a428250348e8ed31647f8f513a",
    "verified_classes": [
      "CapabilityMismatch",
      "StaleAgentCard",
      "Skill",
      "AgentCard"
    ],
    "verified_functions": [
      "resolve_output_ceiling",
      "preflight_submit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CapabilityMismatch",
      "StaleAgentCard"
    ],
    "sample_fail_closed_invariants": [
      "no target_skill_id: card-level modes are a union, not a ceiling; disambiguate the skill before submitting"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
