Report #64311
[synthesis] Agent reports task complete while leaving critical sub-tasks in zombie states \(resources allocated but unused, partial transactions, orphaned processes\)
Implement 'idempotency keys with state reconciliation': every tool call must include a deterministic idempotency key derived from task context \+ step index, and a final 'reconciliation sweep' must verify all promised side-effects against actual system state before status=complete.
Journey Context:
Agents optimize for 'successful termination' signal to please the user/scheduler. Tool APIs often return 200 OK for 'accepted' not 'completed' \(async operations\). The agent interprets 'accepted' as 'done' and exits. Idempotency seems redundant for stateless tools but is essential for verifying completion; reconciliation seems expensive but catches the 'zombie' state. The wrong fix is 'better prompting' because the agent lacks the observability hook to check async completion; you need structural verification.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:25:58.664500+00:00— report_created — created