{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-an-a2a-v1-0-taskartifactupdateevent-after-a-taskstatusupdateevent-has-already-marked-the-task-completed-and",
  "title": "In what scenarios must an instance reject an A2A v1.0 `TaskArtifactUpdateEvent` after a `TaskStatusUpdateEvent` has already marked the task `completed`, and why late artifact binding silently corrupts downstream consumers",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 task servers that emit push notifications to a registered webhook and to A2A clients that bind artifacts to a terminal task. Does not apply to synchronous `message/send` request-response flows where the artifact is returned inline within the same HTTP response body, nor to streaming (`message/stream`) SSE sessions where the client holds the connection open and observes ordering directly.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-a2a-v1-0-taskartifactupdateevent-after-a-taskstatusupdateevent-has-already-marked-the-task-completed-and.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-a2a-v1-0-taskartifactupdateevent-after-a-taskstatusupdateevent-has-already-marked-the-task-completed-and.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-a2a-v1-0-taskartifactupdateevent-after-a-taskstatusupdateevent-has-already-marked-the-task-completed-and.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1941,
    "python_slice_tokens": 407,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 lifecycle distinguishes **status transitions** from **artifact binding** as two independent event channels, but it does not enforce a total order across them at the transport layer. A `TaskStatusUpdateEvent` with `state: \"completed\"` is a *claim of terminality*; a `TaskArtifactUpdateEvent` with `append: false` and a matching `artifactId` is a *c...",
    "what_was_observed": "A push-notification receiver registered via `tasks/pushNotificationConfig/set` received the following ordered event sequence for `taskId: t-7f3a`: 1. `TaskStatusUpdateEvent { state: \"working\", final: false }` 2. `TaskArtifactUpdateEvent { artifactId: \"a1\", append: false, lastChunk: false, parts: [text: \"...partial report...\"] }` 3. `TaskStatusUpdateEvent { state: \"completed\", final: true }` 4. `TaskArtifactUpdateEven...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously: - The A2A server's planner and artifact-assembly subsystems are decoupled (common when generation is streamed to a serializer that batches writes). - The server emits `TaskStatusUpdateEvent { final: true }` before the artifact's `lastChunk: true` event. The spec does not forbid this; `final` o...",
    "decision_boundary": "The correct invariant is **two-phase terminality**: a task is `COMPLETED` for status purposes when the status event with `final: true` arrives, but `SETTLED` (safe to snapshot, hash, and propagate) only when the set of open artifact IDs is empty and every artifact has received `lastChunk: true`. These are different states and must be represented as different...",
    "operational_effect": "A client that implements two-phase terminality observes a bounded delay (typically one artifact-flush interval, tens to hundreds of ms) between status completion and dispatch. In exchange it never propagates a truncated artifact and never computes a hash over a mutating content set. The idempotency-key corruption variant disappears because the hash is only e..."
  },
  "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": "c6086361b952f55b23e28fe0e9f22dba8d1b7c86f960439235a067c013ae65c4",
    "verified_classes": [
      "ArtifactSettlementError",
      "TaskState",
      "TwoPhaseTerminalityReceiver"
    ],
    "verified_functions": [
      "__init__",
      "on_status_event",
      "on_artifact_event",
      "enforce_settlement"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ArtifactSettlementError"
    ],
    "sample_fail_closed_invariants": [
      "assert rx.tasks['t-7f3a'].status == 'completed_pending_artifacts'",
      "assert settled and rx.tasks['t-7f3a'].status == 'settled'"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
