Claude Code now detects when its working directory has been deleted and shows a clear error: Working directory "..." no longer exists. Please restart Claude from an existing directory.
Evidence
Error message (search for "no longer exists. Please restart")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.