claude-code - 💡(How to fix) Fix Rewind + "Summarize from here" drops pre-rewind messages instead of preserving them [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47987Fetched 2026-04-15 06:36:37
View on GitHub
Comments
1
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×4commented ×1

Using Rewind → "Summarize from here" with auto-compact disabled caused all pre-rewind messages to be dropped entirely from the conversation, while only the post-rewind messages were summarized. The dialog text states "Messages after this point will be summarized", implying pre-rewind content should be preserved verbatim. That is not what happened.

Additionally, after the summarization completed, the rewind history was cleared. I could not rewind again to recover the lost content.

Root Cause

Using Rewind → "Summarize from here" with auto-compact disabled caused all pre-rewind messages to be dropped entirely from the conversation, while only the post-rewind messages were summarized. The dialog text states "Messages after this point will be summarized", implying pre-rewind content should be preserved verbatim. That is not what happened.

Additionally, after the summarization completed, the rewind history was cleared. I could not rewind again to recover the lost content.

RAW_BUFFERClick to expand / collapse

Summary

Using Rewind → "Summarize from here" with auto-compact disabled caused all pre-rewind messages to be dropped entirely from the conversation, while only the post-rewind messages were summarized. The dialog text states "Messages after this point will be summarized", implying pre-rewind content should be preserved verbatim. That is not what happened.

Additionally, after the summarization completed, the rewind history was cleared. I could not rewind again to recover the lost content.

Expected behavior

Per the dialog text "Messages after this point will be summarized":

  • Pre-rewind messages: preserved verbatim in context
  • Post-rewind messages: replaced by a summary

Actual behavior

  • Pre-rewind messages (~20% of 1M context, an entire workstream): dropped, not preserved, not summarized
  • Post-rewind messages (~20% of context): summarized correctly
  • Rewind history cleared. "Restore conversation" on the same rewind point was no longer available; session appeared to start fresh

Environment

  • Auto-compact: disabled (confirmed via /config, see screenshot)
  • Context window: 1M (Opus 4.6)
  • Platform: macOS (darwin 25.3.0)
  • Session ID: 267c208d-a402-4442-b57c-d55e50f07acf

Impact

Lost ~20% of 1M context of substantive work (an onboarding workstream for a new contractor, including email drafts, document writes, Q&A). Recovered manually by parsing the session JSONL on disk, which still contained the full history. So the underlying log is intact; the bug is in how "Summarize from here" mutated the conversation state.

Reproduction (best guess)

  1. Have a long session (~40%+ of context used).
  2. Rewind to a point roughly halfway through.
  3. Choose "Summarize from here" instead of "Restore conversation".
  4. Observe that pre-rewind content is gone rather than preserved.

Unclear whether total session length, rewind depth, or something else is the trigger. Only observed once so far.

Notes

Prior uses of "Summarize from here" (per user recollection) worked as the dialog describes: pre-rewind preserved, post-rewind summarized. This session was the first time the behavior inverted.

extent analysis

TL;DR

Disabling auto-compact and using "Summarize from here" may cause pre-rewind messages to be dropped, so a workaround is to enable auto-compact or use "Restore conversation" instead.

Guidance

  • Verify that auto-compact is disabled by checking the /config settings to confirm that this is the cause of the issue.
  • Try using "Restore conversation" instead of "Summarize from here" to preserve the pre-rewind messages.
  • If the issue persists, attempt to reproduce the problem with different session lengths and rewind depths to identify the trigger.
  • Consider parsing the session JSONL on disk to recover lost content, as the underlying log may still be intact.

Example

No code snippet is provided as the issue does not involve code, but rather a specific feature interaction.

Notes

The exact cause of the issue is unclear, and it may be related to the session length, rewind depth, or other factors. Further testing is needed to determine the root cause.

Recommendation

Apply workaround: Use "Restore conversation" instead of "Summarize from here" when auto-compact is disabled, as this may help preserve pre-rewind messages.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Per the dialog text "Messages after this point will be summarized":

  • Pre-rewind messages: preserved verbatim in context
  • Post-rewind messages: replaced by a summary

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Rewind + "Summarize from here" drops pre-rewind messages instead of preserving them [1 comments, 1 participants]