Skip to content

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

Description

@jacksonkelly01

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:desktopbugSomething isn't workingplatform:macosIssue specifically occurs on macOSstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions