-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Auto-rename session on exit #2546
Copy link
Copy link
Open
Labels
area:configurationConfig files, instruction files, settings, and environment variablesConfig files, instruction files, settings, and environment variablesarea:sessionsSession management, resume, history, session picker, and session stateSession management, resume, history, session picker, and session state
Metadata
Metadata
Assignees
Labels
area:configurationConfig files, instruction files, settings, and environment variablesConfig files, instruction files, settings, and environment variablesarea:sessionsSession management, resume, history, session picker, and session stateSession management, resume, history, session picker, and session state
Type
Fields
Give feedbackNo fields configured for Feature.
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