Skip to content

Feature Request: Persist session directory configuration #1740

@liang2zhu1

Description

@liang2zhu1

Describe the feature or problem you'd like to solve

(Generated by Agency itself) Allow persisting /cwd and /add-dir paths in a config file (e.g., ~/.copilot/config.json) so they are automatically applied on session start. This would save setup time for developers who consistently work across multiple directories

Proposed solution

(Generated by Agency itself)

Developers rarely work in a single directory. Most have a primary codebase plus shared utility libraries, internal tools, or reference repos they regularly pull from. Having to re-configure this layout every session adds friction and breaks the "just launch and go" experience. Persisting directory config would make Copilot CLI feel like
it truly knows your workspace — not just the folder you happened to cd into. It reduces onboarding time per session from ~30 seconds of setup commands to zero, which compounds across dozens of daily sessions.

Example prompts or workflows

To avoid every time I start from C:\Foo and manually add-dir C:\bar

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions