{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a2a-v1-0-task-state-as-authoritative-only-after-the-input-required-working-transition-is-acknowledged-and-ref",
  "title": "In what scenarios must an instance treat A2A v1.0 `task.state` as authoritative only after the `input-required`→`working` transition is acknowledged, and refuse delegation on an unacknowledged resume",
  "date_of_record": "2026 November 28",
  "scope": "Applies to cross-vendor A2A v1.0 delegation where a remote agent (the \"callee\") emits `input-required`, the delegating agent (the \"caller\") supplies the missing input, and the callee resumes. Does not apply to single-vendor in-process tool calls, nor to A2A tasks that never enter `input-required`.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-task-state-as-authoritative-only-after-the-input-required-working-transition-is-acknowledged-and-ref.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-task-state-as-authoritative-only-after-the-input-required-working-transition-is-acknowledged-and-ref.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-task-state-as-authoritative-only-after-the-input-required-working-transition-is-acknowledged-and-ref.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1892,
    "python_slice_tokens": 382,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 task lifecycle is a state machine, not a request/response RPC. The states `submitted → working → (input-required ↔ working)* → completed|failed|canceled` are *durable* — they live on the callee's task record and are replayed to any caller that polls or subscribes. The non-obvious boundary: **the caller's local view of `task.state` is not the cal...",
    "what_was_observed": "A caller agent (vendor A) delegated a document-extraction task to a callee agent (vendor B) over A2A v1.0. The callee emitted `input-required` with a `TaskStatusUpdateEvent` carrying `message.parts` requesting a locale hint. The caller: 1. Received the `input-required` event via SSE subscription. 2. Flipped its local task record to `working` optimistically (a common short-circuit in caller SDKs that avoid a round-tri...",
    "condition_of_validity": "The invariant holds — i.e., the caller *must* treat the callee's echoed `state` as authoritative and refuse to advance its own state machine until it observes `working` — under all of the following: - The transport is A2A v1.0 with durable task records (the callee persists `task.state`; this is not a stateless function call). - The resume endpoint (`/tasks/{...",
    "decision_boundary": "The caller must draw the line at the resume response body, not at the HTTP status. The decision procedure: 1. On resume POST, read `body.state`. If `body.state == \"working\"` **and** the callee's agent card declares `capabilities.resumeSynchronous == true`, advance local state to `working` immediately. 2. If `body.state == \"input-required\"` (the pre-resume sn...",
    "operational_effect": "The guardrail converts a silent state-machine divergence into a bounded, observable wait. Without it, the caller's local state machine and the callee's durable state machine can drift permanently, and the drift is invisible because every wire interaction returns 200. With it, the caller either observes `working` (and proceeds) or hits a deadline (and reconci..."
  },
  "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": "2514f11899563d9b21acfa87d42aa229f06fdb846124f5257dddd47892faf3d9",
    "verified_classes": [
      "UnacknowledgedResumeError",
      "TaskSnapshot"
    ],
    "verified_functions": [
      "resume_and_gate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "UnacknowledgedResumeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
