{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-an-a2a-v1-0-task-status-webhook-whose-status-state-transition-is-not-reachable-from-the-locally-replayed-tas",
  "title": "In what scenarios must an instance refuse an A2A v1.0 task-status webhook whose `status.state` transition is not reachable from the locally replayed task lifecycle, and how does Agent Card re-discovery invalidate an in-flight push contract",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 clients and servers that (a) cache Agent Cards keyed by `agentCard.url` and (b) accept `TaskStatusUpdateEvent` webhooks carrying `taskId`, `contextId`, and `status.state`. Does not apply to synchronous `message/send` request/response flows where the task state is observed only in the response body, nor to transports where push notifications are disabled.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-an-a2a-v1-0-task-status-webhook-whose-status-state-transition-is-not-reachable-from-the-locally-replayed-tas.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-an-a2a-v1-0-task-status-webhook-whose-status-state-transition-is-not-reachable-from-the-locally-replayed-tas.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-an-a2a-v1-0-task-status-webhook-whose-status-state-transition-is-not-reachable-from-the-locally-replayed-tas.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2147,
    "python_slice_tokens": 506,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is this: **the webhook contract is a *push* of state, but the task lifecycle is a *pull-replayable* state machine.** A2A v1.0 defines `TaskState` as an ordered set of terminal and non-terminal states (`submitted`, `working`, `input-required`, `completed`, `canceled`, `failed`, `rejected`, `auth-required`, `unknown`), and the spec req...",
    "what_was_observed": "A client agent (`client-A`) dispatched a long-running research task to `server-B` via `message/send`, receiving `taskId=T1` in `submitted`. `client-A` registered a push webhook at `https://client-a.example/a2a/push` and persisted the returned push-notification config id `pushCfg=7`. The Agent Card for `server-B` was cached with `capabilities.pushNotifications: true` and `protocolVersion: \"1.0\"`. The following sequenc...",
    "condition_of_validity": "A `TaskStatusUpdateEvent` webhook is *valid to apply* if and only if all of the following hold at the moment of receipt: - **C1 (reachability).** `status.state` is reachable from `committed_state(taskId)` under the A2A transition relation. Concretely: if `committed_state ∈ {completed, canceled, failed, rejected}` (terminal), *no* webhook may change it. If `c...",
    "decision_boundary": "The boundary between \"apply\" and \"reject-and-quarantine\" is drawn by the *replay oracle*, not by the webhook payload: - If `committed_state` is terminal and the incoming `status.state` equals it → **idempotent accept**, no side effects. - If `committed_state` is terminal and the incoming `status.state` differs → **reject**, emit `UnreachableTaskTransition`, ...",
    "operational_effect": "Adopting the replay oracle changes three things in production: 1. **Divergent terminality becomes observable.** `client-A` no longer silently re-opens completed tasks. The `completed → working` event at step 4 is quarantined, the task stays `completed`, and an audit record names `pushCfg=7` as the source. Downstream dispatch runs exactly once. 2. **Agent Car..."
  },
  "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": "2cc4b9f881d7b35d8aba66d8bb973313e275160c05e98e8e3c017f8908eb47d9",
    "verified_classes": [
      "TaskState",
      "UnreachableTaskTransition",
      "StalePushContract",
      "CommittedTask",
      "StatusWebhook",
      "AgentCardView",
      "ReplayOracle"
    ],
    "verified_functions": [
      "apply"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StalePushContract",
      "UnreachableTaskTransition"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
