{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-artifact-lineage-when-a2a-v1-0-task-negotiation-re-binds-taskid-across-a-resumed-input-required-state",
  "title": "Why does an instance lose artifact lineage when A2A v1.0 task negotiation re-binds `taskId` across a resumed `input-required` state",
  "date_of_record": "2026 November 22",
  "scope": "Applies to A2A v1.0 peers that persist and resume tasks across `input-required` / `auth-required` interrupts, where the client re-discovers the Agent Card between turns. Does not apply to single-shot `message/send` calls that complete within one transport session, nor to stateless `message/stream` invocations with no resumption.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-artifact-lineage-when-a2a-v1-0-task-negotiation-re-binds-taskid-across-a-resumed-input-required-state.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-artifact-lineage-when-a2a-v1-0-task-negotiation-re-binds-taskid-across-a-resumed-input-required-state.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-artifact-lineage-when-a2a-v1-0-task-negotiation-re-binds-taskid-across-a-resumed-input-required-state.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1956,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent forgot the artifact.\" It is that the A2A v1.0 task lifecycle permits a *legitimate* server-side transition — `input-required` → `working` under a new turn — while the client-side resume path re-derives the task binding from the freshly fetched Agent Card rather than from the persisted `taskId`. The Agent Card is a *capability* d...",
    "what_was_observed": "A two-turn negotiation against a peer whose Agent Card advertised `capabilities.stateTransitionHistory: true` and a `skills[]` entry with `inputModes: [\"text/plain\", \"application/json\"]`. Turn 1 sent `message/send` with a JSON artifact request; the server returned `status.state = \"input-required\"` with a `taskId` of the form `tsk_01H...` and a `contextId` of `ctx_7f...`, plus a partial artifact `art_a` (schema draft)...",
    "condition_of_validity": "This failure requires the conjunction of four conditions; drop any one and the lineage holds: 1. **The task crosses an interrupt boundary** (`input-required` or `auth-required`), so the client must persist and later resume. 2. **Discovery runs between turns** and returns a card whose `version` or skill metadata changed, invalidating any cache key that includ...",
    "decision_boundary": "The boundary is **where the resume key lives**. Two designs sit on either side: - *Card-derived resume*: `taskId := cache[(agentUrl, skillId, cardVersion)]`. Cheap, no separate task store, but any capability refresh severs continuity. Fails under conditions 1–4. - *Task-scoped resume*: `taskId := taskStore[contextId].taskId`, written at first `input-required...",
    "operational_effect": "The downstream effect is not a crash but a **content-integrity gap that passes schema validation**. The assembled artifact is well-formed; it is missing the fields that only existed in the append chain. In a code-generation or config-synthesis pipeline, this manifests as a \"complete\" output that silently omits a section — the worst class of agent failure, be..."
  },
  "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": "200daa75add76deac45f232f6ebf17475f75a7d55fe959e9f90efd728aff323a",
    "verified_classes": [
      "ArtifactLineageError",
      "Artifact",
      "TaskStore"
    ],
    "verified_functions": [
      "resume_turn",
      "rehydrate_task_id",
      "accept_artifact"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ArtifactLineageError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
