Feature request: /resume and /session should support filtering by current working directory
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
Describe the feature or problem you'd like to solve
Currently, /resume and /session list ALL sessions across every project/directory I've ever worked in, with no way to scope the list to the current repo/cwd. This makes it hard to find the right session to resume when I have many sessions across different projects.
Proposed solution
Requested behavior:
• By default, /resume and /session should show only sessions started in (or associated with) the current working directory / repo.
• Provide a flag or toggle (e.g. /resume --all ) to view sessions from all directories when needed.
• Same behavior for copilot --resume from the CLI flag.
This would make session resumption much faster and less error-prone for users who work across multiple repositories.
Example prompts or workflows
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the /resume and /session commands and the copilot --resume CLI entry point, then inspect how sessions record or match their working directory. Done means the default lists only sessions for the current directory or repo, while an explicit all-sessions option preserves the broader view across all three entry points.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100