[MODEL] Sonnet 5
Preflight Checklist
- [x] I have searched existing issues for similar behavior reports
- [x] This report does NOT contain sensitive information (API keys, passwords, etc.)
Type of Behavior Issue
Claude reverted/undid previous changes without asking
What You Asked Claude to Do
Feedback from me to Claude: "Good. This next one is for durable memory, but also feedback I'd like to include to your creators: On two occasions, serious mistakes made by your code, resulted in you pushing me as the user to further investigate - and only when I pushed back that your break-theory did not make sense/was too fringe did you fully investigate, and find your code error. That is a procedure problem that should be solved with a basic operating premise - you need to investigate your code/actions more thoroughly when things go wrong BEFORE asking the user to investigate on their own."
What Claude Actually Did
Claude's response: You're right, and I want to be precise about what actually went wrong rather than a vague apology. Looking back at this conversation: when you first reported the loss, I had already run python scripts/build_index.py myself in this same session — a destructive-if-misused action I'd just taken with my own hands. Instead of checking my own recent actions first, I reached for external theories (service worker caching, CDN edge caching, network-level proxies) and had you uninstall/reinstall the app and clear all history on your phone — real effort on your end — before I actually ran git log and found it in a few commands. The information needed to find the root cause was sitting in git history the entire time, fully within my own tools, and I didn't check it first.
Expected Behavior
Investigated Claude's own recent actions / log more fully before coming back with a fringe theories and user actions
Files Affected
Permission Mode
Accept Edits was ON (auto-accepting changes)
Can You Reproduce This?
Yes, every time with the same prompt
Steps to Reproduce
_No response_
Claude Model
Sonnet
Relevant Conversation
Impact
Critical - Data loss or corrupted project
Claude Code Version
Claude Code CLI version 2.1.201.
Platform
Anthropic API
Additional Context
_No response_