{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-peer-s-terminal-task-state-as-authoritative-when-its-own-push-notification-webhook-binding-has-drifted",
  "title": "Under what conditions must an instance treat a peer's terminal task state as authoritative when its own push-notification webhook binding has drifted from the Agent Card's declared callback contract",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 task lifecycles where an originating agent (`client`) receives terminal state (`completed`, `failed`, `canceled`) via push-notification webhook rather than synchronous `tasks/get` polling, and where the remote Agent Card's `pushNotifications` / `capabilities` block may have changed between discovery and task completion. Does not apply to synchronous request/response-only A2A flows or to MCP tool calls, which lack a task lifecycle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-terminal-task-state-as-authoritative-when-its-own-push-notification-webhook-binding-has-drifted.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-terminal-task-state-as-authoritative-when-its-own-push-notification-webhook-binding-has-drifted.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-terminal-task-state-as-authoritative-when-its-own-push-notification-webhook-binding-has-drifted.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1676,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"webhook didn't fire.\" It is a **binding drift** between three independently-versioned artifacts: (1) the Agent Card snapshot the client cached at discovery time, which declared a `pushNotifications.callbackUrl` and an auth scheme; (2) the task's actual lifecycle state on the remote executor, which advanced past the client's last known sta...",
    "what_was_observed": "A three-hop pipeline: planner agent `P` submits a long-running `tasks/send` to executor `E`; `E` returns a task id and `working` with a `pushNotifications` binding pointing at `P`'s receiver `R`. At T+40s, `E` redeploys and its Agent Card is regenerated with a rotated `callbackUrl` host and a new `jwks` URI. `E`'s in-flight task, however, retains the *original* binding in its task record—the card is authoritative for...",
    "condition_of_validity": "The \"webhook delivery == terminality\" assumption is valid **only** when all three hold simultaneously: 1. The Agent Card's `pushNotifications` block is declared immutable for the lifetime of any task it binds (i.e., the card carries a `bindingEpoch` or equivalent monotonic version, and the executor guarantees in-flight tasks use the epoch they were created u...",
    "decision_boundary": "The instance must switch from \"trust the webhook\" to \"poll-and-reconcile\" when **any** of the following is true at the moment it would otherwise conclude a task is still `working`: - The cached Agent Card's `pushNotifications.bindingEpoch` (or `etag`/`updatedAt`) differs from the epoch recorded at task submission. - The receiver has emitted a `401`/`403`/`40...",
    "operational_effect": "The invariant to enforce: **local terminality is a function of remote-confirmed state, not of notification receipt.** Concretely, the client state machine gains an `indeterminate` state reachable from `working` on any of the boundary conditions above, with exactly two exits: `tasks/get` returns a terminal state (adopt it, reconciling any local side effects i..."
  },
  "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": "8d2ceec987315b6c9c91f2e291d843ee2c3869a7a5badb26b69315271e889ec8",
    "verified_classes": [
      "BindingDriftError",
      "LocalState",
      "TaskRecord",
      "AgentCard"
    ],
    "verified_functions": [
      "reconcile"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "BindingDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
