You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Cloud SessionsArea: what it touches
ImprovementsKind: in v2.1.324,
ImprovementsSection of the release
What
In cloud sessions, Claude Code now checks that the session's folders, and the folders above them, are ordinary directories. It does this before the session starts and again before the post-session hook runs. A hook is a command set to run at a given point. If a folder fails the check, the hook does not run and an error is logged. Before, one simpler check ran and the hook ran without it.
Why
This guards against a folder being swapped for a shortcut (a symbolic link) that points somewhere else.