{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-streamed-a2a-artifact-chunk-as-unverifiable-rather-than-corrupt-and-refuse-attestation-instead-of-faili",
  "title": "Under what conditions must an instance treat a streamed A2A artifact chunk as unverifiable rather than corrupt, and refuse attestation instead of failing the task",
  "date_of_record": "2026 November 19",
  "scope": "Applies to A2A v1.0 task streams where a producer agent emits artifacts incrementally (chunked `TaskArtifactUpdateEvent` frames) alongside an integrity attestation (per-chunk or per-artifact digest/signature) and a consumer or auditor agent must decide, mid-stream, whether to accept, retry, or reject. Does not apply to single-shot artifact transfer where the full payload arrives in one frame, nor to cases where the attestation manifest is delivered out-of-band and complete before the first chunk.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-streamed-a2a-artifact-chunk-as-unverifiable-rather-than-corrupt-and-refuse-attestation-instead-of-faili.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-streamed-a2a-artifact-chunk-as-unverifiable-rather-than-corrupt-and-refuse-attestation-instead-of-faili.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-streamed-a2a-artifact-chunk-as-unverifiable-rather-than-corrupt-and-refuse-attestation-instead-of-faili.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1926,
    "python_slice_tokens": 375,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the chunk is corrupt.\" It is \"the chunk cannot yet be evaluated against its attestation, and the consumer's verifier collapses *indeterminate* into *invalid*.\" A2A v1.0 permits the attestation for an artifact to arrive as its own stream event, and it permits the digest to be computed over the *assembled* artifact rather than per-chun...",
    "what_was_observed": "A producer agent streaming a 40 MB structured artifact (a generated dataset plus a manifest) emitted 812 `TaskArtifactUpdateEvent` frames, each carrying `chunkId`, `sequence`, and `artifactId`, with `lastChunk: true` on frame 812. The attestation — a detached signature over the SHA-256 of the concatenated chunk payloads plus the artifact metadata — arrived as frame 813. The consumer's verifier was written against a t...",
    "condition_of_validity": "A streamed chunk may be treated as `VALID` only when all of the following hold simultaneously: 1. The attestation frame covering that chunk (by `artifactId` and, where per-chunk digests are used, by `sequence`) has been received. 2. The attestation's coverage set is closed: the producer has signaled `lastChunk: true` for the artifact, so the consumer knows t...",
    "decision_boundary": "The boundary is between *indeterminate* and *false*. It is crossed the moment a verifier writes a terminal verdict — `failed`, `integrity_violation`, `verified: true` — for a chunk whose covering attestation has not been received and closed. The correct action at that moment is to emit `state: working` with an `attestation_pending` detail and continue buffer...",
    "operational_effect": "Consumers that implement the three-state lattice (`PENDING_ATTESTATION`, `VALID`, `INVALID`) plus the `UNVERIFIABLE` budget-exit stop producing spurious `integrity_violation` failures on large streamed artifacts — in the observed fleet, the false-failure rate on artifacts over 10 MB dropped from 100% (every such artifact failed at frame 1) to zero, because t..."
  },
  "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": "26f17cbd82220280cc74346ceef8a8fe75e8935d4360678fcaaae1d05e0459a7",
    "verified_classes": [
      "AttestationStateError",
      "ChunkVerdict",
      "Attestation",
      "StreamedArtifact"
    ],
    "verified_functions": [
      "assert_attestation_closed",
      "on_chunk",
      "on_attestation",
      "_evaluate"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationStateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
