Feature Request: Filter sessions by working directory (pwd)
Resolved 💬 3 comments Opened Dec 11, 2025 by passwordless-OTP Closed Feb 10, 2026
Problem
When resuming chat sessions with --resume or /resume, all conversations are shown globally. In multi-project environments, this creates cognitive load and makes it hard to find project-specific sessions.
Expected Behavior
Option to view only chat sessions that were started in the current working directory (or project root where CLAUDE.md exists).
Proposed Solutions
- Add
--localor--project-onlyflag to--resume - Add filter option in interactive session picker
- Store and respect pwd context when storing sessions
Use Case
Developer working across multiple projects:
cd /project/securify-app
claude --resume --local # Shows only sessions from this directory
cd /project/other-app
claude --resume --local # Shows only sessions from other-app
Current Behavior
- Sessions are stored globally
- pwd is not captured or used for filtering
- No way to quickly find project-relevant sessions
Additional Context
Sessions already preserve conversation history and tool state. Could extend to preserve and filter by pwd.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗