claude-code - 💡(How to fix) Fix /resume picker shows sessions from all directories instead of filtering to current working directory [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#46688Fetched 2026-04-12 13:35:39
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
2
Author
Timeline (top)
cross-referenced ×4labeled ×3commented ×1
RAW_BUFFERClick to expand / collapse

Bug Description

The /resume picker is showing conversations from all projects/directories instead of filtering to only show sessions from the current working directory.

Expected Behavior

When running /resume from /Users/me/projects/zrgdd, only sessions that were started in that directory (or its git worktrees) should appear in the picker.

Actual Behavior

Sessions from unrelated project directories appear in the picker — e.g., sessions from PartnerConnect, linkedin-workspace, and the projects/ root all show up when launched from an unrelated zrgdd directory.

Additional Issue: computer-use MCP permissions

Unrelated but worth noting: when the computer-use MCP server requests macOS Accessibility and Screen Recording permissions, it shows up as "python3.14" in System Settings > Privacy & Security. There is no indication that "python3.14" is associated with Claude Code or computer-use. Users have no way to know they need to grant permissions to "python3.14" to enable computer use. It should identify itself as "Claude" or "Claude Computer Use."

Environment

  • macOS Darwin 25.3.0
  • Claude Code CLI
  • Claude Opus 4.6

extent analysis

TL;DR

The /resume picker needs to be modified to filter sessions based on the current working directory.

Guidance

  • Verify the current implementation of the /resume picker to understand how it retrieves sessions, as it seems to be fetching sessions from all projects/directories instead of the intended current working directory.
  • Check the configuration or code that determines the scope of sessions to be displayed in the picker, looking for any parameters or settings that might control directory filtering.
  • Consider modifying the /resume command to accept an optional directory parameter or to automatically detect and filter by the current working directory.
  • Investigate how the picker constructs its list of sessions to display, ensuring it correctly filters out sessions from unrelated directories.

Example

No specific code example can be provided without more details on the implementation, but the fix might involve modifying a function that retrieves sessions to include a filter based on the directory path.

Notes

The solution may require changes to the Claude Code CLI or its interaction with the operating system to correctly identify the current working directory and filter sessions accordingly. Additionally, addressing the unrelated issue of MCP permissions requires modifying how the "python3.14" process identifies itself to the system, potentially involving changes to how the Claude Computer Use service is registered or presented to the user.

Recommendation

Apply a workaround by manually filtering sessions based on directory until a permanent fix can be implemented, as upgrading to a fixed version is not mentioned as an option in the provided issue context. This approach allows for some functionality while awaiting a more comprehensive solution.

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