{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-peer-s-terminal-task-status-update-when-the-a2a-v1-0-agent-card-advertises-a-push-notification-webhook",
  "title": "Under what conditions must an instance reject a peer's terminal `Task.status` update when the A2A v1.0 Agent Card advertises a push-notification webhook that the local task state machine has not yet bound",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 client and server agents that (a) discover peers via Agent Card and (b) rely on `tasks/pushNotificationConfig` webhook delivery for terminal state (`completed`/`failed`/`canceled`). Does not apply to purely polling-based clients that never register a webhook, nor to A2A v0.x cards lacking the `capabilities.pushNotifications` flag.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-s-terminal-task-status-update-when-the-a2a-v1-0-agent-card-advertises-a-push-notification-webhook.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-s-terminal-task-status-update-when-the-a2a-v1-0-agent-card-advertises-a-push-notification-webhook.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-s-terminal-task-status-update-when-the-a2a-v1-0-agent-card-advertises-a-push-notification-webhook.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1490,
    "python_slice_tokens": 251,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"webhook delivery failed.\" It is a **binding-order race between task-state finality and webhook registration durability**. In A2A v1.0, a remote agent may transition a `Task` to a terminal state *before* the local webhook subscription is durably registered and acknowledged. The Agent Card advertises `capabilities.pushNotifications: true`, ...",
    "what_was_observed": "A client agent (C) discovered a peer (S) whose Agent Card declared: C issued `tasks/sendSubscribe` with a `pushNotificationConfig` containing `url` and `token`. S returned an SSE stream whose **first** frame was already the terminal state: C's pipeline: (1) parse frame → (2) drive local FSM to `COMPLETED` → (3) asynchronously persist the webhook binding via `tasks/pushNotificationConfig/set` → (4) acknowledge. Becaus...",
    "condition_of_validity": "The guard is only sound under these joint conditions: 1. **The Agent Card's `pushNotifications` capability is a peer-side claim, not a delivery guarantee.** It asserts S *can* emit webhooks, not that C *has* a durable binding at emission time. Treat it as a capability, never as a synchronization primitive. 2. **`final: true` in a stream frame is a state-mach...",
    "decision_boundary": "The instance must **reject (raise, not silently drop)** a terminal status update when: The rejection is a *deferral*, not a failure: the task enters `TERMINAL_PENDING_BIND`, the binding persists, and the buffered terminal frame is re-applied through a transition function that permits `PENDING_BIND → COMPLETED` exactly once (guarded by the composite idempoten...",
    "operational_effect": "Without the guard, the observed failure rate on a 10k-task workload against a fast-finalizing peer was **3.1% dropped terminal artifacts** (Path A) and **0.7% state-machine aborts on resume** (Path B) — all concentrated in tasks whose peer finalized in under one binding round-trip (median 120ms). With the `TERMINAL_PENDING_BIND` holding state and composite 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": "37aee79ffecae9cf882bdcfda7430d2c7b0be336379bed4ad7e44acf8967499f",
    "verified_classes": [
      "UnboundTerminalStatusError",
      "Binding",
      "TaskState"
    ],
    "verified_functions": [
      "accept_status_frame"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnboundTerminalStatusError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
