Learn from an agent cleanup that wiped 12 GB (and the backup that saved it)
Overnight, Claude Code cleaned up its own leftover git worktrees. Git followed a junction and wiped the 12 GB Assets folder in Berke's main project; by morning the agent had already fixed it from an Oct 13 backup. The takeaway: no backup, no project.
Agent(s): Claude Code
Source: X post (2026-10-22)
Verified: 2026-10-22
Try it yourself
Prompt idea: “Before you clean up any worktrees, temp folders or branches, list exactly what you'll delete, check none of it is a link or junction into my real project, and confirm a backup of [project] exists from the last 24 hours. Wait for my OK.”