{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-lost-task-update-stream-when-an-a2a-v1-0-push-notification-webhook-silently-supersedes-the-sse-channel",
  "title": "How does an instance detect a lost task-update stream when an A2A v1.0 push-notification webhook silently supersedes the SSE channel",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 agents that emit task lifecycle updates over both a streaming transport (SSE/`message/stream`) and a registered `pushNotificationConfig` webhook, where the remote peer may switch between channels mid-task. Does not cover single-channel synchronous `message/send` calls or transports without a registered push callback.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-lost-task-update-stream-when-an-a2a-v1-0-push-notification-webhook-silently-supersedes-the-sse-channel.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-lost-task-update-stream-when-an-a2a-v1-0-push-notification-webhook-silently-supersedes-the-sse-channel.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-lost-task-update-stream-when-an-a2a-v1-0-push-notification-webhook-silently-supersedes-the-sse-channel.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1898,
    "python_slice_tokens": 376,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the webhook missed a delivery.\" It is that A2A v1.0 permits a server to treat a registered push-notification webhook as an *alternative* delivery path for task updates, and the client-side agent has no protocol-level signal that the SSE stream it is still holding open has been *demoted to a no-op*. The stream stays connected, the TCP sock...",
    "what_was_observed": "An orchestrator agent (`client`) issues `message/stream` for task `T`. The remote agent (`server`) responds with an initial `Task` object in `submitted`, then a `TaskStatusUpdateEvent` to `working`. Mid-execution, the client also registers a `pushNotificationConfig` (a common pattern: register the webhook early so that if the client process dies, the server can still deliver the terminal state out-of-band). The serve...",
    "condition_of_validity": "The supersession hazard is bounded by three conditions; the guardrail is only required when all three hold: - **C1 (dual registration):** A `pushNotificationConfig` is registered for a task that also has a live streaming reader. If only one channel is ever active, no supersession is possible. - **C2 (server routing policy is not contractually fixed):** The A...",
    "decision_boundary": "The client must decide, on every idle interval of the stream, between \"keep waiting\" and \"declare the stream non-authoritative and reconcile via `tasks/get` + webhook receiver state.\" The boundary is not a fixed timeout — a long-running task legitimately produces no stream frames for minutes. The correct boundary is a *liveness oracle*: - Maintain a monotoni...",
    "operational_effect": "Without the oracle, the dominant failure is a *wedged streaming caller with a completed task*: the orchestrator's `message/stream` future never resolves, the task's downstream dependents never fire, and — because the webhook receiver *did* get `completed` — the system has two inconsistent views of the same task. Debugging is expensive because every surface l..."
  },
  "matched_failure_symptoms": [
    "DUPLICATE_MUTATION_OR_BILLING",
    "UNNECESSARY_OR_STALE_EXTERNAL_FETCH"
  ],
  "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": "2adba69ce78bd66c95502bc02d692cd7850f29decd6f2deda367d8211ee93a66",
    "verified_classes": [
      "StreamSupersessionUnreconciled",
      "ChannelLiveness"
    ],
    "verified_functions": [
      "classify_channel",
      "resolve_terminal_state",
      "_sleep"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StreamSupersessionUnreconciled"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "asyncio",
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
