[FEATURE] Support `--session-id` when using `--resume` and ` --fork-session`

Resolved 💬 3 comments Opened Dec 11, 2025 by benbrandt Closed Jan 12, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

--session-id allows us to pass in a custom UUID for the session, which is super helpful in programatic flows.

It makes sense that this doesn't work with --resume because we are resuming that session.

However, if we are passing --fork-session it would be great if we could choose a custom session id for that forked session. However, this isn't allowed because of validation with --resume

Proposed Solution

Allow passing a custom session id when forking an existing session.

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗