claude-code - 💡(How to fix) Fix C:/Program Files/Git/resume no longer filters sessions by current directory (regression in recent versions) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46911Fetched 2026-04-12 13:29:51
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

This may be related to #41021, which requested cross-project session visibility. However, the old directory-scoped behavior was more useful as a default. A flag like --all to opt into cross-project listing would preserve both use cases.

Root Cause

This may be related to #41021, which requested cross-project session visibility. However, the old directory-scoped behavior was more useful as a default. A flag like --all to opt into cross-project listing would preserve both use cases.

RAW_BUFFERClick to expand / collapse

Bug Description

/resume previously showed only sessions from the current working directory. As of recent versions (confirmed on 2.1.104), it now shows all sessions across all directories/projects, making it difficult to find relevant sessions.

Steps to Reproduce

  1. Open Claude Code in a specific project directory
  2. Run /resume
  3. Observe that sessions from all directories are listed, not just the current one

Expected Behavior

/resume should default to showing sessions from the current directory (the old behavior), with an option/flag to show all sessions across projects if needed.

Actual Behavior

/resume shows all sessions from every project/directory.

Context

This may be related to #41021, which requested cross-project session visibility. However, the old directory-scoped behavior was more useful as a default. A flag like --all to opt into cross-project listing would preserve both use cases.

Environment

  • Claude Code version: 2.1.104
  • OS: Windows 11

extent analysis

TL;DR

The issue can be mitigated by adding a flag to the /resume command to opt-in to the old directory-scoped behavior or by exploring configuration options that may restore the previous functionality.

Guidance

  • Review the documentation for Claude Code version 2.1.104 to see if there are any configuration options or flags that can be used with the /resume command to limit the scope to the current directory.
  • Check if there are any open issues or pull requests related to #41021 that may provide insight into how to restore the old behavior.
  • Consider reaching out to the developers or community of Claude Code to request the addition of a flag, such as --current-dir or --local, to opt-in to the directory-scoped behavior.
  • Explore the possibility of downgrading to a version prior to 2.1.104 if the new behavior is severely impacting workflow, although this should be a last resort due to potential security or feature losses.

Notes

The exact solution may depend on the internal implementation of Claude Code and the specifics of the changes made in version 2.1.104, which are not fully detailed in the issue description.

Recommendation

Apply workaround: Given the information provided, the best course of action seems to be to explore workarounds such as configuration changes or using a different version, as there's no clear indication that a direct fix is available in version 2.1.104.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING