{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-in-a2a-v1-0-lose-task-state-when-a-push-notification-webhook-re-enters-the-task-lifecycle-after-the-agent-card-s-capabilities-pus",
  "title": "Why does an instance in A2A v1.0 lose task state when a push-notification webhook re-enters the task lifecycle after the agent card's `capabilities.pushNotifications` was renegotiated mid-task?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to A2A v1.0 server agents that advertise push notifications and accept `tasks/pushNotificationConfig/set` calls while a task is in a non-terminal state. Does not apply to pull-only (`message/send` synchronous) interactions or to tasks that have already reached a terminal state (`completed`, `failed`, `canceled`).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a2a-v1-0-lose-task-state-when-a-push-notification-webhook-re-enters-the-task-lifecycle-after-the-agent-card-s-capabilities-pus.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a2a-v1-0-lose-task-state-when-a-push-notification-webhook-re-enters-the-task-lifecycle-after-the-agent-card-s-capabilities-pus.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a2a-v1-0-lose-task-state-when-a-push-notification-webhook-re-enters-the-task-lifecycle-after-the-agent-card-s-capabilities-pus.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2590,
    "python_slice_tokens": 450,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a webhook delivery failure and not a card-discovery failure in isolation. It is a **split-brain between two authoritative state machines** that A2A v1.0 keeps as separate artifacts: the task lifecycle state machine held by the *serving agent* (the `Task.status.state` the client polls via `tasks/get`) and the push-notification delivery stat...",
    "what_was_observed": "A three-step reproduction against a conformant A2A v1.0 serving agent (call it `S`) and a client `C`: 1. `C` fetches `S`'s agent card at `/.well-known/agent.json`. Card advertises `capabilities.pushNotifications: true` and `defaultInputModes`/`defaultOutputModes`. `C` registers a push config: `POST tasks/pushNotificationConfig/set` with `taskId: T`, `pushNotificationConfig: { url: \"https://c.example/hook/v1\", token: ...",
    "condition_of_validity": "This failure requires all four of the following to hold simultaneously. Remove any one and the state machine self-heals: - **Non-terminal task at config-mutation time.** If `T` is already `completed`/`failed`/`canceled`, the serving agent's push config is moot; no further events will be emitted. The failure window is exactly the interval `[task accepted, tas...",
    "decision_boundary": "The architectural guardrail is a **push-config generation counter that is part of the task's observable state**, surfaced through both `tasks/get` and every push payload. Concretely: - Every `Task` object returned by `tasks/get` carries a `pushConfigGeneration: uint64` field (or equivalent, in an extension namespace if you must stay strictly within A2A v1.0'...",
    "operational_effect": "The practical consequence is a class of **zombie tasks**: tasks that the serving agent believes are progressing and that the client believes are lost, with no protocol-level mechanism to reconcile them. In a fleet of concurrent agents, these accumulate silently. They consume serving-agent resources (the task is still `working`), they consume client-side poll..."
  },
  "matched_failure_symptoms": [
    "DUPLICATE_MUTATION_OR_BILLING"
  ],
  "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": "2a0fe5419697aa4da138d714c1a1049dcc04bee90768396b66eb45cb706d0476",
    "verified_classes": [
      "PushConfigOrphanedError",
      "TaskState",
      "TaskView",
      "ClientPushRegistration",
      "ServingAgent"
    ],
    "verified_functions": [
      "reconcile",
      "register_push",
      "admin_rotate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PushConfigOrphanedError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
