/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
Workaround ✓ Mentioned in description ↑
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
- Have multiple Claude Code projects in different directories (each with their own sessions)
cdinto a specific working directory- Start Claude Code and run
/resume - Expected: Only sessions from the current directory are listed
- 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
/resumefix introduced in v2.1.100 ("Fixed--resumefrom worktrees") - Workaround: downgrade to 2.1.97 via
ln -sf ~/.local/share/claude/versions/2.1.97 ~/.local/bin/claude
9 Comments
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
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
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+Aand to filter only current worktree useCtrl+TThanks @mhegazy — crossed wires, my comment landed a minute after yours. Good to know this was an intentional call and that
Ctrl+A/Ctrl+Tare 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 --resumein 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 hitCtrl+Ain 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.Thanks for the feecback. Let's use https://github.com/anthropics/claude-code/issues/46549 for tracking
Pressing
Crtl + Afor me shows a blank list of options, even though if I scroll manually without this filter I can find sessions related to that directory.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.
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.