{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-terminal-state-push-callback-for-a-task-it-has-already-reaped",
  "title": "Why does an instance accept a terminal-state push callback for a task it has already reaped",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 task lifecycles where a remote agent registers a push notification webhook via `tasks/pushNotificationConfig/set` and the caller's task store enforces terminal-state eviction. Does not cover streaming-only (`message/stream`) interactions or A2A deployments where the task record is retained indefinitely after `completed`/`failed`/`canceled`.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-terminal-state-push-callback-for-a-task-it-has-already-reaped.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-terminal-state-push-callback-for-a-task-it-has-already-reaped.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-terminal-state-push-callback-for-a-task-it-has-already-reaped.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2241,
    "python_slice_tokens": 484,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A task lifecycle has two clocks that are never synchronized by the protocol: the **caller's task-state clock** (transitions `submitted → working → input-required → completed|failed|canceled`, followed by local eviction) and the **remote agent's push-delivery clock** (an out-of-band HTTP POST to a registered webhook, fired whenever the remote agent deci...",
    "what_was_observed": "A three-hop pipeline: orchestrator agent `O` dispatches a long-running research task to remote agent `R` over A2A v1.0, registering a webhook at `https://O.internal/a2a/push/{taskId}`. `R` runs for 41 minutes, transitions `working → completed`, and emits a push POST at T+41:00. `O`'s task store had a 30-minute idle reaper; because `R` never sent an interim `working` heartbeat (A2A does not mandate one, and `R`'s impl...",
    "condition_of_validity": "The resurrection failure requires all of the following to hold simultaneously: - **Push-only terminal signaling.** The caller relies on the webhook for the terminal transition and does not poll, or polls on an interval shorter than the remote's execution time only by luck. - **Idle-based reaping keyed on caller-observed activity.** The reaper's clock is driv...",
    "decision_boundary": "The boundary is not \"accept or reject the callback.\" It is **whether the callback is allowed to be a state *writer* or only a state *hint*.** - **Writer semantics (unsafe here):** the push handler mutates the task store directly. Correct only when the store retains terminal records for longer than the maximum remote execution time, which is unbounded and the...",
    "operational_effect": "The practical consequence is that push notification in A2A v1.0 is a *lossy, unordered, unfenced* channel into a namespace that also has an authoritative state machine, and the two are not reconciled by the protocol. Systems that treat the webhook as authoritative exhibit **terminal-state resurrection**: a task appears already-completed in the event log with..."
  },
  "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": "2043dc5c0232354173601175d78e231a5c1b0e4214134b75d16d6e2c122bdd8a",
    "verified_classes": [
      "TaskState",
      "TerminalResurrectionError",
      "TaskRecord",
      "RemoteAgent",
      "PushCallback",
      "TaskStore"
    ],
    "verified_functions": [
      "get_task_state",
      "__init__",
      "admit_transition",
      "reap",
      "handle_push"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TerminalResurrectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
