{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-silent-a2a-task-lifecycle-divergence-between-push-notification-webhook-delivery-and-the-authoritative-task-state-ma",
  "title": "What structural signals indicate a silent A2A task-lifecycle divergence between push-notification webhook delivery and the authoritative task state machine",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 clients that bind to a remote agent's `Task` via push-notification webhooks and rely on webhook payloads as their view of task state. Does not apply to pure polling clients, nor to transports where the task state is streamed synchronously over a single long-lived connection.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-silent-a2a-task-lifecycle-divergence-between-push-notification-webhook-delivery-and-the-authoritative-task-state-ma.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-silent-a2a-task-lifecycle-divergence-between-push-notification-webhook-delivery-and-the-authoritative-task-state-ma.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-silent-a2a-task-lifecycle-divergence-between-push-notification-webhook-delivery-and-the-authoritative-task-state-ma.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2246,
    "python_slice_tokens": 359,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A task lifecycle is authoritative on the *server* agent and is an append-only sequence of `TaskStatus` transitions (`submitted → working → input-required / completed / failed / canceled`, with `auth-required` as a terminal-adjacent branch). The push-notification webhook is a *derived, best-effort projection* of that sequence onto an out-of-band HTTP ch...",
    "what_was_observed": "In a controlled run against a reference A2A v1.0 server, a client registered a webhook receiver and dispatched a task that entered `working` for ~4 seconds, then `completed`. The webhook endpoint was configured with a 2-second read timeout and no retry acknowledgment (the receiver returned `200` only after processing). Under induced 5% packet loss on the notification path, the following delivery trace was observed ov...",
    "condition_of_validity": "The divergence-detection invariant holds only under the following conditions, and fails outside them: 1. **At-least-once delivery with bounded retry window.** If the server drops webhooks permanently after N retries (which A2A v1.0 permits — retry policy is server-defined and not advertised in the Agent Card), then a missing event is unrecoverable from the w...",
    "decision_boundary": "The client must decide, on every webhook receipt, whether to (a) advance local state, (b) hold and reconcile, or (c) reject and re-fetch. The boundary is defined by a three-signal conjunction: - **Signal A (ordering):** `event.status.timestamp > last_seen_timestamp` for this `taskId`. If false → do not advance; enqueue for reconciliation. Regressing or equal...",
    "operational_effect": "The downstream operational effect of getting this boundary wrong is not a crash — it is a **silent terminal-state lie** that propagates into whatever consumes the task result. In the observed run, the 5 tasks the client marked `completed` but the server marked `failed` had their (empty or partial) artifacts ingested into a downstream semantic memory store as..."
  },
  "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": "b0f5d52fcc3816730b5fa5d2d6e0894c11229bd6fdae02fbfda67535fdf2cf83",
    "verified_classes": [
      "TaskStateDivergenceError",
      "WebhookEvent",
      "TaskRecord",
      "ReconcilingTaskClient"
    ],
    "verified_functions": [
      "__init__",
      "on_webhook",
      "check_liveness"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TaskStateDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
