[BUG] /rewind does not work natively on Windows (powershell)

Status Fixed / completed
Maintainer reply ✓ Yes — hackyon-anthropic
Activity 11 comments · opened Oct 3, 2025 · closed Oct 6, 2025
💡 Likely answer: A maintainer (hackyon-anthropic, collaborator) responded on this thread — see the highlighted reply below.

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

/rewind slash command on Windows doesn't return the code to the selected point

What Should Happen?

/rewind slash command on Windows reverts the code to the selected point, as stated in the CC documentation

Error Messages/Logs

Steps to Reproduce

Start claude code in interactive mode, do some code changes via multiple prompts, try to /rewind and select a previous point. CC won't revert the code changes.

Claude Model

Other

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.0.5 (Claude Code)

Platform

Other

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

11 Comments

hackyon-anthropic collaborator · 11 months ago

hey @nikitakot - is this consistently reproducible for you? Are you running in WSL (or WSL2) or native (git bash)?

hackyon-anthropic collaborator · 11 months ago

if you're running in WSL, any chance you can run claude -d2e 2> >(grep -i FileHistory > rewind.log) to get the logs while you try and reproduce the issue? you can check rewind.log first to make sure there's no sensitive info before sharing the logs

nikitakot · 11 months ago
hey @nikitakot - is this consistently reproducible for you? Are you running in WSL (or WSL2) or native (git bash)?

@hackyon-anthropic no, i'm running natively on Windows, Powershell Core via Windows Terminal with git bash. It's consistent.

hackyon-anthropic collaborator · 11 months ago

Can you provide a repro video or the logs with claude -d2e 2> >(grep -i FileHistory > rewind.log)? I'm not able to repro, and this is the first report of it not working.

hackyon-anthropic collaborator · 11 months ago

Also, do you see a confirmation dialog that asks you if you want to restore both code and conversation?

nikitakot · 10 months ago

@hackyon-anthropic

Also, do you see a confirmation dialog that asks you if you want to restore both code and conversation?

no, i don't

Can you provide a repro video or the logs with claude -d2e 2> >(grep -i FileHistory > rewind.log)? I'm not able to repro, and this is the first report of it not working.

will collect when i'll be near the PC, but this command you provided will obviously not work, I'm running claude in powershell, the command is shell syntax, just making sure we're on the same page

hackyon-anthropic collaborator · 10 months ago

Sounds like it hasn't been enabled for you yet. The feature is behind a flag, so if you are on Bedrock/Vertex or otherwise have network traffic blocker or proxy set up, then it could have trouble updating the flag.

I'll be removing the flag this week and it should just be enabled regardless of whatever setup you may have

nikitakot · 10 months ago

@hackyon-anthropic how can i force refresh these feature flags? i tried now my setup in an isolated environment and /rewind works as expected, but it doesn't work on my main machine

nikitakot · 10 months ago

@hackyon-anthropic does CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC somehow affects these feature flags?

github-actions[bot] · 10 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

hackyon-anthropic collaborator · 10 months ago

@nikitakot

Yup, the CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC should block it. With that said, I took out the flags now and it should work as soon as you update!