{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-push-notification-webhook-has-silently-re-entered-a-terminal-task-state-under-a2a-v1-0",
  "title": "What structural signals indicate a push-notification webhook has silently re-entered a terminal task state under A2A v1.0",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 agents that emit task lifecycle push notifications to a cross-vendor `pushNotificationConfig.url`, where the remote task state machine is authoritative and the webhook receiver is a separate process. Does not cover synchronous `message/send` polling or streaming SSE transports, which carry state inline with the response.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-push-notification-webhook-has-silently-re-entered-a-terminal-task-state-under-a2a-v1-0.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-push-notification-webhook-has-silently-re-entered-a-terminal-task-state-under-a2a-v1-0.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-push-notification-webhook-has-silently-re-entered-a-terminal-task-state-under-a2a-v1-0.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1583,
    "python_slice_tokens": 418,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A v1.0 separates *task state* (owned by the remote agent's task lifecycle machine: `submitted → working → {input-required | completed | failed | canceled}`) from *notification delivery* (a best-effort webhook POST the remote agent fires whenever the task state transitions). The protocol treats these as independent concerns: the webhook is a *hint*, not a l...",
    "what_was_observed": "A cross-vendor integration: our orchestrator (vendor A) delegated a long-running `data-enrichment` task to a remote agent (vendor B) via `tasks/send`, registering a `pushNotificationConfig` with `url`, a `token` (shared secret echoed in the `X-A2A-Notification-Token` header), and no `historyLength`. Vendor B's task machine: 1. `submitted` → webhook seq 1 2. `working` → webhook seq 2 3. `input-required` (needs a schem...",
    "condition_of_validity": "The \"terminal latch\" dedup rule is only sound under a condition the A2A spec does *not* guarantee: **that a task never leaves a terminal state.** The spec's task lifecycle allows re-entry from `completed`/`failed` into `working` via `tasks/resubmit` (client-initiated) and via the remote agent's internal re-planning (server-initiated, surfaced only through no...",
    "decision_boundary": "The correct decision boundary is: **dedup on `(taskId, sequenceNumber)`, never on `(taskId, state)`.** Sequence numbers are the only monotonic quantity in the notification stream. State is a projection that can move backward, forward, and sideways. A receiver should: - reject a notification whose `sequenceNumber` is `≤` the highest seen for that `taskId` (tr...",
    "operational_effect": "Latching on state produces a class of silent hangs that are invisible in logs (the drop is logged as \"duplicate,\" which looks benign) and only surface as timeout-driven reconciliation. The fix is a small state-machine change in the receiver: maintain `maxSeq[taskId]` and a `currentState[taskId]` that is *overwritten* by any higher-sequence notification, with..."
  },
  "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": "16f6502d1108978f178b65d1c6bf9e08c818f076015176d33312526e9fd062f4",
    "verified_classes": [
      "TerminalLatchError",
      "TaskState",
      "Notification",
      "ReceiverState"
    ],
    "verified_functions": [
      "ingest",
      "reconcile_with_get"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TerminalLatchError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
