github / github/copilot-cli

Manual `/rename` is overwritten by later auto-generated session name

Open
#2,622 1 comment 1 reaction 0 assignees View on GitHub
area:sessions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

A session name set manually via `/rename ` does not persist reliably. After continuing to work in the same session, Copilot CLI auto-renames the session again and overwrites the user-defined name.

### Affected version

GitHub Copilot CLI 1.0.22

### Steps to reproduce the behavior

1. Start a new Copilot CLI session.
2. Run `/rename my-name`.
3. Continue working in the same session for a while.
4. Check the session name again, or try to find it later in `/resume`.

### Expected behavior

A manually assigned session name should remain unchanged until the user explicitly renames it again.

### Additional context

- Actual behavior: the manual name is replaced by an automatically generated session name.
- Impact: renamed sessions become hard to find later because the expected custom name no longer exists.
- OS: Windows
- Terminal: Windows Terminal
- Shell: PowerShell

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.