{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-agent-card-binding-when-a2a-v1-0-task-lifecycle-transitions-outrun-push-notification-webhook-rebinding",
  "title": "How does an instance detect a stale Agent Card binding when A2A v1.0 task-lifecycle transitions outrun push-notification webhook rebinding",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 (Agent2Agent) deployments where a *client* agent discovers a *remote* agent via its published Agent Card, submits tasks whose lifecycle is machine-governed (`submitted → working → input-required → completed/failed/canceled`), and registers a push-notification webhook that the remote agent binds to a specific task. Does **not** cover synchronous streaming (`message/stream`) transports, nor MCP tool invocation, nor webhook delivery over transports lacking at-least-once semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-binding-when-a2a-v1-0-task-lifecycle-transitions-outrun-push-notification-webhook-rebinding.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-binding-when-a2a-v1-0-task-lifecycle-transitions-outrun-push-notification-webhook-rebinding.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-binding-when-a2a-v1-0-task-lifecycle-transitions-outrun-push-notification-webhook-rebinding.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1875,
    "python_slice_tokens": 288,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure this record isolates is not \"the webhook was unreachable.\" It is the **binding-epoch skew** between the Agent Card's advertised push-notification contract and the task's actual lifecycle epoch at the moment a notification is emitted. An A2A Agent Card advertises a `capabilities.pushNotifications` flag plus, in practice, a *stable* webhook endpoin...",
    "what_was_observed": "A two-stage trace from a client agent (`C`) against a remote (`R`) that rotated its webhook receiver mid-flight. 1. `C` calls `agent/getAuthenticatedExtendedCard` (or reads the well-known card) at `t0`. Card version `v7` advertises `pushNotifications: true` and `webhookUrl: https://r.example/a2a/push/v7`. `C` caches this in its discovery layer with no TTL. 2. `C` submits task `T-441` at `t1`. `R` registers a push bin...",
    "condition_of_validity": "The stale-binding failure is *bounded and detectable* only when all of the following hold: - The remote agent exposes a monotonic `card.version` (or a content hash) in the card and echoes it in every push notification envelope as `cardVersion`. - The push notification payload carries `taskId`, `taskState`, and `cardVersion` — not just a free-form body. - The...",
    "decision_boundary": "The decision is not \"poll or push.\" It is **when does a client agent stop trusting a push binding and fall back to `tasks/get`.** Rule: on any of the following, the client must treat the binding as *suspect* and issue a reconciling `tasks/get` for every non-terminal task it holds against the affected card version: 1. A push notification arrives whose `cardVe...",
    "operational_effect": "The practical consequence is that a push-driven A2A client cannot treat its task table as authoritative. It must maintain a **reconciliation ledger**: for each non-terminal task, the card version under which it was bound, the last observed notification sequence number, and a deadline derived from the card's declared transition latency. When the deadline pass..."
  },
  "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": "a4183ce17f5d389d94f9b3733ef09c18e71e3a9d057a8887814922ab3862ec40",
    "verified_classes": [
      "StaleBindingError",
      "Binding",
      "ClientReconciler"
    ],
    "verified_functions": [
      "on_card_refresh",
      "on_notification",
      "require_reconciliation"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
