{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-s-a2a-push-notification-callback-acknowledges-a-task-state-the-sender-never-published",
  "title": "What happens when an instance's A2A push-notification callback acknowledges a task state the sender never published",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 task lifecycles where a remote agent registers a `pushNotificationConfig` and receives asynchronous state-change callbacks across a network boundary. Does not apply to synchronous `tasks/send` request/response flows, nor to streaming `tasks/sendSubscribe` SSE channels where the client holds the connection open.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-a2a-push-notification-callback-acknowledges-a-task-state-the-sender-never-published.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-a2a-push-notification-callback-acknowledges-a-task-state-the-sender-never-published.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-a2a-push-notification-callback-acknowledges-a-task-state-the-sender-never-published.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2350,
    "python_slice_tokens": 403,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A task lifecycle is a state machine whose authoritative transitions live on the *server* (the agent executing the task), but whose *observable* transitions are frequently reconstructed by the client from an ordered stream of push notifications delivered over an unordered, at-least-once, occasionally-reordering transport. This produces a class of bug th...",
    "what_was_observed": "A two-agent pipeline: an orchestrator (`Agent-O`) dispatches a long-running analysis task to a worker (`Agent-W`) via `tasks/send`, with `pushNotificationConfig` pointing at `Agent-O`'s callback endpoint. `Agent-W`'s state machine for this task is: `Agent-O` maintains a mirrored state machine and advances it on each callback. The failure trace: 1. `Agent-W` transitions `working → input-required` (needs a clarificatio...",
    "condition_of_validity": "The invariant that must hold for the mirrored state machine to be sound is: > **For any two callbacks `c1`, `c2` for the same `taskId`, if `c1` is processed before `c2`, then the transition asserted by `c1` must be a prefix of the transition history asserted by `c2` in the sender's canonical log.** This is a *causal delivery* invariant, and it is **not guara...",
    "decision_boundary": "The decision boundary is whether the receiver's local state machine is **authoritative** or **advisory** with respect to the sender's. - If the receiver's state machine drives **idempotent, cheap, reversible** actions (logging, metrics, UI badges), it may advance on callback receipt and tolerate the occasional phantom transition. The cost of a rewind is a sp...",
    "operational_effect": "The operational effect of getting this wrong is a **silent divergence window**: the receiver's mirrored state machine and the sender's canonical state machine disagree for a bounded interval, and the disagreement is only detected when a terminal state is reached and reconciled. During that window, any action gated on the mirrored state is taken against a sta..."
  },
  "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": "1301f93f1e471bcf6ec3da6f112b94524eeebbf13d1950d6ed3031f868b8826a",
    "verified_classes": [
      "PhantomTransitionError",
      "Callback",
      "ReconcileGatedMirror"
    ],
    "verified_functions": [
      "__init__",
      "on_callback"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "PhantomTransitionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
