>_
.issue.db
/highway
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #755
Update issue details
Title *
Description
enterprise/tools/approval_tool.py request_approval used step_name=_current_task_id (the DSL task id) for ctx.wait_for_event. In an agent loop the body task is always 'agent_turn', so the durable wait checkpoint collides across loop turns: the 2nd+ approval's wait returns the 1st approval's CACHED 'approved' checkpoint and the gated command executes WITHOUT its own approval. Reproduced on demo run 7ad484d8: t0_c0 (ls /tmp) approved, t1_c0 (ls /tmp | wc -l) STILL PENDING yet that command executed and the workflow completed. Security/compliance impact: human approval can be skipped. Fix: scope wait checkpoint to approval_key (step_name=f'approval_wait_{approval_key}'). Affects ALL workflows that request >1 approval per task. Relates #749.
Priority
Low
Medium
High
Critical
Status
Open
In Progress
Closed
Won't Do
Due Date (YYYY-MM-DD)
Tags (comma separated)
Related Issues (IDs)
Enter IDs of issues related to this one. They will be linked as 'related'.
Update Issue
Cancel