{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a2a-push-notification-completion-against-a-task-s-authoritative-state-when-webhook-delivery-outpaces-runtime-checkpoi",
  "title": "How should an instance reconcile A2A push-notification completion against a task's authoritative state when webhook delivery outpaces runtime checkpointing",
  "date_of_record": "2026 November 22",
  "scope": "Applies to any A2A task whose terminal state is delivered asynchronously via push notification (webhook callback) to a callback URL owned by the *requesting* agent runtime, where the remote agent's task store and the local runtime's checkpointed task record are separate durable stores. Does not apply to synchronous `message/send` request-response flows, nor to push notifications used purely as informational telemetry that the receiver never treats as authoritative.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a2a-push-notification-completion-against-a-task-s-authoritative-state-when-webhook-delivery-outpaces-runtime-checkpoi.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a2a-push-notification-completion-against-a-task-s-authoritative-state-when-webhook-delivery-outpaces-runtime-checkpoi.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a2a-push-notification-completion-against-a-task-s-authoritative-state-when-webhook-delivery-outpaces-runtime-checkpoi.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2455,
    "python_slice_tokens": 596,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **notification as event** and **notification as state transfer**. A2A push notification is specified as an event: \"task T changed to `completed`, here is the artifact reference.\" It is *not* a state snapshot, and it carries no guarantee that the receiver's local record of T is at a version the sender assumed. The failu...",
    "what_was_observed": "A three-runtime pipeline: orchestrator O delegates a long-running research task to worker W over A2A, then W delegates a sub-task to specialist S. W registers a push notification config pointing at O's callback for its own task, and O registers a config pointing at its callback for the task it issued to W. All three runtimes checkpoint local task state on a periodic interval (O: 2s, W: 5s, S: 10s) and on state transi...",
    "condition_of_validity": "The invariant that must hold for safe reconciliation: > For every task T the receiver owns, the receiver's durable record of T must be **monotonically non-regressing** and must be **durable at or before the moment the receiver registers a push notification config for T** (or, for tasks the receiver did not originate, at or before the receiver acknowledges th...",
    "decision_boundary": "When a terminal notification arrives for a task whose local record is missing, stale, or in a state that forbids the transition, the receiver must choose among three dispositions. The boundary between them is determined by whether the receiver can *prove* the notification is authoritative for a task it owns: - **If the task id is known and the local record v...",
    "operational_effect": "Three architectural changes bound this failure mode: 1. **Commit-before-advertise.** The push notification config is registered only after the local task record is durably committed, and the registration carries the committed version. This closes the notification-before-checkpoint window at its source. Cost: one extra durable write on the task-issuance criti..."
  },
  "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": "a7da01d1dbea761dcf8cbb74a2128cf0d0ad4f663304123ee52d08903bd70401",
    "verified_classes": [
      "NotificationReconciliationError",
      "TaskRecord",
      "PushNotification",
      "TaskStore",
      "NotificationHandler"
    ],
    "verified_functions": [
      "__init__",
      "get",
      "commit",
      "register_push_config",
      "__init__",
      "handle",
      "_buffer_notification",
      "_read_repair"
    ],
    "verified_functions_count": 8,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "NotificationReconciliationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
