/resume shows sessions from all directories instead of current directory (regression in 2.1.98-2.1.101)

Status Fixed / completed
Reported on v2.1.101
Maintainer reply ✓ Yes — mhegazy
Activity 9 comments · opened Apr 11, 2026 · closed Apr 13, 2026
💡 Likely answer: A maintainer (mhegazy, contributor) responded on this thread — see the highlighted reply below.

Bug Report

Description

The /resume command no longer scopes sessions to the current working directory. Instead, it shows sessions from all directories. This is a regression — the behavior worked correctly in v2.1.97.

Steps to Reproduce

  1. Have multiple Claude Code projects in different directories (each with their own sessions)
  2. cd into a specific working directory
  3. Start Claude Code and run /resume
  4. Expected: Only sessions from the current directory are listed
  5. Actual: Sessions from ALL directories are listed

Environment

  • Broken versions: 2.1.101 (confirmed), likely 2.1.98–2.1.100 as well
  • Working version: 2.1.97 (confirmed fix by rolling back)
  • OS: Linux (Ubuntu, kernel 6.8.0-107-generic)
  • Working directory type tested: non-git directory, and also git-initialized directory (both broken on 2.1.101)

Additional Notes

  • Rolling back to 2.1.97 immediately restores the correct per-directory scoping behavior
  • The regression likely relates to the worktree /resume fix introduced in v2.1.100 ("Fixed --resume from worktrees")
  • Workaround: downgrade to 2.1.97 via ln -sf ~/.local/share/claude/versions/2.1.97 ~/.local/bin/claude

View original on GitHub ↗

9 Comments

github-actions[bot] · 4 months ago

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/46445
  2. https://github.com/anthropics/claude-code/issues/46622

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

northfacejmb · 4 months ago

I'm having the same issue. quick fix is in the resume picker hit ctr + a and it'll scope it to the current folder

mhegazy contributor · 4 months ago

This was an intentional change. we have got a lot of feedback for folks not finding sessions. As of v2.1.100 we now show all projects and all worktrees by default. To filter current project use Ctrl+A and to filter only current worktree use Ctrl+T

stainlu · 4 months ago

Thanks @mhegazy — crossed wires, my comment landed a minute after yours. Good to know this was an intentional call and that Ctrl+A / Ctrl+T are the filters; I'll use them.

Sharing the workflow datapoint anyway since it cuts the other direction from the feedback you mentioned:

My setup is one terminal window per project (multi-window layout, each cd'd into its own repo). Before v2.1.100, claude --resume in each window already showed only that project's sessions, so picking the right one was instant. Post-change, every window opens with the same ~50+ global list and I now hit Ctrl+A in each window to get back to the per-project view I used to have by default.

Not asking for a revert — the "can't find my session after cd'ing around" case is real and I get why you changed the default. But would you consider exposing this as a user setting, e.g. resumePickerScope: "cwd" | "worktree" | "all" (default "all")? That way both workflows get a good out-of-the-box experience, and users who run one window per project don't pay a hotkey tax on every resume.

mhegazy contributor · 4 months ago

Thanks for the feecback. Let's use https://github.com/anthropics/claude-code/issues/46549 for tracking

econbernardo · 4 months ago

Pressing Crtl + A for me shows a blank list of options, even though if I scroll manually without this filter I can find sessions related to that directory.

jerichozis · 4 months ago

I cannot find sessions which i have two weeks ago. It seems that cmd+a showing only those which are in count of last 50.

rulatir · 4 months ago
I cannot find sessions which i have two weeks ago. It seems that cmd+a showing only those which are in count of last 50.

That would be an extremely serious regression, making something previously possible completely impossible.

github-actions[bot] · 4 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.