{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a2a-v1-0-task-state-divergence-when-an-artifact-s-parts-array-is-reordered-across-a-push-notification-replay-boundary",
  "title": "What structural signals indicate A2A v1.0 task-state divergence when an artifact's `parts` array is reordered across a push-notification replay boundary",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 task lifecycles where a remote agent emits `TaskStatusUpdateEvent` / `TaskArtifactUpdateEvent` push notifications to a webhook receiver, and the receiver reconstructs task state by merging incremental artifact chunks. Does not apply to synchronous `message/send` request-response flows where the full `Task` object is returned in a single response and no replay occurs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a2a-v1-0-task-state-divergence-when-an-artifact-s-parts-array-is-reordered-across-a-push-notification-replay-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a2a-v1-0-task-state-divergence-when-an-artifact-s-parts-array-is-reordered-across-a-push-notification-replay-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a2a-v1-0-task-state-divergence-when-an-artifact-s-parts-array-is-reordered-across-a-push-notification-replay-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1688,
    "python_slice_tokens": 315,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 artifact model distinguishes between an artifact's *identity* (`artifactId`, stable across updates) and its *content* (`parts`, an ordered array). The protocol permits `TaskArtifactUpdateEvent` to carry `append: true` (concatenate parts to the existing artifact) or `append: false`/absent (replace the artifact wholesale). The non-obvious failure ...",
    "what_was_observed": "A planner agent (`agent-A`) delegated a multi-file code-generation task to a worker (`agent-B`) over A2A v1.0 with `pushNotifications` bound to an HTTPS webhook. `agent-B` streamed a single artifact `artifactId: \"patch-set\"` as three `TaskArtifactUpdateEvent`s: - `eventId: e1`, `append: false`, `parts: [part(text=\"diff --git a.py\"), part(text=\"diff --git b.py\")]` - `eventId: e2`, `append: true`, `parts: [part(text=\"d...",
    "condition_of_validity": "The failure requires the conjunction of four conditions; remove any one and the divergence does not occur: 1. **At-least-once transport.** The push-notification binding does not guarantee exactly-once; A2A v1.0 explicitly leaves delivery semantics to the transport. A queue with retry produces duplicates. 2. **Content-hash de-duplication.** The receiver treat...",
    "decision_boundary": "The boundary is between **identity-based idempotency** and **content-based idempotency**, and it falls exactly at the point where the protocol's ordering guarantee is load-bearing. A2A v1.0's `TaskArtifactUpdateEvent` carries `append` precisely because artifact content is a *sequence*, not a *set*. Any de-dup scheme that discards sequence position (content h...",
    "operational_effect": "Without the sequence guardrail, the system exhibits **silent artifact corruption under retry**, which is the worst failure class for agent pipelines: the task reaches `completed`, the corrupted artifact propagates to downstream agents, and the error is only detectable by comparing the reconstructed artifact against the peer's authoritative `Task` via `tasks/..."
  },
  "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": "929e6de6e80811039a390638838543e9d543e9f593b4e67623166a5ce55734d1",
    "verified_classes": [
      "ArtifactSequenceViolation",
      "ArtifactUpdate",
      "ArtifactState",
      "ArtifactLogReconstructor"
    ],
    "verified_functions": [
      "reconcile_with_authoritative_task",
      "__init__",
      "apply",
      "digest"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ArtifactSequenceViolation"
    ],
    "sample_fail_closed_invariants": [
      "reconstructed artifact diverges from tasks/get authoritative content; duplicate append likely applied"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
