You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WindowsArea: what it touches
Bug FixesKind: in v2.1.281,
Bug FixesSection of the release
What
CLAUDE_CODE_SHELL_PREFIX is an environment variable that puts a command in front of shell commands Claude Code runs. Hooks marked to run on your device for a cloud session are checked before they use it, and those checks now handle Windows paths:
Drive paths like C:\..., backslashes, and drive-letter lists of paths are recognised.
Drive-relative paths like C:foo and unquoted backslashes are treated as impossible to verify.
The check of folders the command may write to now includes Windows folders, and on Windows any folder it cannot place makes it fall back to the cautious choice.
When the check fails, those hooks run without the prefix. Folder comparisons also split on either kind of slash on Windows.
Why
On Windows, the decision about whether your prefix can safely be used for cloud device hooks is now based on correctly read paths, and anything unclear leads to the hooks running without it.