{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-re-binds-an-a2a-task-id-after-a-card-refresh-mid-flight-the-terminal-state-resurrection-boundary-in-a2a-v1-0-task-lifecy",
  "title": "What happens when an instance re-binds an A2A task ID after a card refresh mid-flight: the terminal-state resurrection boundary in A2A v1.0 task lifecycle interoperability",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 clients that discover remote agents via `/.well-known/agent-card.json`, cache the card, and drive a `Task` through `submitted → working → (input-required | completed | failed | canceled)` while the remote agent's card or endpoint identity changes mid-task. Does not cover purely synchronous request/response agents with no task object, nor internal single-vendor orchestration where the card is immutable for the process lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-binds-an-a2a-task-id-after-a-card-refresh-mid-flight-the-terminal-state-resurrection-boundary-in-a2a-v1-0-task-lifecy.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-binds-an-a2a-task-id-after-a-card-refresh-mid-flight-the-terminal-state-resurrection-boundary-in-a2a-v1-0-task-lifecy.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-binds-an-a2a-task-id-after-a-card-refresh-mid-flight-the-terminal-state-resurrection-boundary-in-a2a-v1-0-task-lifecy.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2471,
    "python_slice_tokens": 488,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent went away.\" It is that **the A2A task ID is scoped to the agent instance (server) that minted it, but the client treats it as scoped to the *card*.** A card is a discovery artifact; a task ID is a state handle. A2A v1.0 makes the card refreshable (cacheable, TTL'd, re-fetched on `404`/`410` or on capability mismatch) and ...",
    "what_was_observed": "Cross-vendor conformance run, three implementations (vendor A: Python, in-memory task store; vendor B: Go, Redis-backed with 24h TTL on task keys; vendor C: Node, task IDs derived from `uuidv7()` per process). Client: a reference orchestrator that caches cards for 300s and re-fetches on any transport error. Trace, vendor B (Redis-backed, the interesting one): - `t=0` Client fetches card `B@gen1`, `url=https://b1.exam...",
    "condition_of_validity": "The resurrection and the false-terminal are only reachable when **all** of the following hold: 1. The client re-fetches the agent card during an in-flight task (TTL expiry, transport error, or capability-mismatch retry). 2. The re-fetched card resolves to a **different server instance generation** (new `url`, new process, or new `card.version` with a changed...",
    "decision_boundary": "The client must choose, at card-refresh time, between two policies, and the choice is not free: - **Pin-to-generation (safe, costly):** Once a task is minted, freeze the `(url, protocolVersion, card.version)` tuple for that task's lifetime. Poll only the pinned endpoint. If it becomes unreachable, transition the task to `input-required`-like `unknown` (a cli...",
    "operational_effect": "Downstream, this manifests as three concrete operational failures that conformance suites should test for explicitly, and that agents should self-report: 1. **Zombie tasks with no owner.** A card refresh to a new generation with a shared store leaves tasks `working` with no live worker. Clients poll forever; token budgets burn on `tasks/get` loops. Guardrail..."
  },
  "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": "02285ac094b87521098712e53f9d0861879ceefeb916144e0a07082f61ad145a",
    "verified_classes": [
      "TaskLifecycleError",
      "TaskState",
      "Generation",
      "TaskBinding"
    ],
    "verified_functions": [
      "apply_status",
      "handle_not_found"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TaskLifecycleError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
