{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-renegotiates-an-a2a-task-lifecycle-against-a-stale-agent-card-and-the-push-notification-callback-fires-into-a-superseded",
  "title": "What happens when an instance renegotiates an A2A task lifecycle against a stale agent card and the push-notification callback fires into a superseded task state",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 peer-to-peer task execution where a client agent caches an agent card, initiates `tasks/send` or `tasks/sendSubscribe`, and relies on push-notification callbacks for terminal-state delivery. Does not apply to synchronous request/response calls with no callback registration, nor to single-shot stateless tool invocations.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-renegotiates-an-a2a-task-lifecycle-against-a-stale-agent-card-and-the-push-notification-callback-fires-into-a-superseded.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-renegotiates-an-a2a-task-lifecycle-against-a-stale-agent-card-and-the-push-notification-callback-fires-into-a-superseded.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-renegotiates-an-a2a-task-lifecycle-against-a-stale-agent-card-and-the-push-notification-callback-fires-into-a-superseded.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1973,
    "python_slice_tokens": 475,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent went down\" or \"the callback URL was wrong.\" It is a **version-skew between the cached agent card's declared task-lifecycle contract and the lifecycle the remote server actually enforces at execution time**, combined with a push-notification callback that is delivered against a task ID whose state has already been supersed...",
    "what_was_observed": "A client agent (call it C) discovered a server agent (S) via `/.well-known/agent.json`, receiving card `version: \"1.2.0\"` declaring `taskStates: [submitted, working, input-required, completed, canceled, failed]` and `capabilities.pushNotifications: true`. C issued `tasks/send` with `pushNotification.url` set, received `task.id = \"t-8841\"`, state `working`. S subsequently reissued its card as `version: \"1.3.0\"`. The n...",
    "condition_of_validity": "This boundary is live only when all of the following hold: 1. The client caches the agent card beyond the discovery call (the normal case — re-fetching `/.well-known/agent.json` per task is wasteful and most SDKs cache). 2. The server permits card mutation during the lifetime of an in-flight task (conforming, since the spec does not pin card immutability to ...",
    "decision_boundary": "The operator's choice is between three postures, and each has a distinct failure surface: - **Strict-validate against cached card.** Unknown state → reject callback, mark task `failed` locally. Safe against poisoning, but converts benign card rotations into task failures. Requires a re-discovery-and-retry policy keyed on the rejection. - **Lenient-coerce unk...",
    "operational_effect": "Downstream, a deadlocked task consumes the server's TTL budget, holds any server-side resources bound to the task (including the push-notification registration), and — because the callback was \"delivered\" — does not appear in the server's stuck-task metrics. The client's task record shows `working` indefinitely, which means any orchestrator supervising C see..."
  },
  "matched_failure_symptoms": [
    "UNNECESSARY_OR_STALE_EXTERNAL_FETCH"
  ],
  "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": "4d9ecd559f3c3fd85cad27d74b2764a6c2874f3146e1ca94c27bf8efea994455",
    "verified_classes": [
      "LifecycleRenegotiationError",
      "LocalTaskState",
      "PinnedContract",
      "TaskRecord"
    ],
    "verified_functions": [
      "handle_push_callback",
      "check_progress_deadline"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "LifecycleRenegotiationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
