Skip to content

Add session rename command to CLI - #12236

Open
umago wants to merge 1 commit into
aaif-goose:mainfrom
umago:session-rename-cmd
Open

umago wants to merge 1 commit into
aaif-goose:mainfrom
umago:session-rename-cmd

Conversation

@umago

@umago umago commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Fixes: #12235

Important

Goose follows an issues-first contribution process. Before opening an external pull request, make sure the linked issue is on the Goose Issues board with the Ready status. Pull requests for issues in Inbox, Needs info, or Accepted / design are not ready for implementation. PRs without a linked issue or an issue in the wrong state can be closed with a one-liner "no correct issue".

Summary

Introduces goose session rename allowing users to rename a session by ID or via interactive session selection.

The underlying SessionUpdateBuilder::user_provided_name already existed, so no new storage layer was needed.

Testing

  1. Open a new session
  2. Run goose session rename --session-id --new-name "New session name" or
    2b. Run goose session rename --new-name "New session name", and chose the session in the interactive selection

Related Issues

Discussion: LINK (if any)

Screenshots/Demos (for UX changes)

Before: N/A

After:

$ ./target/debug/goose session rename --new-name "Goose: Session working dir"
◇ Select a session to export:
│ 2026-09-18 18:31:14 UTC - Goose session filepath (20260918_1)

Session 20260918_1 renamed to 'Goose: Session working dir'.

Introduces `goose session rename` allowing users to rename a session by
ID or via interactive session selection.

The underlying SessionUpdateBuilder::user_provided_name already existed,
so no new storage layer was needed.

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
@umago
umago requested a review from a team as a code owner September 18, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"goose session rename" CLI command

1 participant