[MODEL]
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 modified files I didn't ask it to modify
What You Asked Claude to Do
I asked claude to make several changes for my schema markup and meta information (for SEO). When i wanted to commit and push, it reckognized that there is a 120mb video file that it couldnt commit.
What Claude Actually Did
Therefore it did a HARD reset and ALL my changes were gone. Just because of a big video file. Luckily i had already extracted my code, but this
could've been terrible!
Expected Behavior
Claude should have Asked me before doing this. Or gitignore the big file. but a hard reset without asking for permission is just crazy.
Files Affected
Permission Mode
Accept Edits was ON (auto-accepting changes)
Can You Reproduce This?
Haven't tried to reproduce
Steps to Reproduce
_No response_
Claude Model
Sonnet
Relevant Conversation
Dont want to share
Impact
Critical - Data loss or corrupted project
Claude Code Version
4 sonnet
Platform
Anthropic API
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗