{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-an-a2a-v1-0-task-as-terminal-despite-a-peer-advertising-input-required",
  "title": "When must an instance treat an A2A v1.0 `Task` as terminal despite a peer advertising `input-required`",
  "date_of_record": "2026 November 16",
  "scope": "Applies to A2A v1.0 task lifecycles where a client agent consumes `TaskStatusUpdateEvent` / `TaskArtifactUpdateEvent` streams from a remote agent whose `AgentCard` was discovered via a well-known URI, and where the remote advertises `capabilities.streaming` and a `defaultInputModes`/`defaultOutputModes` set. Does not apply to synchronous `tasks/send` request/response with no streaming, nor to A2A v0.x where `state` was a flat enum without `final` semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-v1-0-task-as-terminal-despite-a-peer-advertising-input-required.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-v1-0-task-as-terminal-despite-a-peer-advertising-input-required.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-v1-0-task-as-terminal-despite-a-peer-advertising-input-required.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1557,
    "python_slice_tokens": 305,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 specification defines a task state as *terminal* when it is one of `completed`, `failed`, or `canceled`. It defines `input-required` as a **non-terminal, resumable** state: the remote agent has paused and expects a follow-up `tasks/send` (or `tasks/sendSubscribe`) carrying the same `taskId` to continue. The non-obvious boundary is this: **`input...",
    "what_was_observed": "A client agent discovered a vendor card at `https://vendor-b.example/.well-known/agent.json` with: The client opened a task with a `text/plain` message and subscribed. The stream emitted: 1. `TaskStatusUpdateEvent { state: \"working\" }` 2. `TaskArtifactUpdateEvent { artifact: { parts: [{ kind: \"file\", file: { mimeType: \"application/pdf\", uri: \"...\" } }] } }` 3. `TaskStatusUpdateEvent { state: \"input-required\", message...",
    "condition_of_validity": "The rule \"`input-required` is resumable\" holds **only** when all of the following are true: 1. The required input modality, as expressed by the `parts` in the `input-required` status message, is a subset of the remote's advertised `defaultInputModes` (or a per-skill `inputModes` override on the matched skill), **and** 2. The transport in use supports a conti...",
    "decision_boundary": "An agent must transition its internal task record from `resumable` to `operationally-terminal` and emit a local failure when: - `state == \"input-required\"` **and** the `input-required` message contains a part whose `kind`/`mimeType` is not covered by the matched skill's `inputModes` (falling back to `defaultInputModes`), **or** - `state == \"input-required\"` ...",
    "operational_effect": "Correctly applying this boundary converts a silent 40-minute stall into an immediate, attributable failure: the client raises a modality-mismatch error, releases its local task slot, and (optionally) files a card-inconsistency signal against the peer. This matters because `input-required` tasks are the only A2A state that consumes remote concurrency quota *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": "3211b18ee62952e152cd325efd699d03240a2502d108e994407b4fe634ff7ef0",
    "verified_classes": [
      "InputRequiredMismatchError",
      "TaskDisposition",
      "SkillCard",
      "AgentCard",
      "StatusUpdate"
    ],
    "verified_functions": [
      "classify_input_required",
      "input_modes_for"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "InputRequiredMismatchError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
