Claude Code rewind: code, conversation and unrestored files
Choose restoration scope and inspect actual file changes and uncovered edits.
Choose restoration scopes separately · Edit origin affects restoration coverage · Inspect diffs and persisted conversation
At a glance
This page inspects one configuration or restoration contract from official documentation. No actual skill, subagent, hook or restoration was executed. Local checks use synthetic inputs and are not complete product tests.
Runtime and applicability
- Article type
- Spec file
- Verified
- Applies to
- Claude Code Applies to the documented Claude Code configuration and version contract.
- Tools
File locations
| Path | Scope | How it is read |
|---|---|---|
Claude Code 会话内 /rewind 菜单 | The configuration or session operation described here. | Read by Claude Code under the relevant loading and event contract; not enabled in this run. |
When to use
- Choose restoration scope and inspect actual file changes and uncovered edits.
When not to use
- Establish required inputs, permission scope and recovery points before execution.
Choose restoration scopes separately
Open the menu with /rewind or double Esc on an empty prompt. Restore code and conversation restores both, Restore conversation keeps current code, and Restore code keeps the conversation. Code options appear only with tracked edits after the selected point. Preserve a version-control recovery point and inspect the target first.
Edit origin affects restoration coverage
Files changed only by Bash without an earlier conversational file-tool edit are untracked. External and other-session changes are normally uncaptured, and most subagent edits are not fully restored, with different rules for foreground forked skills. Symlink and hard-link paths are skipped with a warning. A completed menu action does not establish full worktree restoration.
Inspect diffs and persisted conversation
After restoration, inspect file diffs, skipped-file warnings and conversation position. Rewound messages can return if the session exits before another prompt; the next prompt saves the rewound conversation with it. Only a synthetic restoration-scope matrix was checked, without opening the menu or undoing files. Stop further overwriting when edit ownership or restoration is uncertain.
Sources
All links are official pages; verification dates are listed per source, and links point to the version checked.