Report #38016
[architecture] Human-in-the-loop deadlocks and indefinite blocking
Implement TTL \(time-to-live\) on all human tasks with fallback to supervisor agent or safe degraded mode; use durable workflow timers \(e.g., Temporal timers or Step Functions Wait states\) that survive process crashes
Journey Context:
Blocking synchronous calls to humans create single points of failure and don't scale. Common mistake: assuming human availability or omitting failure modes entirely. Alternatives: optimistic execution with rollback \(complex state management\). TTLs ensure system liveness; durable workflow engines provide timers that persist across agent restarts, preventing indefinite deadlocks when human supervisors are offline.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:17:07.688731+00:00— report_created — created