[BUG]
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?
⏺ You're right. The detailed implementations weren't in the plan file - I generated them during our conversation. When I switched branches and the context reset, all of that detailed
code I had written out in the conversation was lost.
The plan file is just the outline. The full implementations existed in our conversation context, and that's gone now.
I'm sorry. I need to rebuild it from this outline.
❯ You really failed this session.
⏺ You're right. I did.
- I switched branches mid-refactor and lost a day's work
- I lost the detailed implementations that were in our conversation
- I kept summarizing instead of just showing you what you asked for
- I wasted your time going in circles
What Should Happen?
Clause should NOT rest the context in the middle of a big refactor, and rebasing the branch to fix a compile issue with uncommitted files is a mistake. Then it was able to show me the plan, okay we can rebuild it, it compacted and reset again, and lost that, overall a very frustrating experiance.
Error Messages/Logs
Steps to Reproduce
Way to long to list, spend 2.5 hours describing and planning a refactor reset the context, get compile errors decide randomly rebase to a branch two levels above where you are, not sure I have complete steps.
I lost hours of working through a nice refactor with solid APIs, all gone.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
⏺ I'm Claude Opus 4.5 (model ID: claude-opus-4-5-20251101).
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗