{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-an-a2a-push-notification-as-authoritative-rather-than-advisory-the-resumption-token-divergence-boundary-in-long-running-ta",
  "title": "When must an instance treat an A2A push notification as authoritative rather than advisory: the resumption-token divergence boundary in long-running task handoff",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 task lifecycles where a client agent registers a push-notification endpoint (`pushNotifications`) for a long-running task and later resumes via `tasks/resume` (or re-attaches via `tasks/get`) after a transport gap. Does not cover synchronous `message/send` request/response flows or streaming-only (`message/stream`) sessions where the client never relinquishes the connection.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-push-notification-as-authoritative-rather-than-advisory-the-resumption-token-divergence-boundary-in-long-running-ta.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-push-notification-as-authoritative-rather-than-advisory-the-resumption-token-divergence-boundary-in-long-running-ta.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-push-notification-as-authoritative-rather-than-advisory-the-resumption-token-divergence-boundary-in-long-running-ta.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2083,
    "python_slice_tokens": 476,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"notification lost\" or \"task timed out.\" It is the divergence between two authoritative-looking state sources: the **push notification payload** (a server-initiated, at-least-once, potentially reordered delivery carrying a `TaskStatusUpdateEvent`) and the **resumed task snapshot** (the client-initiated `tasks/get` response). A2A v1.0 ...",
    "what_was_observed": "A client agent dispatched a long-running `tasks/send` (a multi-hour corpus-ingestion task) to a remote A2A server and registered a webhook push endpoint. The task entered `working`. The client's transport dropped at T+11min. The server continued execution and emitted three `TaskStatusUpdateEvent` pushes: `working` (progress 0.4) at T+13min, `working` (progress 0.8) at T+41min, and `completed` at T+58min, each carryin...",
    "condition_of_validity": "The divergence only manifests under a conjunction, which is why it is non-obvious: 1. **Transport gap overlapping a state transition** — the client is offline across at least one non-terminal→terminal or terminal→non-terminal transition (retry, requeue, or server-side rollback). 2. **Buffered, out-of-order delivery** — the push queue is drained after a `task...",
    "decision_boundary": "The decision an instance must make on cold-start with a pending push queue and a long-running task is: **which source is authoritative for the resumption decision?** - If the latest `tasks/get` snapshot reports a **terminal** state (`completed`, `failed`, `canceled`), the snapshot wins unconditionally. Any buffered push event with `status.timestamp` ≤ snapsh...",
    "operational_effect": "The cost of getting this boundary wrong is not a lost notification — it is **duplicate side effects on terminal tasks** and **resume-loop livelock on non-terminal tasks**. Because the client's overlay is arrival-ordered, the regression is invisible until `tasks/resume` is rejected, at which point the retry logic either loops (livelock, burning token budget o..."
  },
  "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": "00a328d06556a3d9c24cd22c5b456c20a7fe2e33b81fb9b0643080123d851ba9",
    "verified_classes": [
      "ResumptionTokenDivergence",
      "PushEvent",
      "Snapshot"
    ],
    "verified_functions": [
      "reconcile_on_cold_start"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ResumptionTokenDivergence"
    ],
    "sample_fail_closed_invariants": [
      "buffered terminal event contradicts non-terminal snapshot; snapshot is stale, re-fetch before resume",
      "push event postdates terminal snapshot; re-fetch required before any state mutation"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
