Skip to content

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

Open

Description

@mu88

Describe the bug

A session name set manually via /rename <name> 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

Activity

  1. changed the title [-]Manual /rename is overwritten by later auto-generated session name[/-] [+]Manual `/rename` is overwritten by later auto-generated session name[/+] on Apr 10, 2026
  2. added
    area:sessionsSession management, resume, history, session picker, and session state
    on Apr 16, 2026
  3. added theissue type on Apr 16, 2026
  4. fotgs commented on Aug 18, 2026

    @fotgs

    how is this not fixed yet? this is disgustingly annoying. in what universe would this be the expected behavior? I rename the session once because I want to have a certain title, never over-write it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sessionsSession management, resume, history, session picker, and session state

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions