Mac desktop app hard-blocks session when working directory is deleted
Resolved 💬 1 comment Opened Apr 29, 2026 by wdewing Closed May 30, 2026
Summary
When the working directory of an existing Claude Code session no longer exists (e.g. the folder was deleted, moved, or renamed), the Mac desktop app shows a hard error and blocks the entire session with no recovery path.
Error message shown
Working directory no longer exists: /path/to/folder. The folder may have been moved, deleted, or unmounted.
Steps to reproduce
- Open a Claude Code session in the Mac desktop app with a working directory set to a local folder.
- Delete or move that folder in Finder or Terminal while the session exists.
- Attempt to send a message in that session.
Expected behavior
The app should gracefully handle this case — for example:
- Prompt the user to select a new working directory, or
- Fall back to the home directory with a warning, or
- Allow the session to continue in a read-only/no-directory mode
Actual behavior
The session is completely blocked with an error. The only workaround is to recreate the deleted folder at the original path so the session can reopen.
Environment
- Platform: macOS
- App: Claude Code desktop app
Additional context
This is a disruptive UX issue — users who reorganize their project folders lose access to session history and context with no in-app recovery option.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗