You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] disappearing recent conversation after /compact or auto-compact #8962
I have searched existing issues and this hasn't been reported yet
This is a single bug report (please file separate reports for different bugs)
I am using the latest version of Claude Code
What's Wrong?
/compact or auto-compact is making latest response and some times parts of a response disappear. This is happening always.
What Should Happen?
latest responses just before compaction should exist for user's (my) context and never disappear. In the attached image, everything after "Problems:" disappeared, leaving me guessing !
Error Messages/Logs
Steps to Reproduce
Read the message produced by claude code
just let claude code auto-compact or type /compact
Just came here to report this as well. When you execute /compact, the screen clears and at least the last command is lost. Note that Claude Code made the suggestion to compact, and I blindly lost my detailed plan.
Yes! It is super annoying and makes navigation through recent conversations almost useless. In addition to that, you can’t actually rewind through the model messages, only through the user messages. But even more, only the messages sent when the agent was idle, yeah. So even if you queue your message within the conversation, you aren’t able to rewind to it. So this overall navigation is really broken. Anthropic, please fix that. I beg you.
Yes! I figured that pressing key up I have access to all message I have sent in PowerShell, so I'm sending Claude my last message when there's an important talk in the middle, and Claude talks again in the right conversation, leaving the "todo list" for later...
My case was very severe. When the Compact forced me to hit escape twice and I had to move to a conversation point 3 placed up, the compact process deleted all the documentation files and the json files that were created during a 1.5 hours session.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
mrconway commentedon Oct 5, 2025
Just came here to report this as well. When you execute /compact, the screen clears and at least the last command is lost. Note that Claude Code made the suggestion to compact, and I blindly lost my detailed plan.
art-shen commentedon Oct 5, 2025
Yes! It is super annoying and makes navigation through recent conversations almost useless. In addition to that, you can’t actually rewind through the model messages, only through the user messages. But even more, only the messages sent when the agent was idle, yeah. So even if you queue your message within the conversation, you aren’t able to rewind to it. So this overall navigation is really broken. Anthropic, please fix that. I beg you.
JoMiPeCa commentedon Oct 6, 2025
Yes! I figured that pressing key up I have access to all message I have sent in PowerShell, so I'm sending Claude my last message when there's an important talk in the middle, and Claude talks again in the right conversation, leaving the "todo list" for later...
-This bug is annoying...
(Im on Windows with 2.0.5 )
devdutta commentedon Oct 12, 2025
My case was very severe. When the Compact forced me to hit escape twice and I had to move to a conversation point 3 placed up, the compact process deleted all the documentation files and the json files that were created during a 1.5 hours session.
github-actions commentedon Dec 7, 2025
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
github-actions commentedon Jan 9, 2026
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
github-actions commentedon Jan 16, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.