[FEATURE] Rewind should checkpoint Plan and Q&A Tool uses
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Currently, rewind captured the dialog steps, but not plan acceptance/rejection steps in planning mode or Q&A entries.
Proposed Solution
Would be great to be able to rewind to where the plan was presented and chance the accept/reject answer, or to where Q&A happened and give a different answer.
Alternative Solutions
No response
Priority
Medium - Would be very helpful
Feature Category
Interactive mode (TUI)
Use Case Example
No response
Additional Context
This was originally reported as #8995 that was incorrectly closed by buggy github-actions (see #16497)
After I originally reported this, I realized that this is more important than I originally thought - I had an instance where Claude Code was stopped waiting for me to approve/disapprove it plan, and I killed and restated it (rebuilt the dev container it was in) just to realize that resuming the session placed me to the last checkpoint before the plan was created :(
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/8995
- https://github.com/anthropics/claude-code/issues/18141
- https://github.com/anthropics/claude-code/issues/10095
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
Use case: Re-answering planning Q&A after seeing the generated plan
When Claude uses AskUserQuestion during plan mode to clarify requirements, those Q&A exchanges should be rewindable checkpoints — just like regular conversation turns.
Concrete scenario:
- Claude asks "Which authentication method?" → I answer "JWT"
- Claude generates a plan based on JWT
- I realize I should have said "session-based"
- Currently: must start a new session and lose all context
- Expected: rewind to step 1, re-answer, get revised plan
What I'd expect:
- Each
AskUserQuestioncall (and its answer) is a rewind point ExitPlanMode(plan approval) is also a rewind point- Rewinding to a Q&A step re-presents the question for a different answer
- The plan regenerates from the new answer
Related to #22024 — both cases share the same root: the planning phase isn't treated as a rewindable checkpoint sequence.
Priority: Medium-high. It's the difference between plan mode being a one-shot interaction vs. a genuine iterative design tool.