Skip to content

fix(rc): a per-session pick matches the session id Claude Code really sends - #908

Merged
akleizor merged 1 commit into
mainfrom
fix/rc-session-header-uuid
Nov 25, 2026
Merged

akleizor merged 1 commit into
mainfrom
fix/rc-session-header-uuid

Conversation

@akleizor

Copy link
Copy Markdown
Owner

Per-session profile picks (Stark Controls, ccmorph-rc <p> --switch --session cse_...) were never applied: Claude Code's X-Claude-Code-Session-Id is a UUIDv5 of the session's --sdk-url, not the cse_ id. session_target now matches the header against each session file's derived id. Test pins a real pair from a live host.

🤖 Generated with Claude Code

… sends

Claude Code sends X-Claude-Code-Session-Id as a UUIDv5 of the session's
--sdk-url, never the cse_ id that --switch --session names its file by, so
no per-session pick was ever read: every session ran on the shared route.
session_target now matches a header against each file's derived id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@akleizor
akleizor merged commit 27a5898 into main Nov 25, 2026
9 checks passed
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.

1 participant