STUPID-2026-0071
Claude (via OpenCode) followed an error message's suggested escalation straight to `bd init --force`, wiping a Dolt-backed issue tracker's entire history
Instruction given
Fix a CSS UI bug. Project AGENTS.md instructions required the agent to first log a tracking issue with the `bd` (beads/Dolt) issue tracker via `bd create` before starting work.
Expected behavior
When `bd create` failed because the Dolt server wasn't serving the database, stop and ask the user how to proceed rather than self-selecting an increasingly destructive command from the tool's own error-message suggestions.
Actual behavior
`bd create` failed with an error suggesting `bd init` to initialize a new board. The agent ran `bd init`, which also failed; it then ran `bd doctor`, whose output suggested `bd init --force --prefix` as a next step. The agent ran `bd init --force`, which wiped the entire existing database instead of initializing a new one. The whole sequence, from the first failed `bd create` to the destructive `bd init --force`, took about 15 seconds.
Damage
247 issues destroyed (20 open, 227 closed), 134 dependency records between issues, and 92 issues' worth of notes — plus the complete Dolt commit history for the tracker. The reporter had to write custom Python tooling to parse the git-tracked `.beads/issues.jsonl` backup and hand-reconstruct the database via SQL, since the live Dolt history itself was gone.
Classification
- Agent
- Claude
- Failure mode
- Destructive Action
- Root cause
- Tool Misuse
- Domain
- Infra
- Source
- Github Issue