Limit tasks and tools
Describe the desired result with observable criteria. Grant permissions per task and use sample data or read-only access at first.
Define stopping points
Set a budget, step limit, deadline and conditions for escalation. Require approval before actions that affect external systems or are difficult to undo.
Keep a record for evaluation
Record actions, results and reasons for escalation as needed. Use failed runs to update instructions, tests and recovery procedures.