[BUG] The claude for /resume broke following links

Status Fixed / completed
Reported on v2.1.145
Maintainer reply None cached
Activity 3 comments · opened May 20, 2026 · 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 ↗

3 Comments

github-actions[bot] · 4 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/46342
  2. https://github.com/anthropics/claude-code/issues/59393
  3. https://github.com/anthropics/claude-code/issues/47584

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

datacompboy · 4 months ago

Yes, #46342 seems to be the same issue -- but it did worked for me last week, broken after update today...

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.