Skip to content

[BUG] disappearing recent conversation after /compact or auto-compact #8962

Closed as not planned

Description

@usorama

Preflight Checklist

  • 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.

Image

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

  1. Read the message produced by claude code
  2. just let claude code auto-compact or type /compact
  3. see parts of the last output missing.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

< 2.0.0

Claude Code Version

2.0.8

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

Activity

  1. mrconway commented on Oct 5, 2025

    @mrconway

    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.

  2. art-shen commented on Oct 5, 2025

    @art-shen

    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.

  3. JoMiPeCa commented on Oct 6, 2025

    @JoMiPeCa

    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 )

  4. devdutta commented on Oct 12, 2025

    @devdutta

    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.

  5. github-actions commented on Dec 7, 2025

    @github-actions

    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.

  6. github-actions commented on Jan 9, 2026

    @github-actions

    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.

  7. github-actions commented on Jan 16, 2026

    @github-actions

    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.

  8. locked as resolved and limited conversation to collaborators on Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreautocloseIssue will be closed automaticallybugSomething isn't workinghas reproHas detailed reproduction stepsmemoryplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions