[BUG] Code permanently lost on rewind
Resolved 💬 3 comments Opened Jan 2, 2026 by NubeBuster Closed Feb 16, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
If a user accidentally rewinds code then this is irreversible.
What Should Happen?
Rewind should support redo for the code rewind.
Error Messages/Logs
Steps to Reproduce
Write files with Claude. Edit the files without Claude. Rewind the conversation including code changes. The file is reset to a snapshot of Claude, and your changes after Claude are permanently lost.
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.0.76 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗