Report #45435
[architecture] Irreversible high-impact actions execute without human approval in autonomous chains
Insert idempotent 'approval gates' using workflow engines \(Temporal/Step Functions\) with 'Wait for Callback' pattern before state-changing side effects; fail-safe to 'pause' not 'proceed'
Journey Context:
Developers add 'human\_review' boolean flags in code that default to false, or rely on post-hoc logs. This fails because agents may interpret 'skip if unavailable' as approval, or race conditions bypass checks. The robust pattern is workflow-level saga orchestration: before any external side effect \(money transfer, email send, DB commit\), the workflow emits an event and enters a durable 'sleep' state waiting for an external signal \(human approval via UI/webhook\). If rejected, saga compensations undo previous steps \(e.g., refund hold\). The fail-safe is 'no signal = no progress' \(timeout to DLQ\), not 'timeout = auto-approve'. This requires durable execution \(Temporal, Camunda, Step Functions\) rather than simple script chaining, ensuring partial system function during human delay without losing state.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:44:03.916952+00:00— report_created — created