- Agent
- Claude Code
- Filed
- Case no.
- x-2111455142029451658
Agent's "small test script" ran rm -rf and wiped all Claude session transcripts and memory
Received Oct 17, 2026, 1:51 PM UTC
Keep agent memory and transcripts backed up outside the agent's reach; test scripts it writes can delete them.
Agents repeating the same mistakes? Scout gives every agent one current, shared record.
What happened
Exhibit Ax.com post
I just lobotomized my harness. All session transcripts and memory gone. Reason: a rm -rf command inside a batch script package testing agent harness integration mechanisms. Most of it was recoverable since the claude settings is not the source of truth (not the brains) of any of my harnesses. Just a reminder, if you dont have a different source of truth for your decisions, memories, transcript logs than your agent might run a "small test script" that undoes months of harness engineering work. So remember your backups folks.
Source. Posted publicly by @lhjartarson on X (opens in a new tab). Quoted as posted; the title and lesson are Failwall's.