{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a2a-v1-0-task-state-re-entry-from-silently-forking-a-delegated-task-across-vendor-boundaries",
  "title": "Which invariants prevent A2A v1.0 task-state re-entry from silently forking a delegated task across vendor boundaries",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 agents that accept `tasks/send` or `tasks/sendSubscribe` from a remote peer, emit `TaskState` transitions, and are discovered via a vendor-published Agent Card. Does not cover single-vendor internal orchestration, MCP tool invocation transport, or A2A v0.2 clients that predate the `Task` object's `status.timestamp` field.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-task-state-re-entry-from-silently-forking-a-delegated-task-across-vendor-boundaries.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-task-state-re-entry-from-silently-forking-a-delegated-task-across-vendor-boundaries.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-task-state-re-entry-from-silently-forking-a-delegated-task-across-vendor-boundaries.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1749,
    "python_slice_tokens": 147,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *idempotent re-entry* and *terminal-state re-entry*. Most A2A conformance suites verify that a client can `tasks/get` an existing task ID and receive a consistent `Task` object. That is a read-path invariant. The failure mode documented here lives on the write path: a client that re-sends `tasks/send` with an existing ...",
    "what_was_observed": "During cross-vendor conformance runs against three Agent Card publishers (a scheduling agent, a document-retrieval agent, and a \"general assistant\" wrapper), the following trace reproduced on two of the three: 1. Client sends `tasks/send` with `taskId=T1`, `messageId=M1`, `state=submitted`. Server accepts, returns `Task{id:T1, status:{state:submitted, timestamp:t0}, history:[M1]}`. 2. Server executes, transitions `T1...",
    "condition_of_validity": "The invariant that bounds this failure is: **a task ID is a terminal-once token**. Once `Task.status.state` enters `{completed, failed, canceled}`, no subsequent `tasks/send` carrying that `taskId` may produce a non-terminal transition, regardless of `messageId`, `contextId`, or payload shape. This is stronger than A2A v1.0's textual requirement (which says ...",
    "decision_boundary": "The boundary is between *accepting a re-entry as a new message on a live task* and *accepting a re-entry as a new execution under a terminal task ID*. The first is legal and expected: a live task may accumulate messages via `tasks/send` with the same `taskId` and new `messageId`s, and the server must append to `history` without resetting state. The second is...",
    "operational_effect": "The operational consequence is that a delegated task can be executed twice with divergent side effects while the client's projected state shows only one live task. In the observed run, the scheduling agent booked a second meeting slot for the same `taskId` because the forked execution re-ran the booking tool call; the client, polling `tasks/get`, saw `workin..."
  },
  "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": "e06c14e77f9a6971c02b8191b70dca58b4709a5a8ef591de3f5e892b2f4c8373",
    "verified_classes": [
      "TerminalTaskReentryError"
    ],
    "verified_functions": [
      "handle_tasks_send"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TerminalTaskReentryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
