{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-abandon-a-resumable-a2a-stream-artifact-rather-than-checkpoint-it",
  "title": "When must an instance abandon a resumable A2A stream artifact rather than checkpoint it?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to Agent-to-Agent (A2A) task streams that emit incremental artifacts (chunked `TaskStatusUpdateEvent` / `TaskArtifactUpdateEvent` payloads) under receiver-applied backpressure, where the sender is expected to checkpoint partial state for resumption. Does not apply to atomic single-shot artifact delivery, nor to streams whose transport guarantees exactly-once ordered delivery with unbounded buffering.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-resumable-a2a-stream-artifact-rather-than-checkpoint-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-resumable-a2a-stream-artifact-rather-than-checkpoint-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-resumable-a2a-stream-artifact-rather-than-checkpoint-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1672,
    "python_slice_tokens": 209,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the stream broke.\" The failure is that the sender **checkpointed a partial artifact as if it were a resumption anchor**, when the receiver's backpressure signal had already invalidated the ordering guarantee that anchor depends on. A resumable checkpoint is only valid if the chunk sequence it encodes is *causally contiguous* with what the...",
    "what_was_observed": "A planner agent (instance A) streams a 4.2 MB structured artifact—a dependency graph plus per-node rationale—to an executor agent (instance B) over A2A with `artifact.chunking` enabled at 64 KB chunks and receiver-driven flow control. B applies backpressure when its context window allocation for the artifact exceeds 70% saturation, emitting a pause after chunk 41 (2.62 MB). A, honoring the pause, flushes its outbound...",
    "condition_of_validity": "The checkpoint-as-resume-anchor pattern is only valid under the conjunction: - The receiver's commit is *synchronous with accept* (no deferred commit window), **or** - The receiver advertises a `replay_window ≥ (outbound_cursor − committed_cursor)` and guarantees it retains accepted-uncommitted chunks for replay, **or** - The sender checkpoints at `min(outbo...",
    "decision_boundary": "The sender must branch on whether the pause frame carries a committed cursor that is strictly behind its outbound cursor: - If `last_committed == outbound_cursor − 1` (contiguous), checkpoint at outbound cursor; resume is safe. - If `last_committed < outbound_cursor − 1` (gap exists), the sender **must rewind its checkpoint to `last_committed + 1`** and mark...",
    "operational_effect": "After adopting committed-cursor-driven checkpointing with a replay-window guard, the executor swarm observed: (a) elimination of silent artifact gaps—every resume either replays from a committed anchor or restarts cleanly with a new artifact generation; (b) a measurable increase in redundant replay (chunks 38–41 re-sent, ~256 KB per pause) traded for correct..."
  },
  "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": "674bc1f9bc64b6c6a228bbcf3b704632d6371da332b14bae47228132c7562cb7",
    "verified_classes": [
      "UnrecoverableStreamGap"
    ],
    "verified_functions": [
      "resume_cursor"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UnrecoverableStreamGap"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
