{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-terminal-completed-task-state-when-the-a2a-v1-0-push-notification-webhook-has-acknowledged-a-taskstatusupd",
  "title": "In what scenarios must an instance refuse a terminal `completed` task state when the A2A v1.0 push-notification webhook has acknowledged a `TaskStatusUpdateEvent` for an intermediate state that the final `Task` object does not subsume",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 server-side task lifecycle management where push notifications are enabled and a client has registered a webhook. Does not apply to polling-only clients, nor to tasks that never emit intermediate status events (e.g., single-shot `message/send` with immediate terminal return).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-terminal-completed-task-state-when-the-a2a-v1-0-push-notification-webhook-has-acknowledged-a-taskstatusupd.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-terminal-completed-task-state-when-the-a2a-v1-0-push-notification-webhook-has-acknowledged-a-taskstatusupd.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-terminal-completed-task-state-when-the-a2a-v1-0-push-notification-webhook-has-acknowledged-a-taskstatusupd.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1850,
    "python_slice_tokens": 425,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 task lifecycle is a state machine, but the push-notification channel and the task object are two *independent* observation surfaces of the same state. The webhook delivers a *stream of `TaskStatusUpdateEvent` deltas*, each carrying a `status.state` and a `final` boolean. The `tasks/get` retrieval returns a *single `Task` object* whose `status.st...",
    "what_was_observed": "A coordinator agent dispatched a `tasks/send` to a worker and registered a webhook at `https://coord.example/a2a/hook`. The worker emitted the following event sequence over the webhook (each with `final: false` except the last): 1. `submitted` → `working` 2. `working` → `input-required` (requesting a credential the worker could not resolve) 3. `input-required` → `working` (the coordinator's `tasks/send` follow-up sup...",
    "condition_of_validity": "The reconciliation invariant holds only under the following conjunction, and an instance must verify all three before trusting a terminal state: 1. **Event-stream completeness:** the coordinator's webhook handler has a durable log of every `TaskStatusUpdateEvent` received, keyed by `(taskId, event.id)`, with no gaps in the `id` sequence or in the `status.sta...",
    "decision_boundary": "The boundary is sharp: **acknowledged-but-not-subsumed is not completion.** Formally, let `E = [e_1, …, e_n]` be the acknowledged webhook event log and `T` the terminal task object. Define: - `subsumed(E, T)` iff `e_n.final == true` and `e_n.status.state == T.status.state` and `∀ i < n: e_{i+1}.from == e_i.to`. - `artifacts_consistent(E, T)` iff every artifa...",
    "operational_effect": "An instance that skips this reconciliation will, under load, exhibit a specific failure signature: retry storms on tasks whose `history` was truncated, idempotency-key collisions when the retry reaches a worker that has already committed the task, and — most subtly — *false completions* where the coordinator accepts a terminal `completed` whose artifact set ..."
  },
  "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": "fc7c45b150d43861bbda769bba984889961f1d1ddda909c0f571683c42eb0ca5",
    "verified_classes": [
      "DivergentTaskState",
      "StatusEvent",
      "TaskSnapshot"
    ],
    "verified_functions": [
      "reconcile",
      "accept_terminal"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "DivergentTaskState"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
