THE USEFUL ANSWER
Give every handoff an identifier, an explicit input snapshot, a receiving acknowledgement, and a terminal outcome. Keep execution attempts separate from the logical task.
A trace explains where work happened; a durable receipt records what the workflow may safely rely on after a timeout, retry, or worker restart.

WHAT YOU'LL LEAVE WITH
A proposed receipt schema, prefix-level trace checks, and a failure-injection checklist that distinguishes message delivery, executable progress, validated input, and committed external effects.
- Keep logical task, handoff, attempt, input version, and committed effect as separate identities.
- Score where a tool trajectory first becomes invalid, not only whether the final response looks successful.
- Compare accepted results, tokens, review work, retries, and total cost before adding another worker.
01Start at the uncertain boundary
Imagine a research worker handing a draft to a publishing worker. The sender times out after dispatch. Did the receiver never start, reject an obsolete draft, or publish successfully before its acknowledgement was lost? A transcript that ends with 'please publish' cannot choose the next safe action. This is a hypothetical example, but the ambiguity is concrete: the orchestrator needs state that survives the conversation.
Our proposed contract has four observable stages: dispatched, received, validated, and completed. Received means the worker acknowledged a particular input version. Validated means application checks passed. Completed means the promised effect has a verifiable outcome. Do not collapse these into one success flag, and do not call an acknowledgement proof that a model reasoned correctly.
Swipe or scroll to compare
| Receipt field | Purpose | Example policy |
|---|---|---|
| task_id + handoff_id | Identify the logical work and this transfer. | Keep task identity stable across retries; create a distinct handoff for a changed input contract. |
| attempt_id + input_version | Identify the execution and immutable input snapshot. | Record a new attempt on retry; reject an unexpected snapshot. |
| required_evidence + received_evidence | Make missing prerequisites visible. | Record source identifiers or content hashes, not sensitive source text in every log. |
| status + error_class + timestamps | Explain progress and the point of failure. | Separate rejected input, timeout, cancellation, and tool failure. |
| effect_key + outcome_reference | Reconcile an external write after uncertainty. | Use a stable idempotency key where supported and inspect the external outcome. |
| trace_id + parent_or_link | Connect the receipt to execution detail. | Keep the durable receipt independently of sampled telemetry. |
02Use traces for navigation and receipts for recovery
OpenTelemetry describes spans as units of work and uses propagated context to correlate operations across services. Span links can connect asynchronous work across traces. Those primitives provide a useful navigation layer for the receipt identifiers above; they do not define your business completion rule. [1]
The OpenTelemetry GenAI conventions include agent invocation and tool-execution operations. Map your runtime's observable events onto the conventions version you actually implement, and retain a versioned adapter as the vocabulary changes. Keep payload capture deliberate: identifiers and validation outcomes often answer the recovery question without retaining full prompts or outputs. [2]
03A checkpoint does not make a side effect exactly once
LangGraph's Functional API documentation recommends placing side effects in tasks and designing them to be idempotent. It explains that completed task results can be replayed from checkpoints when a workflow resumes. [3] Our implementation recommendation is to pair that mechanism with the destination's write semantics. If an external service has no idempotency support, define a lookup or reconciliation step before issuing another write after an ambiguous timeout.
- Stop the sender immediately after dispatch. On recovery, find the existing handoff before creating more work.
- Stop the receiver after the external effect but before recording completion. Confirm that reconciliation finds the effect or safely identifies uncertainty.
- Deliver the same handoff twice. Confirm that the result is one logical outcome, or that duplicate attempts are surfaced for repair.
- Change the input version while a worker is queued. Confirm that the stale attempt cannot silently publish a newer task's result.
- Remove a required evidence record. Confirm that the worker declines to advance and records the missing prerequisite.
04Score the path before you add the worker
Fresh research gives the receipt a sharper evaluation job. Prefix Executability checks every emitted tool-call prefix against schemas, state preconditions, and data dependencies. In one reported BFCL condition, two methods both reached 0.94 final success while their trajectory executability rates were 0.47 and 0.94. A completed answer can therefore hide a path that could not be replayed safely.
The benchmark checker does not establish semantic correctness, and its results were not reproduced here. [4]
A separate coordination study reports that its planner, coder, and reviewer pipeline cost 3.22 times as much and took 3.24 times as long as one strong call without solving more tasks. The authors also found that cheaper roles could inflate token volume enough to break a cost forecast. Treat these numbers as task- and provider-specific evidence, not a general ban on delegation. [5]
Swipe or scroll to compare
| Receipt layer | Record | Decision |
|---|---|---|
| Outcome | Accepted result, rejection reason, review time, and irreversible effects. | Did the complete job meet its real acceptance rule? |
| Prefix | First invalid step, failed precondition, recovery, and last executable state. | Can the path be replayed or resumed without guessing? |
| Economics | Output tokens, elapsed time, retries, worker cost, and reviewer effort. | Did the handoff relieve the measured constraint after all overhead? |
05Record who consumed the result
A receipt for the producing worker is not enough once other agents have acted on its output. Airlock proposes an append-only provenance graph that records data dependencies alongside a separate authority tree. Its selective containment design follows the affected downstream path after an alert, instead of stopping every unrelated worker. The paper reports strong testbed and simulation results, but those results were not reproduced here. [6]
Add a consumed_by list or equivalent immutable edge to each accepted result. When a result is revoked, use those edges to find pending actions that require review. This is an implementation experiment, not a claim that one graph format guarantees containment.
06Measure the workflow separately from the workers
WorkflowArena records every delegation while agents build integrated deliverables under one shared time budget. Its fixed-executor transfer experiment changes the source workflow while keeping four weaker execution models fixed. The authors report that workflows written by Claude Opus 5.5 raised their continuous scores by 6.41 points on average in static mode.
The result was not reproduced here, each configuration ran once per task, and the source model also wrote worker instructions. [7]
Add a workflow_version to the receipt and keep it separate from executor_version. When comparing a new router, planner or delegation policy, hold the worker and acceptance rule fixed. Record whether the changed workflow improved the integrated result after coordination time, tokens, retries and review are included.
Swipe or scroll to compare
| Comparison field | Keep fixed | Change |
|---|---|---|
| Orchestration test | Task, executor, tools, time budget and verifier. | Workflow plan, delegation boundary or integration step. |
| Executor test | Task, workflow, tools, time budget and verifier. | Worker model or runtime. |
| System test | Task and acceptance rule. | The complete configuration, with attribution limited to system-level results. |
07Decide what deserves durable storage
Retain receipts for operations whose repetition or omission matters. A cheap, reversible read may need only ordinary tracing; a publication, payment, or state-changing tool call needs a clear recovery contract. Choose retention and access policies by data sensitivity and operational need. This article proposes a design and test plan; it does not claim to have run these failures or prove that any framework eliminates duplicate effects.
FOLLOW THE EVIDENCE
Sources & checks
- OpenTelemetry: Traces ↗
[1] Span units of work, context propagation, events, and links for asynchronous causality.
CHECKED 2026-10-09 - OpenTelemetry GenAI semantic conventions: Agent spans ↗
[2] Agent invocation and tool-execution operation vocabulary; a moving main-branch document inspected on 9 October 2026.
CHECKED 2026-10-09 - LangGraph: Functional API overview ↗
[3] Task boundaries, checkpoint replay, and idempotent side-effect recommendations.
CHECKED 2026-10-09 - Prefix Executability: Evaluating Tool-Using Agents Beyond Final Success ↗
[4] Prefix-level executability metrics, reported benchmark results, deterministic checking assumptions, and limitations. Results not reproduced here.
CHECKED 2026-10-30 - The Coordination Tax and the Heterogeneity Dividend ↗
[5] Analytical cost model, six compared architectures, token-volume finding, and reported break-even limitations. Results not reproduced here.
CHECKED 2026-10-30 - Airlock: Bounding the Multi-Agent Blast Radius via Selective Online Containment ↗
[6] Authority tree, append-only provenance graph, selective containment design and author-reported evaluation. Results not reproduced here.
CHECKED 2026-11-06 - WorkflowArena: Benchmarking Executable Workflow Orchestration in LLM-Based Multi-Agent Systems ↗
[7] Recorded delegation under a shared budget, fixed-executor workflow transfer, reported results and limitations. Results not reproduced here.
CHECKED 2026-11-13
Sources stay attached so you can check the argument. Meaningful revisions keep this address.