Preflight Checklist
What's Wrong?
After Esc-Esc and going back to an earlier prompt, the cwd is not reverted, so Claude gets understandably confused.
What Should Happen?
Going back to an earlier prompt should go back to the earlier cwd
Error Messages/Logs
Steps to Reproduce
- Ask Claude something that would result in it switching to a subdirectory to work there.
- Interrupt it.
- Esc-Esc
- Go back to earlier prompt form before it changes directory
- Ask it to do something
Expected: no issues, it's in the right directory
Actual: it gets confused as it tries to access the files and they are not there
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
1.0.115
Platform
Other
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
No response
Preflight Checklist
What's Wrong?
After Esc-Esc and going back to an earlier prompt, the cwd is not reverted, so Claude gets understandably confused.
What Should Happen?
Going back to an earlier prompt should go back to the earlier cwd
Error Messages/Logs
Steps to Reproduce
Expected: no issues, it's in the right directory
Actual: it gets confused as it tries to access the files and they are not there
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
1.0.115
Platform
Other
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
No response