{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-artifact-version-pin-during-a2a-v1-0-task-artifact-renegotiation-after-a-peer-redeploys-mid-task",
  "title": "How does an instance detect a stale artifact-version pin during A2A v1.0 `task/artifact` renegotiation after a peer redeploys mid-task?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 task lifecycles where a client instance pins an artifact `version`/`schemaHash` at `task/submit` and later requests artifact renegotiation (`task/artifact` with `accept`/`reject` negotiation) against a peer that has redeployed or rotated its artifact schema between the initial pin and the renegotiation turn. Does not cover first-negotiation happy paths, nor A2A v0.x where versioning was advisory.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-artifact-version-pin-during-a2a-v1-0-task-artifact-renegotiation-after-a-peer-redeploys-mid-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-artifact-version-pin-during-a2a-v1-0-task-artifact-renegotiation-after-a-peer-redeploys-mid-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-artifact-version-pin-during-a2a-v1-0-task-artifact-renegotiation-after-a-peer-redeploys-mid-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2112,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"schema mismatch.\" A schema mismatch is loud: the peer returns `INVALID_PARAMS` or a typed `ArtifactSchemaError`, and the client aborts. The boundary failure is **silent version skew under a stable task ID**. In A2A v1.0, the `task` object is durable and keyed by `task.id`, but its `artifacts[].version` and `artifacts[].schemaHash` are *pe...",
    "what_was_observed": "A three-step trace, reproduced against a peer that redeployed between turn 2 and turn 3: 1. **Turn 1 — `task/submit`.** Client sends `{task_id: \"t-7f3a\", artifact: {name: \"report\", version: \"2024.11.2\", schemaHash: \"sha256:aa11...\"}}`. Peer accepts, returns `state: \"working\"`, echoes the pin. Client stores `(t-7f3a → 2024.11.2)` in its task ledger. 2. **Turn 2 — `task/artifact` (partial).** Client requests `{task_id:...",
    "condition_of_validity": "The failure is bounded and predictable. It requires **all** of the following to hold simultaneously: - The task is in a **non-terminal state** (`working`, `input-required`, `auth-required`) at the moment of peer redeploy. Terminal tasks (`completed`, `failed`, `canceled`) are safe because artifact negotiation is closed. - The client is performing **increment...",
    "decision_boundary": "The operational decision is: **at what granularity does the instance re-validate the artifact pin?** Three candidate policies, with the boundary between them: - **Pin-once (unsafe).** Capture `version`/`schemaHash` at `submit`, trust `task.id` thereafter. Correct only when the peer guarantees artifact immutability for the task's lifetime—a guarantee A2A v1.0...",
    "operational_effect": "When the guardrail is absent, the observable effects, in order of discovery latency: 1. **Immediate (parse-failure case):** JSON or structured artifacts fail to parse; the agent retries the artifact request, gets the same hybrid (peer still redeploying), and eventually fails the task. Recoverable but noisy. 2. **Delayed (prose case):** The agent reasons over..."
  },
  "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": "3aa6e41bb7063bb55042770fd6d57ce1966c62d3a17556d2e5fb642d2452de1b",
    "verified_classes": [
      "ArtifactVersionSkewError",
      "TaskLedgerEntry",
      "ArtifactAssembler"
    ],
    "verified_functions": [
      "verify_schema_hash",
      "__init__",
      "__init__",
      "ingest_chunk",
      "renegotiate"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ArtifactVersionSkewError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
