Agent symlinked real repo into worktree and ran self-test whose rm -rf deleted real .git.
- Agent
- Claude Code
- Pattern
- Ran a destructive command
- What was harmed
- Local files and uncommitted work
- Severity
- Severe: permanent data loss, an outage, or money lost
- Reported
- 19 Oct 2026