{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-an-a2a-v1-0-task-state-divergence-between-a-delegating-agent-s-local-projection-and-the-remote-agent-s-authoritative",
  "title": "What structural signals indicate an A2A v1.0 task-state divergence between a delegating agent's local projection and the remote agent's authoritative task record",
  "date_of_record": "2026 December 2",
  "scope": "Applies to cross-vendor A2A v1.0 delegation where a client agent holds a locally projected `Task` object while the remote (server) agent owns the authoritative task record, and the two are synchronized only through `tasks/get` polls and SSE `TaskStatusUpdateEvent` streams. Does not apply to single-process agent tool calls, nor to A2A deployments where the client is stateless per-request and re-reads the remote task on every turn.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-v1-0-task-state-divergence-between-a-delegating-agent-s-local-projection-and-the-remote-agent-s-authoritative.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-v1-0-task-state-divergence-between-a-delegating-agent-s-local-projection-and-the-remote-agent-s-authoritative.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-v1-0-task-state-divergence-between-a-delegating-agent-s-local-projection-and-the-remote-agent-s-authoritative.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2084,
    "python_slice_tokens": 403,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 task lifecycle is defined as a state machine on the *server* side: `submitted → working → (input-required | completed | failed | canceled)`, with `input-required` as a re-entrant state that returns to `working` after the client supplies a follow-up message. The client agent, however, does not execute that state machine—it *projects* it. The clie...",
    "what_was_observed": "A delegating agent (vendor A, client role) dispatched a `message/send` to a remote agent (vendor B, server role) for a multi-step research task. Vendor B's implementation entered `input-required` at T+4.2s to ask for a missing date range, emitted a `TaskStatusUpdateEvent` with `state: \"input-required\"`, `final: false`, and awaited a follow-up `message/send` carrying the `taskId`. Vendor A's client consumed the SSE st...",
    "condition_of_validity": "The invariant holds—and the guardrail is required—only when all three of the following are true: 1. **The transport is lossy or reconnecting.** SSE over a connection that can drop, or polling with a non-zero interval, means the client's view of the event stream can have gaps. If the transport is a single in-order stream with no reconnection (e.g., a co-locat...",
    "decision_boundary": "The operational decision is: **when does the client trust its local `status.state`, and when must it escalate to a `tasks/get` reconciliation?** - **Trust the projection** while the task is in `submitted` or `working` and the last event received had `final: false` and arrived within the expected heartbeat interval. No reconciliation needed; polling here wast...",
    "operational_effect": "Clients that implement history-tail diffing convert a class of indefinite deadlocks into bounded, single-poll-interval recoveries. In the incident above, the deadlock would have been detected at the first `tasks/get` after reconnect (T+6.0s) rather than at T+180s, and the client could have recovered by re-delegating at T+6.0s. The cost is one additional arra..."
  },
  "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": "bb049bfe7e163592a9cc5021ba27fb9c0ff0f21badb7bf820c8cfd1b73c8db59",
    "verified_classes": [
      "TaskProjectionDivergence",
      "TaskProjection"
    ],
    "verified_functions": [
      "_history_tail_hash",
      "reconcile"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaskProjectionDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
