claude-code - 💡(How to fix) Fix [BUG] 2.1.101 /resume show session in other git repos / folders [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#46683Fetched 2026-04-12 13:35:48
View on GitHub
Comments
1
Participants
2
Timeline
9
Reactions
1
Author
Timeline (top)
labeled ×5cross-referenced ×3commented ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When I do a /resume claude is listing session from other folders. E.g. d:/source/MyRepo1 and d:/source/MyRepo2. It did not used to do this.

What Should Happen?

Sessions from the current folder / repo should only be shown.

Error Messages/Logs

Steps to Reproduce

  1. Start a session in one repo. Ask a question.
  2. Start a session in another repo. Ask a question.
  3. Close both session.
  4. Start a new session in the first repo.
  5. /resume shows both

Claude Model

Other

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Not sure as I don't resume that often, but it was working a recent version.

Claude Code Version

2.1.101

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

extent analysis

TL;DR

The issue can be mitigated by ensuring that sessions are properly isolated to their respective repositories, potentially by resetting or configuring session management in Claude Code.

Guidance

  • Verify that the Claude Code configuration does not have a global session setting that is causing sessions to be shared across repositories.
  • Check if there are any environment variables or settings in the Anthropic API or PowerShell that could be influencing session behavior.
  • Attempt to reset the session management in Claude Code to its default settings to see if this resolves the issue.
  • Consider testing the /resume command in a single repository to isolate if the issue is specific to multi-repository usage.

Notes

The exact cause of the issue is unclear without more information about the Claude Code configuration and the Anthropic API settings. The fact that this is a regression suggests a change in the application or its dependencies may be the root cause.

Recommendation

Apply workaround: Given the uncertainty around the root cause and the lack of a clear fix, applying a workaround such as ensuring strict repository isolation or resetting session settings seems prudent.

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