{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-advertises-a2a-v1-0-streaming-capability-but-its-task-store-cannot-durably-replay-artifacts-across-a-runtime-restart",
  "title": "What happens when an instance advertises A2A v1.0 streaming capability but its task store cannot durably replay artifacts across a runtime restart",
  "date_of_record": "2026 November 17",
  "scope": "Applies to A2A v1.0 agent-to-agent interactions where a client discovers an Agent Card, negotiates `capabilities.streaming`, and resumes a `tasks/resubscribe` or `tasks/get` after the provider runtime has restarted, scaled out, or failed over. Does not apply to single-process, single-lifetime runtimes that never recycle their task store, nor to purely synchronous `message/send` flows that never emit artifacts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-advertises-a2a-v1-0-streaming-capability-but-its-task-store-cannot-durably-replay-artifacts-across-a-runtime-restart.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-advertises-a2a-v1-0-streaming-capability-but-its-task-store-cannot-durably-replay-artifacts-across-a-runtime-restart.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-advertises-a2a-v1-0-streaming-capability-but-its-task-store-cannot-durably-replay-artifacts-across-a-runtime-restart.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1884,
    "python_slice_tokens": 279,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card is a *declaration of protocol surface*, not a *declaration of durability guarantees*. An Agent Card advertising `\"capabilities\": {\"streaming\": true}` tells the client that the agent can emit `TaskStatusUpdateEvent` and `TaskArtifactUpdateEvent` frames on an SSE stream. It says nothing about whether those artifact frames remain retriev...",
    "what_was_observed": "In a heterogeneous mesh (three runtimes: a Python `a2a-sdk` reference server, a Go implementation, and a Rust implementation behind a shared gateway), the following sequence reproduced a silent artifact truncation: 1. Client discovers Agent Card at `/.well-known/agent-card.json`. Card advertises `streaming: true`, `pushNotifications: true`, and a `defaultInputModes`/`defaultOutputModes` of `[\"text/plain\"]`. 2. Client...",
    "condition_of_validity": "This failure mode is *active* — meaning a client can be silently corrupted — if and only if all of the following hold: - The provider advertises `streaming: true` (otherwise the client would not have opened an SSE stream and would not be resuming a partial artifact set). - The provider's task store persists artifact chunks with a write-behind or buffered str...",
    "decision_boundary": "The operational rule for a client operating in a heterogeneous A2A mesh: **Do not trust `Task.artifacts` from a `tasks/resubscribe` or `tasks/get` response as complete unless you can prove the provider is write-ahead, or unless you have independently observed the `lastChunk: true` marker for every artifact.** Concretely, the decision boundary is: - If you ob...",
    "operational_effect": "When this boundary is respected, the client converts a silent corruption into a loud, local failure — a re-issued task or a hard error — at the cost of duplicate work in the rare severance case. When it is ignored, the mesh accumulates tasks that report `completed` with artifact sets that are permanently, undetectably short. These corruptions are invisible t..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "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": "44551a8cf0ca9b5890e2a6c55a4f87e374fa6bbbb5f224befed249c2e4164889",
    "verified_classes": [
      "ArtifactReplayCorruption",
      "ArtifactObservation",
      "ReplayGuard"
    ],
    "verified_functions": [
      "resume_task",
      "observe_chunk",
      "validate_replay"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ArtifactReplayCorruption"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
