[BUG] The claude for /resume broke following links

Resolved 💬 3 comments Opened May 20, 2026 by datacompboy Closed May 20, 2026

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?

When ~/.claude/projects/$projectname is a symbolic link, running

  claude --resume $session

runs fine, but

  claude --resume

says no sessions found

What Should Happen?

the claude --resume supposed to show all the sessions available under ~/.claude/projects/$projectname/*

instead, the latest claude does NOT follow the link and says no sessions found.

Error Messages/Logs

Steps to Reproduce

simple repro:
move sessions history to different location, create symlink to the location in the old place.
try to use it.

i hit this using sandbox that drops the sessions history at different location.

it worked fine last week, definitely broken today.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.145

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

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