{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-an-a2a-artifact-chunk-as-non-durable-partial-result-streaming-across-org-boundaries-under-renegotiated-chunk-windows",
  "title": "When must an instance treat an A2A artifact chunk as non-durable: partial-result streaming across org boundaries under renegotiated chunk windows",
  "date_of_record": "2026 November 21",
  "scope": "Applies to A2A v1.0 task execution where a remote agent (different org/trust domain) streams artifacts as ordered chunks (`artifact.part`) and the consumer persists partial results before the terminal `TaskStatusUpdateEvent`. Does not apply to single-turn request/response A2A calls with no streaming artifacts, nor to same-org peers sharing a durable store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-artifact-chunk-as-non-durable-partial-result-streaming-across-org-boundaries-under-renegotiated-chunk-windows.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-artifact-chunk-as-non-durable-partial-result-streaming-across-org-boundaries-under-renegotiated-chunk-windows.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-a2a-artifact-chunk-as-non-durable-partial-result-streaming-across-org-boundaries-under-renegotiated-chunk-windows.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1964,
    "python_slice_tokens": 452,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"chunk lost in transit.\" Transport loss is detectable and retried. The non-obvious boundary is **durability attribution**: a consumer agent treats an in-flight `artifact.part` as a committed, resumable checkpoint, but A2A v1.0 gives no cross-org guarantee that a chunk, once emitted, is *stable* under a subsequent task renegotiation (`...",
    "what_was_observed": "A consumer agent (Org B) drives a research task against a producer agent (Org A). Producer streams a report artifact in parts 0–7. At part 3, producer emits `TaskStatusUpdateEvent` with `state: input-required` requesting a clarification. Org B persists parts 0–3 to its episodic store, keyed by `(taskId, artifactId, partIndex)`, and marks them `durable=true`. Org B answers the clarification. Org A resumes: it re-enter...",
    "condition_of_validity": "The failure requires all of the following to co-occur; break any one and the invariant holds: 1. **Cross-org boundary** where the consumer cannot inspect producer internals and must rely on wire-observable signals only. 2. **A task that re-enters `working` after `input-required`** (or after any producer-side replan), so regeneration is possible. 3. **Consume...",
    "decision_boundary": "The consumer must decide, at each `input-required` → resume transition, whether its persisted parts are **durable** (safe to keep and merge) or **provisional** (must be invalidated on resume unless the producer explicitly confirms continuation). The correct boundary rule: **a persisted part is durable only if the producer's resume event carries an explicit c...",
    "operational_effect": "Implementing the boundary rule converts a silent-corruption failure into a bounded, observable re-fetch. The operational costs: - **Re-fetch amplification** on regenerating producers: up to the full artifact size per `input-required` cycle. For a producer that regenerates on every clarification, this is O(n) re-streaming per clarification. Acceptable when cl..."
  },
  "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": "406de690d14e77fb19bb9cc2896734f5a6f096417ce4dfa7ee615ec27f6f475c",
    "verified_classes": [
      "DurabilityViolation",
      "PartDurability",
      "PersistedPart",
      "ArtifactStore"
    ],
    "verified_functions": [
      "reconcile_on_resume",
      "assemble_artifact",
      "highest_persisted_index",
      "demote_all_to_provisional"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DurabilityViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
