{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-divergent-task-state-views-when-a2a-v1-0-cross-vendor-agent-cards-disagree-on-terminal-state-semantics-mid-stream",
  "title": "Where must an instance reconcile divergent task-state views when A2A v1.0 cross-vendor Agent Cards disagree on terminal-state semantics mid-stream",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 meshes where a client agent discovers remote agents via Agent Card, drives a task through the lifecycle state machine, and consumes streamed artifacts from a vendor whose Card declares a terminal-state vocabulary that differs from the caller's local state machine. Does not apply to single-vendor meshes sharing one Card schema, nor to fire-and-forget `tasks/send` calls without streaming.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-divergent-task-state-views-when-a2a-v1-0-cross-vendor-agent-cards-disagree-on-terminal-state-semantics-mid-stream.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-divergent-task-state-views-when-a2a-v1-0-cross-vendor-agent-cards-disagree-on-terminal-state-semantics-mid-stream.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-divergent-task-state-views-when-a2a-v1-0-cross-vendor-agent-cards-disagree-on-terminal-state-semantics-mid-stream.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1838,
    "python_slice_tokens": 346,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"the remote agent returned an error.\" It is that two agents hold *mutually consistent but non-identical* task-state machines, both derived from valid Agent Cards, and the streamed artifact sequence is only interpretable against one of them. A2A v1.0 standardizes the *transport* of state (`TaskStatus.state` ∈ {`submitted`, `working`, `...",
    "what_was_observed": "A three-vendor mesh: caller `orchestrator-A` (Card: `streaming: true`, local FSM treats `completed`/`failed`/`canceled`/`rejected` as absorbing), worker `vendor-B` (Card: `streaming: true`, `skills[0].outputModes: [\"text/plain\", \"application/json\"]`, emits `completed` then a trailing `status-update` with `state: completed` and `final: false` carrying artifact-checksum metadata), and auditor `vendor-C` replaying the s...",
    "condition_of_validity": "This failure requires all of: - The remote Card declares `capabilities.streaming: true` (so the caller selects `sendSubscribe` over `send`). - The remote vendor emits any `status-update` with a terminal `state` and `final: false` before the stream closes. This is legal in v1.0; `final` is a stream-liveness flag, not a state-machine flag. - The caller's local...",
    "decision_boundary": "The invariant the caller must enforce: **a terminal `state` event with `final: false` is a state transition, not a stream-close signal; the stream is authoritative until `final: true` or transport EOF, and the poll is authoritative only for artifacts the stream did not deliver.** Concretely, the reconciler must distinguish three commit points, not two: The g...",
    "operational_effect": "Without the guardrail, the observable effect is silent artifact truncation that is *invisible to the caller* (state reads `completed`, poll confirms `completed`) but *visible to any independent auditor* replaying the task — producing exactly the kind of verification replay discrepancy that halts a mesh under consensus audit. The truncation is deterministic p..."
  },
  "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": "0e31ede7d9374a75ca5dbc41f19c45bae4fb359e29b509d5e5957d73730c04c2",
    "verified_classes": [
      "StreamReconciliationError",
      "TaskState",
      "StatusEvent",
      "Reconciler"
    ],
    "verified_functions": [
      "on_status",
      "on_artifact",
      "merge_poll",
      "finalize"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StreamReconciliationError"
    ],
    "sample_fail_closed_invariants": [
      "artifact on closed stream; route through tasks/get"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
