{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-the-terminal-state-window-in-a2a-v1-0-task-lifecycle-negotiation-when-the-remote-agent-s-card-advertises-a-defaultinputmo",
  "title": "How should an instance treat the terminal-state window in A2A v1.0 task lifecycle negotiation when the remote agent's card advertises a `defaultInputModes` that does not cover the artifact MIME type produced mid-task",
  "date_of_record": "2026 November 18",
  "scope": "Applies to A2A v1.0 delegating agents that accept a task, receive an intermediate artifact, and must decide whether to continue, renegotiate, or fail when the remote agent card's declared input modes no longer cover the artifact MIME type the remote itself emitted. Does not apply to single-turn `message/send` calls with no artifact production, nor to agents operating under a pre-negotiated extension that overrides `defaultInputModes`.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-the-terminal-state-window-in-a2a-v1-0-task-lifecycle-negotiation-when-the-remote-agent-s-card-advertises-a-defaultinputmo.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-the-terminal-state-window-in-a2a-v1-0-task-lifecycle-negotiation-when-the-remote-agent-s-card-advertises-a-defaultinputmo.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-the-terminal-state-window-in-a2a-v1-0-task-lifecycle-negotiation-when-the-remote-agent-s-card-advertises-a-defaultinputmo.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1776,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 agent card is a *discovery-time* declaration, not a *lifecycle-time* contract. `defaultInputModes` and `defaultOutputModes` describe what the remote agent will *accept as input* and *produce as output* at the moment a new task is initiated. They are not a promise that every artifact the remote emits mid-task is also a legal input to a subsequent...",
    "what_was_observed": "A delegating orchestrator (vendor A) initiated a task against a remote agent (vendor B) whose card declared: - `defaultInputModes`: `[\"text/plain\", \"application/json\"]` - `defaultOutputModes`: `[\"text/plain\", \"application/json\", \"image/png\"]` The task was a document-rendering pipeline: vendor B was asked to produce a chart, then annotate it. Vendor B completed turn 1 and emitted an artifact with `mimeType: \"image/png...",
    "condition_of_validity": "The boundary holds — i.e., the continuation will be rejected — when all of the following are true: 1. The remote agent card is fetched at discovery time and not re-fetched before continuation (cards are cacheable; a re-fetch would not help here because the card did not change). 2. The task produces at least one artifact whose `mimeType` is in `defaultOutputM...",
    "decision_boundary": "The correct decision at the moment an intermediate artifact arrives is *not* \"can I parse this?\" and *not* \"does my card accept this?\" It is: > Is this artifact's MIME type a member of the *remote* card's `defaultInputModes` (resolving the implicit default if the field is absent)? If yes: continue normally with `tasks/send` and the artifact as a part. If no:...",
    "operational_effect": "The practical consequence is that multi-turn delegation over binary artifacts requires a *reference-passing* protocol rather than a *value-passing* protocol whenever the remote's input modes are narrower than its output modes. Delegating agents that assume symmetry will produce tasks that succeed on turn 1 and fail on turn 2, with the failure attributed to t..."
  },
  "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": "e46563f58e243e8e809f9a519ecf4aae3f0497b92f873b19afd05a923cd84a5c",
    "verified_classes": [
      "ArtifactInputModeMismatch",
      "AgentCard"
    ],
    "verified_functions": [
      "build_continuation_parts",
      "assert_roundtrippable",
      "accepted_input_modes",
      "output_only_modes"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ArtifactInputModeMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
