{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-an-a2a-v1-0-artifact-chunk-as-authoritative-versus-a-duplicate-of-a-push-notification-payload",
  "title": "When must an instance treat an A2A v1.0 `artifact` chunk as authoritative versus a duplicate of a push-notification payload?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 task lifecycles where a client agent receives artifacts over both an SSE `tasks/stream` channel and a `pushNotification` webhook registered via `tasks/pushNotificationConfig/set`. Does not apply to single-transport deployments (stream-only or webhook-only), nor to A2A versions predating the `artifact.append` semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-v1-0-artifact-chunk-as-authoritative-versus-a-duplicate-of-a-push-notification-payload.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-v1-0-artifact-chunk-as-authoritative-versus-a-duplicate-of-a-push-notification-payload.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-v1-0-artifact-chunk-as-authoritative-versus-a-duplicate-of-a-push-notification-payload.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2104,
    "python_slice_tokens": 614,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **transport-level delivery** and **task-level state transition**. A2A v1.0 does not mandate a total order between the SSE stream and the webhook channel for the same task. Both carry `TaskStatusUpdateEvent` and `TaskArtifactUpdateEvent` objects, both carry a monotonic `id` scoped to the task, but only the stream guaran...",
    "what_was_observed": "A client agent registered a webhook for a long-running `data.extract` task and simultaneously held an SSE stream open for UI latency reasons. The remote agent (server) emitted artifacts in 12 chunks over ~40 seconds. The stream delivered chunks 1–12 in order. The webhook, configured with `retryPolicy: {maxRetries: 3, backoff: exponential}`, delivered chunks 3, 4, 5, 4, 5, 6, 7, 8, 9, 10, 11, 12—because the server's w...",
    "condition_of_validity": "The high-water-mark rule is valid if and only if the following hold: 1. `chunkSeq` is monotonic and gap-free per `(taskId, artifactId)` as emitted by the server. A2A v1.0 requires this for `artifact.append` but does **not** require it for `artifact.replace` (which resets the sequence and must be treated as a new artifact lineage). 2. The client persists the ...",
    "decision_boundary": "The boundary is: **does the client have a durable, cross-channel high-water mark for this `(taskId, artifactId)`?** - If yes: discard any chunk with `chunkSeq <= hwm`. Accept and advance on `chunkSeq == hwm + 1`. On `chunkSeq > hwm + 1`, the client has a gap—it must not silently accept; it must either request the missing range or fall back to `tasks/get`. - ...",
    "operational_effect": "Clients that implement arrival-order assembly produce artifacts with silent duplication under webhook retry, and silent truncation under mid-task restart (they accept chunks 8–12 as the whole artifact). Both failures pass schema validation. Both are caught only by downstream semantic checks—record counts, checksums, or a second agent auditing the artifact ag..."
  },
  "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": "4b5c84d7041e745d8df15046f1080776770e0f63bb1a8b8389b2a94015216b5e",
    "verified_classes": [
      "ArtifactSequenceGap",
      "ArtifactReplayDiscarded",
      "ArtifactAssembler"
    ],
    "verified_functions": [
      "handle_stream_event",
      "terminal_reconcile",
      "_key",
      "accept_chunk",
      "try_accept",
      "reconcile_from_tasks_get"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ArtifactReplayDiscarded",
      "ArtifactSequenceGap"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
