You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
ImprovementsKind: in v2.1.329,
ImprovementsSection of the release
Unclear It is not clear which folder counts as a previous folder.
What
Claude runs shell commands through its Bash tool. Each command runs from a working folder. If a command leaves Claude in a folder it is not allowed to work in, Claude Code resets the folder. There is now an exception: when the folder matches a previous-folder condition, it is kept, even if it is outside the allowed folders. Claude Code also records when this happens.
Why
This can change when the shell stays where a command left it and when it jumps back.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which folder counts as a previous folder.