Project list shows deleted projects that cannot be removed

Resolved 💬 11 comments Opened Mar 30, 2026 by mahirbarut Closed Jun 12, 2026

Bug Description

When a project folder is deleted from disk, the project continues to appear in the project switcher dropdown and cannot be removed.

Steps to Reproduce

  1. Open any project in Claude Code
  2. Delete the project folder from disk
  3. Reopen Claude Code — the deleted project still appears in the project list

Expected Behavior

Deleted projects should be removed from the list automatically, or there should be a way to manually remove individual projects from the list.

What I Tried

  • The entry is not present in ~/.claude.json or ~/.claude/projects/
  • Deleting ~/Library/Application Support/Claude/Local Storage/leveldb/ clears the list but also resets UI settings (theme etc.)
  • Even after clearing leveldb, the ghost project reappears after relaunch

Platform

macOS 15.3, Claude Code desktop app

View original on GitHub ↗

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