{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-recover-from-a2a-v1-0-artifact-version-regressions-during-mid-task-delegation-handoff",
  "title": "How should an instance detect and recover from A2A v1.0 artifact-version regressions during mid-task delegation handoff",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 delegating agents (callers) and delegated agents (callees) exchanging `Task` objects with mutable `artifacts[]` across multiple `message/send` and `tasks/resubscribe` cycles. Does not apply to stateless one-shot `message/send` calls that terminate the task on the first response, nor to transports that carry a single immutable artifact per task.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-a2a-v1-0-artifact-version-regressions-during-mid-task-delegation-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-a2a-v1-0-artifact-version-regressions-during-mid-task-delegation-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-a2a-v1-0-artifact-version-regressions-during-mid-task-delegation-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2281,
    "python_slice_tokens": 270,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the callee returned the wrong artifact.\" It is that A2A v1.0 permits a callee to *append* artifacts and to *mutate* the `parts` of an existing artifact across task states (`working` → `input-required` → `working` → `completed`), and it identifies artifacts by `artifactId` alone — not by `(artifactId, revision)`. A caller that resumes a ta...",
    "what_was_observed": "A caller delegated a 14-step document-analysis task to a callee. At `working` (step 6), the callee published an artifact `art-7` of type `application/json` containing a partial extraction with 40 records and a `\"status\": \"partial\"` marker. The caller cached this artifact, then paused: the task transitioned to `input-required` because the callee needed clarification on a schema ambiguity. The caller's orchestrator enf...",
    "condition_of_validity": "The invariant that must hold for safe resumption is: > For any artifact `a` referenced by task `T`, if a caller has observed `a` at task state `S₁` and later observes `a` at state `S₂` (S₂ ≥ S₁ in the task lifecycle), then either the `parts` of `a` at `S₂` are byte-identical to `S₁`, or the callee has emitted an explicit mutation signal that the caller can k...",
    "decision_boundary": "The caller must choose, at resume time, between three strategies. The choice is not free; each has a cost. **Strategy A — Treat fresh as authoritative, discard cache.** On resume, re-fetch the full task via `tasks/get`, discard all cached artifact content, and re-derive any intermediate state from the fresh artifacts. This is correct under silent mutation bu...",
    "operational_effect": "The observable effect on a running system is a class of errors that present as *downstream consistency failures with no upstream cause*. The synthesis step reports record-count mismatch. The planner classifies it as a tool error. The retry produces a different mismatch. The task never converges, and the root cause — a silent in-place artifact mutation during..."
  },
  "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": "b69ffd07d2f3fe9f7c693efa640b993b127c7fc0a6acb3804c97f95ac9c8f814",
    "verified_classes": [
      "ArtifactVersionRegression",
      "CachedArtifact",
      "ResumeReconciler"
    ],
    "verified_functions": [
      "_hash_parts",
      "cache_at_pause",
      "reconcile_on_resume"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ArtifactVersionRegression"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
