Claude Code: /rewind Now Works After /clear

Claude Code

Claude Code v2.1.191 extends the /rewind checkpoint system to work after a /clear command, allowing developers to resume a conversation from before the clear was run. Previously, running /clear severed the rewind history, leaving no way to recover earlier context or code state. The update also fixes several edge cases in the --resume flag and refines how stopped background agents behave, ensuring they stay stopped permanently rather than resurrecting unexpectedly.


/rewind Gets a Long-Requested Upgrade

Claude Code's /rewind command is one of the tool's most valued safety nets: it lets developers roll back both conversation history and file changes to an earlier checkpoint, undoing a direction that went wrong without starting the session from scratch. Version 2.1.191 closes one of the most frustrating gaps in the feature.

Resuming Across /clear

Previously, running /clear would wipe the rewind history along with the conversation, making it impossible to recover earlier context or code state using /rewind. Starting with v2.1.191, the two commands coexist correctly. Developers can now run /clear to reset context mid-session (a common pattern for long-running coding sessions where the context window is getting crowded), then later use /rewind to step back to a point before the clear was run, restoring both the conversation and file state at that checkpoint.

How /rewind Works

Typing /rewind (or pressing Escape twice with an empty prompt) opens an interactive picker showing recent conversation turns. Three restoration options are available: Restore code and conversation (reverts files and removes messages after the selected point), Conversation only (removes messages but keeps file changes), and Code only (reverts files while preserving the conversation).

Stopped Background Agents No Longer Resurrect

Stopping an agent from the tasks panel is now permanent. Previously, stopped agents could resurrect unexpectedly under certain conditions, creating confusing scenarios where work thought to be canceled would continue.

Other Session Fixes

The --resume flag now handles the edge case where the original -p (non-interactive) run produced no model turns. Additionally, /voice now shows a clear explanation when an organization's policy has disabled the feature.