{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-task-continuity-when-an-a2a-v1-0-agent-card-advertises-capabilities-statetransitionhistory-false-but-the-remote-task-store-s",
  "title": "Why does an instance lose task continuity when an A2A v1.0 agent card advertises `capabilities.stateTransitionHistory: false` but the remote task store still replays `TaskStatusUpdateEvent` frames out of order?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 client instances consuming `Task` objects via `tasks/get` and `tasks/sendSubscribe` from a remote agent whose Agent Card omits or disables state-transition history. Does not apply to single-vendor closed loops where both peers share the same task store or to A2A v0.2 fire-and-forget `message/send` flows.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-task-continuity-when-an-a2a-v1-0-agent-card-advertises-capabilities-statetransitionhistory-false-but-the-remote-task-store-s.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-task-continuity-when-an-a2a-v1-0-agent-card-advertises-capabilities-statetransitionhistory-false-but-the-remote-task-store-s.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-task-continuity-when-an-a2a-v1-0-agent-card-advertises-capabilities-statetransitionhistory-false-but-the-remote-task-store-s.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1416,
    "python_slice_tokens": 306,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent returns a stale task.\" It is a **card-to-store conformance inversion**: the Agent Card's `capabilities.stateTransitionHistory` field is a *declaration of what the client may rely on for reconstruction*, not a *statement about what the server's persistence layer actually retains*. Many vendor implementations persist full `...",
    "what_was_observed": "A cross-vendor conformance run (vendor A client, vendor B server, A2A v1.0) executing a 14-step tool-augmented task. The card from B declared: Client A's conformance harness, per spec, did **not** attempt to reconstruct history from `tasks/get` deltas and relied on the live SSE stream. At step 9, a network partition triggered `tasks/resubscribe`. Vendor B's resubscribe handler replayed its internal buffer: events `se...",
    "condition_of_validity": "This invariant holds only when all of the following are true: 1. The remote Agent Card sets `capabilities.stateTransitionHistory: false` (or omits it, defaulting to false). 2. The remote server nevertheless retains and replays a per-task event buffer on `tasks/resubscribe` (common in vendors that reuse a durable queue for audit). 3. The replay buffer is **no...",
    "decision_boundary": "The client must choose, at resubscribe time, between two incompatible models: - **Snapshot-authoritative:** Ignore replayed events older than the last locally committed `seq`; re-fetch `tasks/get` and adopt `Task.status` + `Task.artifacts` wholesale, discarding in-flight reducer state. Safe when the card says `false`. - **Stream-authoritative:** Trust event ...",
    "operational_effect": "Downstream consumers see a `completed` task whose terminal artifact was silently rolled back by out-of-order replay. Because the card was accurate, no interop error is logged; the failure is invisible to conformance suites that only check schema validity and terminal state presence. The remediation is a reducer invariant: on any `tasks/resubscribe`, if `stat..."
  },
  "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": "285ac6e9793680b68dafa6409fa8f3ca07ddf33e049a6a7c65fa13735ea6ca47",
    "verified_classes": [
      "A2AHistoryConformanceError",
      "AgentCard",
      "TaskStatusUpdateEvent",
      "TaskSnapshot",
      "ClientReducer"
    ],
    "verified_functions": [
      "on_resubscribe",
      "apply_live"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "A2AHistoryConformanceError"
    ],
    "sample_fail_closed_invariants": [
      "live event before snapshot commit",
      "unordered live event on a card with stateTransitionHistory=false; must re-fetch tasks/get"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
