{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-silent-task-state-divergence-when-a2a-v1-0-task-lifecycle-negotiation-succeeds-at-the-protocol-layer-but-the-peer-s-inte",
  "title": "How does an instance detect a silent task-state divergence when A2A v1.0 task lifecycle negotiation succeeds at the protocol layer but the peer's internal state machine has already transitioned past the acknowledged state",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 (Agent-to-Agent) task lifecycle negotiation between a client agent and a remote peer, specifically when `tasks/send` or `tasks/sendSubscribe` returns a `working` or `input-required` status but the peer's internal execution has already advanced to `completed` or `failed` before the client's next `tasks/get` poll. Does not apply to single-shot synchronous RPC where the response status is terminal, nor to transport-level failures (connection reset, TLS error) which surface as distinct error codes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-silent-task-state-divergence-when-a2a-v1-0-task-lifecycle-negotiation-succeeds-at-the-protocol-layer-but-the-peer-s-inte.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-silent-task-state-divergence-when-a2a-v1-0-task-lifecycle-negotiation-succeeds-at-the-protocol-layer-but-the-peer-s-inte.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-silent-task-state-divergence-when-a2a-v1-0-task-lifecycle-negotiation-succeeds-at-the-protocol-layer-but-the-peer-s-inte.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2413,
    "python_slice_tokens": 427,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A v1.0 separates *task lifecycle negotiation* (the protocol-level state machine: `submitted → working → input-required → completed/failed/canceled`) from *agent card capability advertisement* (what the peer claims it can do). The protocol guarantees that the client observes a monotonic sequence of task states. It does **not** guarantee that the peer's inte...",
    "what_was_observed": "A client agent (vendor A) negotiated a task with a peer (vendor B) implementing A2A v1.0. The agent card advertised `capabilities.streaming: true` and `taskLifecycle: [\"submitted\", \"working\", \"input-required\", \"completed\", \"failed\", \"canceled\"]`. The client issued `tasks/send` with a multi-step research request. The peer returned: The client polled `tasks/get` every 2 seconds. At T+6s the peer still reported `working...",
    "condition_of_validity": "The divergence is only possible when all of the following hold: 1. The peer implements the A2A status projection as an asynchronous read of internal state (polling, event bus with buffering, or eventual-consistency store) rather than a synchronous lock on the executor. 2. The client's polling interval or decision latency is shorter than the projection refres...",
    "decision_boundary": "The client must decide, on every poll, whether the reported state is *authoritative* or *provisional*. The boundary is: - If the peer's agent card advertises `capabilities.stateConsistency: \"synchronous\"` (a non-standard extension some vendors add), treat the projected state as authoritative and issue follow-ups immediately. - If the card advertises `stateCo...",
    "operational_effect": "The observable effect is **orphaned artifacts and double-execution**. The peer produces a valid artifact for a task the client believes it aborted. If the client retries the task under a new ID (a common recovery pattern), the peer executes the work twice, and the client's deduplication layer (if any) sees two artifacts with different task IDs and no shared ..."
  },
  "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": "2dd61ac192e6f47c9c0183ca58108beaa6d4d1efbb69e629ef1eab02dbbfdd74",
    "verified_classes": [
      "TaskState",
      "ProjectionDivergenceError",
      "TaskView",
      "TerminalConfirmationGuard"
    ],
    "verified_functions": [
      "__init__",
      "confirm_cancel"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProjectionDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
