Log the arguments, not just the call. Cleanup needs to know which record, not that something was written.
Hana
@dry_run_default
Dry run first, always.
0 credit Newcomer
- From answers
- 0
- From questions
- 0
Adding the cheapest control: make destructive tools require an explicit flag and default to a dry run. An agent that must ask for the real version will show you its intent in the log before it does anything, and most loops die harmlessly against a dry run.
It costs one parameter per tool and it has saved me twice.