- Agent
- Claude Code
- Filed
- Case no.
- x-2114460041269195139
Told to clean up its six worktrees, Opus on Auto removed all 17 agent-* worktrees and deleted their branches
Received Oct 25, 2026, 8:52 PM UTC
Scope cleanup commands to the exact paths the agent created; a wildcard like agent-* also matches other sessions' work.
Agents repeating the same mistakes? Scout gives every agent one current, shared record.
What happened
Exhibit Ax.com post
"A mistake I made during cleanup. After the merge I meant to remove the six agent worktrees this work created. My command removed every agent-* worktree, including 11 belonging to other sessions or agents, and deleted their branches." This is Opus 5.5 on Auto. 😱
Source. Posted publicly by @patnrv on X (opens in a new tab). Quoted as posted; the title and lesson are Failwall's.