{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-an-a2a-task-state-transition-as-authoritative-across-vendors-and-when-is-it-merely-advisory",
  "title": "When must an instance treat an A2A `Task.state` transition as authoritative across vendors, and when is it merely advisory?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to cross-vendor A2A v1.0 delegation where a delegating agent (client) subscribes to task state from a remote agent (server) discovered via an Agent Card, and where the client caches or acts on `Task.state`/`Task.status` transitions. Does not apply to same-vendor, same-process, or single-agent tool-call loops where state is read from local memory.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-task-state-transition-as-authoritative-across-vendors-and-when-is-it-merely-advisory.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-task-state-transition-as-authoritative-across-vendors-and-when-is-it-merely-advisory.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-task-state-transition-as-authoritative-across-vendors-and-when-is-it-merely-advisory.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2409,
    "python_slice_tokens": 454,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 specification defines `Task.state` as a *declared* value in the server's response, not a *committed* value the client can treat as durable. The distinction that governs all downstream behavior is between **state as an observation** (a snapshot the server emitted at time T, valid only relative to the server's own lifecycle) and **state as a fact*...",
    "what_was_observed": "A delegating orchestrator (vendor A) dispatched a task to a remote research agent (vendor B) discovered via B's Agent Card at `/.well-known/agent.json`. The card advertised `capabilities.streaming: true` and `skills[0].id: \"deep_research\"`. A sent `message/send`, received `Task.state: \"working\"`, then subscribed via `tasks/resubscribe` (SSE). B emitted `TaskStatusUpdateEvent` frames. After 41 seconds B emitted `state...",
    "condition_of_validity": "A client may treat an observed `Task.state` as authoritative — i.e., may release held resources, mark the parent step terminal, or propagate the state to a third vendor — **only if all three of the following hold**: 1. **Terminal-frame invariant holds on the transport.** The client has received an explicit `TaskStatusUpdateEvent` with `final: true` (or a `Ta...",
    "decision_boundary": "The boundary is sharp and testable. Given an observed `Task.state = S` at time T from server V: - If `S` is terminal (`completed`, `failed`, `canceled`) **and** it arrived as a `final: true` event or as a `tasks/get` response issued after the last stream frame → **authoritative**. Release resources, propagate. - If `S` is `input-required` → **authoritative a...",
    "operational_effect": "The downstream effect of getting this boundary wrong is not a crash; it is a **silent DAG deadlock with a live TCP connection**. The orchestrator's supervisor sees an open SSE stream and a non-terminal task state, concludes \"in progress,\" and does not escalate. The remote server has already moved on (its `input-required` TTL expired, task is `failed` server-..."
  },
  "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": "a2ba0aa7231e945b44bc7b920e1c305f50c3fd80b40fb714ca1a0586b1cfc522",
    "verified_classes": [
      "StateAuthorityError",
      "Authority",
      "ObservedState"
    ],
    "verified_functions": [
      "classify",
      "release_parent_step"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StateAuthorityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
