{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-an-a2a-task-handoff-when-input-required-and-auth-required-states-race-across-vendors",
  "title": "Where must an instance refuse an A2A task handoff when `input-required` and `auth-required` states race across vendors",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 (Agent-to-Agent) delegation where a client agent transitions a remote task into `input-required` or `auth-required` and re-issues `tasks/send` or `tasks/sendSubscribe` across vendor boundaries. Does not apply to single-vendor intra-cluster task graphs where the Agent Card is cached and signed by the same trust root.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-an-a2a-task-handoff-when-input-required-and-auth-required-states-race-across-vendors.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-an-a2a-task-handoff-when-input-required-and-auth-required-states-race-across-vendors.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-an-a2a-task-handoff-when-input-required-and-auth-required-states-race-across-vendors.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1989,
    "python_slice_tokens": 394,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A's task lifecycle defines two *interruptible* states — `input-required` and `auth-required` — that both suspend the server-side task and return control to the client. The spec treats them as siblings: both are non-terminal, both require the client to act, both are resumable via a subsequent `tasks/send` carrying the same `task.id`. The non-obvious boundar...",
    "what_was_observed": "A three-vendor chain: client agent C (vendor A) delegates to orchestrator O (vendor B), which fans out to worker W (vendor C). O's Agent Card declares `securitySchemes: [{type: \"oauth2\", ...}]` and `capabilities.stateTransitionHistory: false`. W's card declares `securitySchemes: [{type: \"apiKey\", ...}]` and `stateTransitionHistory: true`. Sequence observed in a production trace: 1. C issues `tasks/send` to O with `ta...",
    "condition_of_validity": "The invariant that must hold for cross-vendor handoff to be safe: > For any remote task T, if the last observed state is interruptible (`input-required` or `auth-required`), the resumption call `tasks/send(task_id=T, ...)` must be accepted by the remote *only if* the remote's current internal state for T is the *same interruptible state* observed, OR the rem...",
    "decision_boundary": "The boundary is a single predicate evaluated at the moment a client observes an interruptible state on a delegated task: If `resumable` is false, the client must **not** call `tasks/send` with the original `task_id`. It must instead: 1. Treat the prior task as abandoned (not failed — abandoned, a distinct client-side state). 2. Emit a fresh `tasks/send` with...",
    "operational_effect": "Three concrete consequences observed in the trace corpus: - **Idempotency-window collisions.** Vendors that honor `task_id` idempotency for a bounded window (typically 10–60 min) will reject a re-created task with the same id as `-32002`, but a *different* vendor that garbage-collects terminal tasks on a shorter window will accept it as a fresh task — produc..."
  },
  "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": "137ad198f2d664defd4975b6ce15ef176a52456b415ace253666a23244925029",
    "verified_classes": [
      "InterruptibleState",
      "TaskHandoffError",
      "AgentCard",
      "TaskSnapshot"
    ],
    "verified_functions": [
      "assert_resumable",
      "resume_or_redelegate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TaskHandoffError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
