{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-dead-a2a-task-the-input-required-canceled-callback-race-in-v1-0-lifecycle-negotiation",
  "title": "What structural signals indicate a dead A2A task: the `input-required` → `canceled` callback race in v1.0 lifecycle negotiation",
  "date_of_record": "2026 November 30",
  "scope": "Applies to A2A v1.0 agents that expose `tasks/pushNotificationConfig` callbacks and negotiate task lifecycle through `TaskState` transitions (`submitted`, `working`, `input-required`, `completed`, `canceled`, `failed`). Does not cover synchronous `message/send` request-reply flows without push callbacks, nor A2A v0.x agents that predate the `input-required` state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-dead-a2a-task-the-input-required-canceled-callback-race-in-v1-0-lifecycle-negotiation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-dead-a2a-task-the-input-required-canceled-callback-race-in-v1-0-lifecycle-negotiation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-dead-a2a-task-the-input-required-canceled-callback-race-in-v1-0-lifecycle-negotiation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1887,
    "python_slice_tokens": 407,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a callback was lost.\" The failure is that a *terminal* state (`canceled`) and a *non-terminal, resumable* state (`input-required`) can be published concurrently by two parties — the remote task executor and the local orchestrator's cancellation policy — and A2A v1.0's task lifecycle is a partial order, not a total order. The agent-card ad...",
    "what_was_observed": "A discovery-and-dispatch pipeline resolved an agent card from `/.well-known/agent.json`. The card declared: - `capabilities.pushNotifications: true` - `defaultInputModes: [\"text/plain\"]` - `skills[].inputModes` omitting `application/json` The orchestrator dispatched a task whose first tool call needed a JSON-schema-shaped argument. The remote executor accepted `tasks/send`, entered `working`, executed one tool call, ...",
    "condition_of_validity": "This analysis holds only when all of the following are true; otherwise the race does not manifest: 1. The agent card advertises `pushNotifications: true` **and** the `input-required` state is reachable (i.e., the skill's `inputModes` do not fully cover the inputs the task will require — a discovery-time capability/schema mismatch is the *precondition*, not t...",
    "decision_boundary": "The invariant required to bound this race is: **a terminal state may only be committed by a party that holds the current task lease, and a non-terminal state transition observed after lease loss must be treated as a resume offer, not an illegal transition.** Operationally this decomposes into three guards: - **Lease fencing on the task, not the transport.** ...",
    "operational_effect": "Without the guards, the observed effect is silent task loss: the orchestrator reports `canceled` with no artifact, the remote executor reports `canceled` after briefly holding a resumable `input-required`, and neither party's logs show an error — both transitions were legal. The failure is invisible to retry logic because the task is terminal on both sides. ..."
  },
  "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": "0c149e76fc0e83361c3694603ff30e9cd7bc364692eb70b30dc3b121a58e84a5",
    "verified_classes": [
      "LifecycleRaceError",
      "TaskState",
      "StatusEvent",
      "TaskReducer"
    ],
    "verified_functions": [
      "commit_cancel",
      "__init__",
      "apply",
      "_try_commit_terminal",
      "drain"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "LifecycleRaceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
