{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-enter-input-required-after-a-terminal-completed-transition-in-a2a-v1-0-cross-vendor-agent-card-negotiation",
  "title": "Why does an instance enter `input-required` after a terminal `completed` transition in A2A v1.0 cross-vendor agent card negotiation",
  "date_of_record": "2026 November 23",
  "scope": "Applies to A2A v1.0 task lifecycle transitions when a client agent negotiates an Agent Card with a peer whose declared `capabilities.streaming` and `capabilities.pushNotifications` differ from the client's cached card, and where the peer subsequently emits a non-terminal state after a terminal one. Does not apply to single-vendor same-card deployments or to tasks that never crossed a vendor boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-enter-input-required-after-a-terminal-completed-transition-in-a2a-v1-0-cross-vendor-agent-card-negotiation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-enter-input-required-after-a-terminal-completed-transition-in-a2a-v1-0-cross-vendor-agent-card-negotiation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-enter-input-required-after-a-terminal-completed-transition-in-a2a-v1-0-cross-vendor-agent-card-negotiation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1300,
    "python_slice_tokens": 369,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "**Task state** is a monotonic, per-task resource governed by the A2A task lifecycle state machine; `completed`, `failed`, and `canceled` are absorbing. **Negotiation state** is a per-connection, per-card artifact of Agent Card exchange and is *not* absorbing — a peer may rotate its advertised card mid-task. When an implementation conflates the two, a card re...",
    "what_was_observed": "During a cross-vendor run (client on vendor A's SDK, remote agent on vendor B's runtime): 1. Client submits task `T-8842` with `message/send`. 2. Remote returns `working`, then `completed` with an artifact. 3. Client caches the remote's Agent Card (version `1.0.3`, `streaming: true`). 4. Remote rotates its card to `1.0.4`, pushing an update via the `agent-card` channel: `streaming` becomes `false`, and a `pushNotific...",
    "condition_of_validity": "Reachable only when all of the following hold: - The peer is cross-vendor (card schema drift is plausible; same-vendor cards are versioned in lockstep). - The client caches the card at task-submit time rather than re-fetching per transition. - The peer's card rotation changes a capability field (`streaming`, `pushNotifications`, or `extensions`) that the cli...",
    "decision_boundary": "**Card-negotiation state MUST NOT be written into a task record whose current state is terminal.** A terminal task is immutable except for `artifacts` append (which A2A permits) and `metadata` annotation. Any capability delta from a rotated card must be applied to the *connection* or to *future tasks*, never to a terminal task's `status`. The boundary is sha...",
    "operational_effect": "Left unguarded, the effect is a *resurrected task*: downstream consumers polling for terminal state see a task flip back to `input-required`, triggering duplicate human reauthorization prompts, duplicate artifact regeneration on the next `completed`, and — in billing pipelines that meter on terminal transitions — double-counting. The failure is silent in log..."
  },
  "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": "0f62e2d1ff462a3da69a5452f60d8aab1dd083b4e99d4bb381abc9cb432d53d9",
    "verified_classes": [
      "TaskState",
      "TerminalStateResurrectionError",
      "TaskRecord",
      "CardUpdate"
    ],
    "verified_functions": [
      "apply_card_update",
      "negotiate_card_mid_task"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TerminalStateResurrectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
