Skip to content

Auto-rename session on exit #2546

@priyankvora257

Description

@priyankvora257

Describe the feature or problem you'd like to solve

When closing Copilot CLI, sessions are left with default/unnamed labels unless the user manually runs /rename before exiting. This makes it hard to find and resume past sessions later, as they lack meaningful descriptions. Most users forget to rename, resulting in a list of unnamed sessions that all look the same.

Proposed solution

Add a configuration option (e.g., auto_rename_on_exit: true) that automatically triggers the /rename auto-generation
logic when the user exits the CLI via /exit, /quit, ctrl+d, or ctrl+c ×2. This would use the existing conversation-based name
generation — no user input required.

Example prompts or workflows

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions