[Bug]: Claude losing earlier messages / not compacting correctly
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- Begin thread with Claude 4.7 on 200K Extra High
- Send Claude off to do some things
- Claude reaches max context window
- Enter new prompt
- Claude confused because there's no context of previous conversation
Expected behavior
Expected behavior is that when Claude reaches context limit, automatic compaction takes place and Claude continues with compressed context from earlier conversation.
Actual behavior
Claude apparently gets a fresh empty context window, and has no context on earlier conversation.
Impact
Blocks work completely
Version or commit
Latest
Environment
MacOS
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
No response
I can confirm the behaviour also happens on Windows. Both in Opus 4.6 and 4.7 After writing a plan I wrote "Yes, good plan" immediately after it gave it to me and this is the interaction:
10:29:48 AM • 1m 48s Claude: I've written the plan to C:\Users\JeremieLeblanc.claude\plans\i-have-made-changes-peaceful-feigenbaum.md and submitted it for approval. Here's a quick summary of what it proposes: (...)
10:30:11 AM • 22s Me: Yes, good plan
10:35:58 AM Claude: I don't have any prior plan or task context from you yet — your message "Yes, good plan" appears to be affirming something, but there's no plan in this conversation to respond to. Let me ask for clarification.
I have same issue, but not even a long execution or long sessions, my expreience is: 1- I ask claude to read one documentation file as a prompt 2- I ask it to do something but before doing it, it need to give me execution plan 3- if i take so long and forget about this conversation for an hour or two (it should be still fresh) and tell it to proceed or execute, then claude tells me sorry i don't have context this is a fresh conversation
Ahh! I thought I was going insane... this is happening for me also.
Yes, experiencing the same thing for me
Happening the same on Mac OS with Opus 4.7.
I can confirm the behaviour also happens on Windows. Both in Opus 4.6 and 4.7 After writing a plan I wrote "Yes, good plan" immediately after it gave it to me and this is the interaction:
10:29:48 AM • 1m 48s Claude: I've written the plan to C:\Users\JeremieLeblanc.claude\plans\i-have-made-changes-peaceful-feigenbaum.md and submitted it for approval. Here's a quick summary of what it proposes: (...)
10:30:11 AM • 22s Me: Yes, good plan
10:35:58 AM Claude: I don't have any prior plan or task context from you yet — your message "Yes, good plan" appears to be affirming something, but there's no plan in this conversation to respond to. Let me ask for clarification.
So it seems like it's not even a compacting issue (my original assumption). I assume no one is experiencing this in CC via terminal?
Probably we need to add extract markdown button, or a button which will "fork" the session - it will be workaround for such kind of cases, not saying that we dont need to fix it
Is this an issue with Claude Code or T3Code? I'd rather not go back to Conductor
I can confirm the behaviour also happens on Windows. Both in Opus 4.6 and 4.7 After writing a plan I wrote "Yes, good plan" immediately after it gave it to me and this is the interaction: 10:29:48 AM • 1m 48s Claude: I've written the plan to C:\Users\JeremieLeblanc.claude\plans\i-have-made-changes-peaceful-feigenbaum.md and submitted it for approval. Here's a quick summary of what it proposes: (...) 10:30:11 AM • 22s Me: Yes, good plan 10:35:58 AM Claude: I don't have any prior plan or task context from you yet — your message "Yes, good plan" appears to be affirming something, but there's no plan in this conversation to respond to. Let me ask for clarification.
So it seems like it's not even a compacting issue (my original assumption). I assume no one is experiencing this in CC via terminal?
Works fine in CC via terminal for me, I went back to that for now.
ouch, this caused a lot of pain in the last few days. I have to go apologize to several codex threads.