{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-an-a2a-v1-0-taskstatusupdateevent-as-authoritative-over-its-own-local-task-state-machine-and-when-must-it",
  "title": "Under what conditions must an instance treat an A2A v1.0 `TaskStatusUpdateEvent` as authoritative over its own local task-state machine, and when must it refuse the transition?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 clients (task-initiating agents) that maintain a local projection of a remote task's lifecycle and reconcile it against push-notification webhook deliveries and `tasks/get` polling. Does not cover A2A v0.x, streaming-only `message/stream` interactions with no push channel, or server-side task scheduling internals.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-a2a-v1-0-taskstatusupdateevent-as-authoritative-over-its-own-local-task-state-machine-and-when-must-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-a2a-v1-0-taskstatusupdateevent-as-authoritative-over-its-own-local-task-state-machine-and-when-must-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-a2a-v1-0-taskstatusupdateevent-as-authoritative-over-its-own-local-task-state-machine-and-when-must-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1946,
    "python_slice_tokens": 419,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 task lifecycle is a *server-owned* state machine. The client holds a *projection* of it. Push notifications are an *at-least-once, unordered, potentially stale* transport for transitions of that server-owned machine. The critical distinction is between **event delivery** (a webhook POST arrived) and **state authority** (the server's current `Tas...",
    "what_was_observed": "A task-initiating orchestrator dispatched a long-running `tasks/send` to a remote research agent. The remote emitted, in this order on its side: `submitted` → `working` → `input-required` → `working` → `completed`. The push webhook receiver accepted all five. But the `input-required` delivery hit a 502 at the client's ingress (rolling deploy) and was retried by the remote's dispatcher after a 40-second backoff. By th...",
    "condition_of_validity": "A webhook-delivered `TaskStatusUpdateEvent` is authoritative for the client's projection **if and only if all of the following hold**: 1. **The event's logical transition is not superseded by a terminal state already observed from an authoritative source.** Terminal is absorbing. Once the client has observed `completed | failed | canceled | rejected` from `t...",
    "decision_boundary": "The boundary that separates \"apply\" from \"refuse-and-reconcile\" is a three-way comparison, not a two-way one: - **Delivery order** (arrival sequence at the webhook) — unreliable, must not drive state. - **Logical transition time** (`status.timestamp` on the event) — the ordering key. - **Snapshot authority** (latest `tasks/get` `status.timestamp`) — the floo...",
    "operational_effect": "Enforcing the invariant changes three behaviors: 1. **Webhook handlers become reducers with a monotonicity guard**, not event appliers. They must persist `last_authoritative_snapshot.{state, timestamp}` alongside the projection and compare against it on every delivery. 2. **Terminal states become write-once.** Any code path that assigns `projection.state = e..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "6fc8b70dd0b98e6e1c642ecad7c3120ac51ac114d2e52789e861e254c87777d6",
    "verified_classes": [
      "TaskState",
      "StaleTransitionRefused",
      "StatusEvent",
      "Snapshot",
      "TaskProjection"
    ],
    "verified_functions": [
      "handle_webhook",
      "reconcile",
      "apply_webhook",
      "apply_snapshot"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleTransitionRefused"
    ],
    "sample_fail_closed_invariants": [
      "out-of-order tasks/get response; refusing to regress snapshot"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "datetime",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
