You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CompactionArea: what it touches
ImprovementsKind: in v2.1.324,
ImprovementsSection of the release
Unclear The remote switch is not named, so whether the save is on for anyone is unknown.
What
Compaction, for example with /compact, replaces older parts of a conversation with a summary and leaves a marker where it happened. /rewind takes the conversation back to an earlier message. Before, rewinding did nothing special about these markers.
Now, when you rewind above a compaction:
if none of the messages the compaction kept survive, the marker is dropped
otherwise the marker is rebuilt and saved to the transcript, the saved record of the session
The save only happens when a remote switch reads on and the number of kept messages is under a limit. Claude Code reports when it skipped because too many messages were kept, or when the save failed.
Why
This keeps the saved conversation consistent after you rewind past a compaction.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added sinceA small documentation edit on Customize your status line touched a line naming /compact after this was published.* **Per-component usage** (`current_usage`): the same token counts broken out by category. Use this when you need cache hits separate from fresh input. `current_usage` is `null` until the conversation has an API response, and `null` or all…statuslinesee the edit
Confirmed sinceAnthropic's documentation has since written up /rewind, on Claude Code changelog.* Changed `/rewind` on macOS, Linux and WSL to leave some files untouched and report them as skipped when the sandbox is onchangelogsee the edit
Confirmed sinceAnthropic's documentation has since written up /compact, on How Claude Code uses prompt caching.> See why a model switch triggers a slow uncached turn in Claude Code, what `/compact` costs, and how to check your prompt cache hit rate.prompt-cachingsee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe remote switch is not named, so whether the save is on for anyone is unknown.
Anthropic's documentation agreesAnthropic's documentation has since written up /compact, on How Claude Code uses prompt caching.