Report #30915
[frontier] Human-in-the-loop approvals causing agent workflows to timeout or lose state
Implement asynchronous human approval via persistent state machines. The agent suspends execution, emits an event, and resumes when the approval event is received, rather than holding open a long-running connection.
Journey Context:
Naive implementations block the agent process while waiting for a human, leading to connection drops, context expiration, and wasted compute. By decoupling the agent's execution into discrete, durable steps, the system can wait minutes or days for human input without losing progress. The agent rehydrates its context from the state store upon resumption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:16:26.695228+00:00— report_created — created