Cannot remove/change primary working directory, and stale folder paths are unrecoverable

Open 💬 5 comments Opened Jun 4, 2026 by jacksonkelly01

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

You're right, my mistake. Here's what to paste into each field:

Two issues with folder management in the desktop app: (1) When creating a new chat, a folder is already attached as the primary working directory and there's no way to remove it. I can only add more folders. The session gets named after the unwanted folder. (2) I moved a project folder on disk and the session that referenced it is now permanently broken — it errors with "Working directory no longer exists" and there's no way to update the path.

What Should Happen?

I should be able to remove or change the primary working directory when creating a session. Sessions with stale folder paths should let me update the path instead of being unusable.

Error Messages/Logs

Working directory no longer exists: /Users/jacksonkelly/Desktop/ai/claude/claude code/personal tools/build my plate. The folder may have been moved, deleted, or unmounted.

Steps to Reproduce

Move a project folder to a new location on disk
Open the session that referenced that folder
Try to add the folder at its new location — get the error above
For the other issue:

Create a new chat — a folder is pre-attached
Try to remove it — there's no option to

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

1.10628.2

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗