Repository navigation
Cloud: cmux cloud start-session gives its machine the Claude login - #32052
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-548f18c0a6d1ebb48240
The composer Cloud start passes the person's Claude login to the machine (CloudStartChat+Login) before the first prompt; start-session never did, so a Claude session it started on a machine with no login answered with the provider's credentials refusal. It now takes the same step after the machine connects and before the session starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-548f18c0a6d1ebb48240
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-548f18c0a6d1ebb48240
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-548f18c0a6d1ebb48240
|
Owned by an agent session · session |
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
|
Review (codex gpt-6-astra high, router-review): BLOCK at 101d2cc BLOCK at 101d2cc Visual verdict: no images; Leo tries the build
|
Review (gpt-6-astra) at 101d2cc: the login may wait on a confirm and swallows cancellation, so the run must check its account after it, as after every wait. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-548f18c0a6d1ebb48240
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-548f18c0a6d1ebb48240
|
Capture
|
|
Review (codex, router-review): SHIP at 6a078b3 Reviewer: codex gpt-6-astra high, fast tier. Follow-ups: 1. Each lands as an issue in this repo that links this receipt; the lane that opened the PR fixes it forward. SHIP at 6a078b3 Visual verdict: no images; Leo tries the build No correctness findings in the changed flow. The focused suite could not run because this box has no Swift toolchain. Follow-ups: [P2] [follow-up] No after screenshots were provided for this Cloud flow. |
|
Red/green on the fleet ( |


cmux cloud start-session --agent claudestarted Claude on a Cloud machine that had none of the person's Claude login, so every turn answered "The provider rejected Claude Code's credentials on this Cloud machine." This happened even in a run whose app held the login: the cmuxterm-hqcloud-start-sessioncapture (run 41415284694, withclaudeLoginset by cmuxterm-hq#6219).The composer's Cloud start already passes the login (
CloudStartChat+Login, #29771, #29962, #31183, #31264): DEV and dogfood builds only, on a machine the person owns, and recorded on the machine'sharness_loginrow.start-sessionnever took that step. It now runs the same step after the machine connects and before the session starts.passHarnessLoginnow takes a harness name, so both entry points share one path.CmuxNextApp line count is unchanged. The ratchet was paid by removing a redundant local and merging two declarations in
CloudStartSession.run.Changelog
Fixed: In DEV builds,
cmux cloud start-sessiongives the Cloud machine your Claude login, the way a composer Cloud start does.Test
cmux-ci run --class light --script scripts/ci/package-test-lane.sh --arg=suite --arg=Packages/macOS/CmuxNext --arg=CloudStartSessionTests ...CloudStartSessionhas no login step.Observed / Not run
Agent session: agent session
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes
cmux cloud start-sessionso the Cloud machine gets the person's Claude login before the session starts, matching a composer Cloud start. Previously a Claude session on a machine without the login answered every turn with the provider's credentials rejection.passHarnessLoginnow takes a harness name, soCloudStartChatandCloudStartSessionshare one login path.Written for commit 6a078b3. Summary will update on new commits.