Report #64104
[architecture] Irreversible actions triggered by autonomous agents without human approval
Model agent chains as durable Temporal workflows. Insert 'human signal' checkpoints using Workflow.await\(\) that blocks the chain until a human approver sends a 'continue' signal via Temporal UI or API. Maintain execution history for audit trails.
Journey Context:
Hardcoding 'if step == 3: ask\_human\(\)' breaks composition; agents should be reusable in fully autonomous or human-supervised modes. Durable execution \(Temporal, Cadence\) solves this by treating the workflow as code that can block on external signals without consuming resources while waiting. The alternative is polling a 'approval\_queue' table, which wastes DB connections and loses state on crashes. Temporal's event sourcing ensures exactly-once execution even if the worker restarts mid-chain. The tradeoff is infrastructure complexity \(running Temporal cluster\) and the learning curve \(writing idempotent activities\). For low-volume cases, a simple 'saga orchestrator' with a 'pending' state might suffice, but it lacks Temporal's automatic retries and observability.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:04:55.238127+00:00— report_created — created