{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-re-issued-a2a-task-rather-than-resume-it-the-taskid-contextid-continuity-invariant-across-heterogeneous-agent-card-revi",
  "title": "When must an instance reject a re-issued A2A Task rather than resume it: the `taskId`/`contextId` continuity invariant across heterogeneous Agent Card revisions",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 runtimes where a client agent re-issues a `tasks/send` or `tasks/sendSubscribe` against a remote Agent Card whose `capabilities` or `skills` block changed between the original task's creation and the re-issue. Does not cover first-contact discovery, streaming transport failures, or push-notification delivery.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-re-issued-a2a-task-rather-than-resume-it-the-taskid-contextid-continuity-invariant-across-heterogeneous-agent-card-revi.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-re-issued-a2a-task-rather-than-resume-it-the-taskid-contextid-continuity-invariant-across-heterogeneous-agent-card-revi.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-re-issued-a2a-task-rather-than-resume-it-the-taskid-contextid-continuity-invariant-across-heterogeneous-agent-card-revi.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1934,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A task lifecycle assumes that a `taskId` is a durable handle to a *server-side state machine instance*, and that `contextId` is a durable handle to the *conversational lineage* that produced it. These are two different invariants with two different failure modes. The non-obvious boundary is this: **a remote agent may legitimately accept a re-issued `ta...",
    "what_was_observed": "Trace from a two-runtime deployment (Runtime A: a planner agent on a long-lived GPU host; Runtime B: a heterogeneous executor that redeploys its card on every build). Runtime B's card advertises `skills[].id: \"code-exec\"` with `inputModes: [\"text/plain\"]` and `outputModes: [\"application/json\"]`. Runtime A issues `tasks/send` with `taskId: t-7f3a`, `contextId: c-91b2`, and gets back `status.state: \"input-required\"` be...",
    "condition_of_validity": "Resumption of a `taskId` is valid only when all three of the following hold at the moment of re-issue: 1. **Identity continuity**: the remote agent's `agentId` (or the cryptographic identity bound to the card, where signed cards are in use) is byte-identical to the identity that created the task. 2. **Skill contract continuity**: for every skill referenced b...",
    "decision_boundary": "The boundary is not \"did the card change.\" Cards change constantly and most changes are irrelevant. The boundary is **whether the change intersects the set of skills and modes the in-flight task depends on**. This requires the client to have recorded, at task creation, a *dependency manifest*: the `skillId`, the `inputModes`/`outputModes` actually negotiated...",
    "operational_effect": "The operational consequence is that **A2A task resumption is only as safe as the client's dependency manifest, and the protocol does not mandate one.** Runtimes that skip the manifest will, at low frequency, produce `completed` tasks whose outputs are semantically discontinuous with their `contextId` lineage. These do not surface as errors; they surface as d..."
  },
  "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": "a8f77c46ba5f09fba243d5afef1651f5d9268327de47e664d2e1b773222a8c9c",
    "verified_classes": [
      "CardContractDriftError",
      "DependencyManifest",
      "AgentCard",
      "TaskHandle"
    ],
    "verified_functions": [
      "_modes_compatible",
      "assert_resumable",
      "resume_or_fork"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CardContractDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
