You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Add /rewind command to roll back conversation to a specific point #29980
During long coding sessions, the conversation may go in a wrong direction. Currently /undo reverts file changes, but the full conversation history (including the wrong direction) remains in context. This wastes context window space and can mislead the agent in subsequent responses.
Proposed Solution
Add a /rewind command that allows the user to roll back the conversation history to a specific point (similar to Claude Code's rewind feature).
Expected behavior
Running /rewind shows a list of conversation checkpoints (e.g., each user message or tool invocation)
The user selects a checkpoint to rewind to
All conversation history after that checkpoint is removed from the context
File changes made after that checkpoint are reverted
The user can then continue the conversation from that point with a corrected prompt
Benefits
Reduces context usage — removes unnecessary conversation history from a wrong direction
Avoids misleading context — the agent won't be influenced by prior incorrect attempts
Better than /undo — /undo only reverts the last change and keeps the full conversation in context; /rewind truncates conversation history entirely
Feature requests must have a title starting with [FEATURE]: (current title: "Feature request: Add /rewind command to roll back conversation to a specific point")
Feature requests must include the verification checkbox confirming the feature hasn't been suggested before
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
feature: ability to rewind #338: "feature: ability to rewind" — nearly identical request for rewinding conversation history and file changes to a prior point
Activity
github-actions commentedon May 30, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:(current title: "Feature request: Add /rewind command to roll back conversation to a specific point")Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
/rewindcommand as one of the proposed featuresNote: The TUI already has a
/timelinecommand that may cover some of this functionality (mentioned in #25402).If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon May 30, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.