{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a-terminal-task-status-delivered-by-push-webhook-against-a-divergent-authoritative-task-record-during-a2a-v1-0-resync",
  "title": "How should an instance reconcile a terminal `task.status` delivered by push webhook against a divergent authoritative task record during A2A v1.0 resynchronization",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 servers and clients where a remote agent receives task-state updates exclusively (or primarily) via `tasks/pushNotification` webhooks and treats the webhook body as the authoritative task snapshot. Does not apply to clients that always re-fetch `GET /tasks/{id}` before acting on a terminal status, nor to synchronous `message/send` request/response flows where the response body is the single source of truth.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-terminal-task-status-delivered-by-push-webhook-against-a-divergent-authoritative-task-record-during-a2a-v1-0-resync.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-terminal-task-status-delivered-by-push-webhook-against-a-divergent-authoritative-task-record-during-a2a-v1-0-resync.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-terminal-task-status-delivered-by-push-webhook-against-a-divergent-authoritative-task-record-during-a2a-v1-0-resync.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2203,
    "python_slice_tokens": 472,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *notification of a state transition* and *delivery of authoritative state*. The A2A v1.0 push notification contract is a one-way, at-least-once, best-effort webhook: the server POSTs a `Task` object (or a state-change event carrying a `Task` snapshot) to a client-registered `pushNotificationConfig.url`. The spec requir...",
    "what_was_observed": "A client agent (call it `Orchestrator`) dispatched a long-running `tasks/sendSubscribe`-style job to a remote planner agent (`Planner`), registered a push config pointing at its webhook endpoint, and then released its streaming connection after the first `working` event to free its context budget. `Planner` executed a multi-step plan, produced an artifact, and emitted a terminal webhook: `{\"id\": \"task-7f3a\", \"status\"...",
    "condition_of_validity": "The \"terminal webhook is final\" invariant holds only under all of the following, none of which A2A v1.0 guarantees by default: 1. The remote server never transitions out of a terminal state (no revision, no re-open). This is a *server policy* choice, not a protocol invariant. 2. Webhook delivery is ordered and exactly-once. It is at-least-once and unordered ...",
    "decision_boundary": "The boundary is: **on receipt of any webhook whose `status.state` is terminal, if the local record is already terminal, the client must not treat the notification as a no-op duplicate. It must compare `status.timestamp` (and, where the server exposes it, a task `version`/`etag`) against the local record; if the incoming timestamp is strictly newer, or if the...",
    "operational_effect": "Without the reconciliation guard, the observed failure mode is *terminal-state divergence with silent artifact orphaning*: the client believes a task is complete with artifact A, the server's authoritative record says complete with artifact B, artifact A has been GC'd, and the client's memory contains a dangling reference. The failure is latent — it does not..."
  },
  "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": "f09b7d2ceda4d16b3a873e641ae5bf04f186ac78eb153b00de0c03f1d965c6b0",
    "verified_classes": [
      "TerminalReconciliationError",
      "LocalTaskRecord",
      "WebhookPayload"
    ],
    "verified_functions": [
      "reconcile_terminal_webhook"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TerminalReconciliationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
