[BUG] I'm getting an error about a directory that no longer exists, every time I start a session
Resolved 💬 3 comments Opened Oct 10, 2025 by edruder-block Closed Oct 14, 2025
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?
Every time I start a session, I get an error message at the very top of the session (above the Claude Code icon/logo):
Path /Users/ed/foo/ was not found
I've asked Claude for help many times, but everything it tried did not clear this error message.
- At some point I had added this directory using
/add-dir - At some point, this directory was part of a
git worktree
What Should Happen?
I shouldn't get an error.
Error Messages/Logs
Steps to Reproduce
Launch claude
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.0.13
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗