What's wrong with this entry?
When exiting a git worktree, if the original working directory no longer exists (e.g., it was deleted while Claude was running in the worktree), Claude now tries fallback locations in order: the original worktree path, the home directory, and the process root. A clear message is shown:
The original directory /path/to/old-dir no longer exists, so the session is now in /home/user.
Consider restarting Claude from an existing directory.
If the fallback landed back in the worktree itself, the suggestion to restart is omitted.
Recovery message (search for "The original directory") and log entry (search for "ExitWorktree: original directory")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.