t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Claude losing earlier messages / not compacting correctly

Open benjaminalgreen opened this issue 7 months ago • 10 comments

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

  1. Begin thread with Claude 4.7 on 200K Extra High
  2. Send Claude off to do some things
  3. Claude reaches max context window
  4. Enter new prompt
  5. 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

benjaminalgreen avatar Apr 17 '26 12:04 benjaminalgreen

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.

JeremieLeblanc avatar Apr 17 '26 13:04 JeremieLeblanc

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

elkhoudiry avatar Apr 17 '26 14:04 elkhoudiry

Ahh! I thought I was going insane... this is happening for me also.

matty avatar Apr 17 '26 15:04 matty

Yes, experiencing the same thing for me

sean35mm avatar Apr 17 '26 15:04 sean35mm

Happening the same on Mac OS with Opus 4.7.

JuanTrujilloAlternova avatar Apr 17 '26 15:04 JuanTrujilloAlternova

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?

benjaminalgreen avatar Apr 17 '26 16:04 benjaminalgreen

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

akarabach avatar Apr 17 '26 16:04 akarabach

Is this an issue with Claude Code or T3Code? I'd rather not go back to Conductor

RaeesBhatti avatar Apr 17 '26 17:04 RaeesBhatti

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.

matty avatar Apr 17 '26 17:04 matty

ouch, this caused a lot of pain in the last few days. I have to go apologize to several codex threads.

lastobelus avatar Apr 21 '26 19:04 lastobelus