claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Remote Control: iOS effort picker reverts Ultracode to Extra

Open SpaceRobot-268369 opened this issue 1 month ago • 4 comments

Description

In a Remote Control session where ultracode is on (set on Mac), the iOS Claude app's effort picker shows "Extra" instead of "Ultracode". Selecting Ultracode on the phone shows the "Change effort?" confirmation, but a few seconds after confirming, the picker reverts to Extra. The Mac session itself appears to stay in ultracode.

Expected

The phone picker shows Ultracode when ultracode is on, and the selection persists.

Impact

Confusing state, and each re-selection triggers a session re-read that costs usage.

Environment

  • Claude Code: 2.1.287
  • macOS: 27.0.1 (26A434)
  • Client: Claude iOS app, Remote Control session

SpaceRobot-268369 avatar Oct 04 '26 18:10 SpaceRobot-268369

Same bug here, starting from max instead of xhigh (CLI 2.1.294, Linux/WSL, Claude mobile app over Remote Control). Root cause below.

Since 2.1.284, Ultracode is a separate toggle in the terminal and VS Code ("it no longer forces xhigh effort"). Over Remote Control, the mobile app still sends it as an effort level, and the CLI's Remote Control handler still maps the alias {ultracode:"xhigh"}. A session running at max therefore ends up at xhigh + ultracode, and the app picker then shows "Extra".

Steps to reproduce

  1. claude --model opus --effort max --remote-control (CLI 2.1.294).
  2. Open the session in the Claude mobile app (Remote Control). The picker shows Max.
  3. In the effort picker choose "Ultracode" and confirm.
  4. In the terminal, run /effort (or check the status line): the effort is now xhigh with ultracode on. The app picker shows "Extra".
  5. Variant: send /effort ultracode as a message from the app. The CLI replies "Ultracode on… Effort stays max", and ~20 s later the session is at xhigh again.

Expected: max + ultracode, as in the terminal and VS Code since 2.1.284.

Analysis (2.1.294 bundle)

  • The bridge apply_flag_settings handler resolves effortLevel:"ultracode" through the alias map {ultracode:"xhigh"} and sets sessionEffort=xhigh, ultracode=true. {ultracode:true} alone would keep the current effort, and the CLI's own remote client already sends {ultracode:true} separately.
  • The CLI reports only effort_level (reportMetadata / system/init); initialize returns only current_model / current_permission_mode. Nothing exposes ultracode or a "separate ultracode toggle" capability, so the app can neither display ultracode nor know it should use the new form.
  • The server-config effort seed (applyEffortSeed) applies the same alias.

Suggested fix: the app sends {ultracode:true|false} without changing effortLevel, and/or the CLI stops applying the alias over Remote Control and reports ultracode in its metadata.

Related: #66266 (closed, but Android/iOS reports keep coming in), #97442, #98171, #84225.

clladser avatar Oct 08 '26 14:10 clladser

Same on Android (Claude app, Remote Control, CLI 2.1.296, claude-opus-5-5). Session metadata shows flag_settings.effortLevel = "ultracode" while effort_level is reported as "xhigh", and the picker reverts. Workaround: sending "/effort ultracode on" as a message works.

gsadom avatar Oct 12 '26 23:10 gsadom

Same on Android, Claude code opus 4.7. Except RC reverts every effort level to "Extra." There is no discernment on my end. Additionally, changing the effort level via the remote picker has to constantly be done over and over again if you so much as back out of the remote chat to view settings, close the app etc.

There is for some reason no possible way to set your own default remote effort level and everyone is hardcoded to "Extra" as default.

ModernMaoli avatar Oct 19 '26 06:10 ModernMaoli

A related consequence on the desktop app: the same effort-only push from a Remote Control client turns ultracode off in the live session. The session doesn't just show the wrong value in the picker.

My setup is Claude Desktop 2.42304.2 on Windows (bundled CLI 2.1.299), with "ultracode": true in settings.json and session effort high. Over four days, 11 sessions lost ultracode with no action on my side. Each time, the engine attached ultra_effort_exit ("Ultracode is off…") to a prompt that came in over Remote Control. None of about 400 prompts typed in the desktop composer did this. Ultracode then stays off for the rest of the session, until I send /effort ultracode.

In the 2.1.299 bundle, the bridge apply_flag_settings handler does this when ultracode is absent:

if(a===void 0){if(c){…ultracode:!0}else if(u&&f.ultracode)f={...f,ultracode:!1}} Here u means effortLevel was sent, isn't ultracode, and differs from the current level. So when the app re-sends its own effort pick, such as the "Extra" default described above after the chat is reopened, a session at high loses ultracode. Nothing local logs bridge control requests, so the push itself is inferred from the code path and the timing. I haven't captured it.

Either fix suggested above would cover this case too: have the app send {ultracode} with every effortLevel, or have the CLI report ultracode.

AI assistance: Claude Code (Opus 5.5) traced the code path in the CLI and desktop bundles, analyzed the transcripts and logs, and drafted this comment.

ItsColby avatar Oct 20 '26 02:10 ItsColby