What
If the current working directory is deleted while Claude Code is running, it now recovers by changing to the nearest existing ancestor directory instead of crashing.
Details
- Logs a warning: "Original directory X no longer exists — returned to Y instead."
- Walks up the directory tree until it finds an existing path.
Evidence
New recovery logic (search for "no longer exists — returned to" or "Original directory")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.