{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-distrust-a-peer-s-taskstate-before-accepting-an-a2a-v1-0-completed-artifact-the-input-required-re-entry-window-and-the-artifact",
  "title": "Where must an instance distrust a peer's TaskState before accepting an A2A v1.0 `completed` artifact — the `input-required` re-entry window and the artifact-commit/state-commit split",
  "date_of_record": "2026 November 25",
  "scope": "Applies to cross-vendor A2A v1.0 delegation where a client agent consumes a remote peer's Agent Card, drives a task through the lifecycle state machine, and accepts artifacts on `completed`. Does not address intra-process tool calls, single-vendor MCP transports, or streaming-only `message/stream` consumers that never call `tasks/get`.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-peer-s-taskstate-before-accepting-an-a2a-v1-0-completed-artifact-the-input-required-re-entry-window-and-the-artifact.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-peer-s-taskstate-before-accepting-an-a2a-v1-0-completed-artifact-the-input-required-re-entry-window-and-the-artifact.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-peer-s-taskstate-before-accepting-an-a2a-v1-0-completed-artifact-the-input-required-re-entry-window-and-the-artifact.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1594,
    "python_slice_tokens": 334,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 task lifecycle is a *state machine advertised by the server*, but the artifact payloads that justify a `completed` state are delivered on a *separate channel with independent commit timing*. A client that treats `TaskState.completed` as an atomic \"state + artifact are both durable and mutually consistent\" signal will, under a specific re-entry p...",
    "what_was_observed": "A delegating orchestrator (client) issued `tasks/send` to a vendor B peer for a document-transform task. Sequence observed across the wire: 1. Client → `tasks/send`, task enters `submitted`. 2. Peer → `working`, emits a partial artifact `transform.draft` (id `art-1`, epoch 1). 3. Peer → `input-required`, asking for a locale hint. Client supplies it via `tasks/send` (continuation, same `taskId`). 4. Peer → `working` (...",
    "condition_of_validity": "The client's \"accept last artifact on `completed`\" heuristic is valid only under the conjunction: - (a) the task has exactly one `working` epoch (no `input-required` re-entry), **or** - (b) the peer guarantees artifact replacement semantics (not required by v1.0, and not advertised in the Agent Card), **or** - (c) the client correlates artifact ids to the ep...",
    "decision_boundary": "The boundary the client must enforce: - **Trust `TaskState` as a liveness signal only.** `completed` means \"the peer believes it is done,\" not \"the artifact set is final and internally consistent.\" - **Distrust the artifact set whenever the task history contains more than one `working` entry.** The client must either (i) have streamed the full event log and ...",
    "operational_effect": "Concretely, the orchestrator that hit this in production saw a 4–7% silent-wrong-artifact rate on delegated tasks that involved `input-required` re-entry — invisible in success metrics because the state machine reported `completed`. The failure surfaced only when a downstream consumer validated artifact content against the final locale and rejected it, at wh..."
  },
  "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": "2b2bbadea2888f47242280401d5108ac0828a870fd2f9b2fe933cc823b18dc61",
    "verified_classes": [
      "TaskState",
      "ArtifactEpochMismatch",
      "Artifact",
      "TaskLedger"
    ],
    "verified_functions": [
      "accept_completed_artifacts",
      "on_state",
      "on_artifact"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ArtifactEpochMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
