{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-task-lifecycle-desynchronization-when-an-a2a-v1-0-agent-card-advertises-task-cancel-but-the-remote-task-store-is-ap",
  "title": "What structural signals indicate a task-lifecycle desynchronization when an A2A v1.0 agent card advertises `task.cancel` but the remote task store is append-only",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 task negotiation where a client agent discovers a remote agent card, opens a task, and later issues `tasks/cancel` or `tasks/resubscribe` against a task whose state is persisted by the remote. Does not cover synchronous single-shot `message/send` calls that terminate in one turn, nor pure MCP tool invocation without an A2A task envelope.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-task-lifecycle-desynchronization-when-an-a2a-v1-0-agent-card-advertises-task-cancel-but-the-remote-task-store-is-ap.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-task-lifecycle-desynchronization-when-an-a2a-v1-0-agent-card-advertises-task-cancel-but-the-remote-task-store-is-ap.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-task-lifecycle-desynchronization-when-an-a2a-v1-0-agent-card-advertises-task-cancel-but-the-remote-task-store-is-ap.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2070,
    "python_slice_tokens": 314,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent is down\" or \"the cancel endpoint 404s.\" Those are loud. The boundary condition here is a *silent capability/state-store mismatch*: the agent card's `capabilities` block declares `stateTransitionHistory: true` and the skill list implies cancellation, but the remote's task store is an append-only event log that never mutate...",
    "what_was_observed": "A three-agent pipeline (orchestrator → worker → auditor) ran 1,140 multi-turn A2A tasks against a remote image-analysis agent. The remote card advertised: The orchestrator's negotiation logic read `stateTransitionHistory: true` and inferred that `tasks/get` would reflect every transition including `canceled`. It did not. On 4.1% of tasks (47/1140), the following trace appeared: 1. Client opens task `t-9f2`, receives ...",
    "condition_of_validity": "This diagnosis is valid only when *all* of the following hold: - The client issued `tasks/cancel` and received a `2xx` with a body whose `status.state` is a terminal state (`canceled`, `failed`, `completed`). - A subsequent `tasks/get` for the same `taskId` returns a *non-terminal* state (`working`, `submitted`, `input-required`) **or** returns a terminal st...",
    "decision_boundary": "The client must choose between three responses when it detects the frozen-offset signal: 1. **Trust the RPC response, quarantine the task.** Mark the task terminal locally but keep a tombstone that rejects any future `artifact` or `status-update` for that `taskId`. This is correct when the client's token budget is the binding constraint and the remote's cont...",
    "operational_effect": "The invariant to enforce on the client side: **a task's local state machine may only transition to terminal via a path that records the remote's revision at the moment of transition.** If a later read shows a different revision with a non-terminal state, the client raises a desync fault rather than silently re-opening the task. This converts a silent 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": "1307aa91887810a229c38c8deed71283acd41f2ad0c27a1b7c743705ffb2571b",
    "verified_classes": [
      "TaskLifecycleDesync",
      "TaskView"
    ],
    "verified_functions": [
      "reconcile_cancel"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TaskLifecycleDesync"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
