claude-code - 💡(How to fix) Fix [BUG] new sessions include folders from prior sessions! [1 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#48201Fetched 2026-04-15 06:30:17
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

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 starting a new session, the folder that was being worked on in the prior session is included and there is NO WAY to remove it. This started happening after the last update to the desktop app on Mac OSX

What Should Happen?

Claude should prompt for a folder when starting a new session. It should be possible to remove a folder from the current session as well!!!

Error Messages/Logs

Steps to Reproduce

  1. start a session
  2. add a folder
  3. work on it a bit
  4. start a new session

you will see that you are no longer prompted for a folder and the one from the previous session is still there with no way to remove

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude 1.2581.0 (f10398) 2026-04-14T17:16:40.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can likely be mitigated by resetting the session settings or waiting for an update that reverts the change causing the folder to persist across sessions.

Guidance

  • Verify that the issue is specific to the Mac OSX desktop app and the Sonnet model by trying to reproduce it on a different platform or with a different model.
  • Check if there are any session settings or preferences that can be reset to default, which might remove the persisted folder.
  • Try to manually remove the folder by editing any relevant configuration files or database entries, if accessible.
  • If the issue is confirmed to be a regression, consider reaching out to the development team for a potential fix or workaround.

Example

No code snippet is provided as the issue does not imply a specific code-related fix.

Notes

The exact cause of the issue is unclear, but it seems to be related to a change in the desktop app's behavior after an update. Without more information about the app's internal workings or access to the codebase, providing a definitive fix is challenging.

Recommendation

Apply workaround: Given the information provided, the best course of action seems to be to wait for an update that addresses this regression or to find a way to reset the session settings to prevent the folder from being carried over to new sessions.

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