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

[BUG] Remote Control: start_session rejects "user_asked" for a human message sent from mobile

Open igor-markin opened this issue 1 month ago • 19 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

What happened I sent "Start step 2" from my phone. The agent called mcp__ccd_session__start_session with initiation: "user_asked". The tool returned:

Start sessions only on the user's own words to you here; this turn runs an automated event, another session's message, or the task another session gave you. Propose the session instead (initiation "own_initiative"), or start it once the user asks you here.

The agent then created a proposal card (own_initiative), but proposal cards are not shown in the mobile client, so there is no way to approve it from the phone.

Why this looks like a bug

  • In the session JSONL (~/.claude/projects/<project>/<id>.jsonl) the message has origin: {"kind":"human"}, turnOrigin: "human", promptSource: "sdk", entrypoint: "claude-desktop" — identical to messages typed on the Mac.
  • The message started a new turn; no events from other sessions arrived in between.
  • In another project, the same flow (message from phone → parent starts a child session) succeeded. So the behavior is inconsistent for identical inputs.

What Should Happen?

Expected A human message sent via Remote Control should count as the user's own words, so start_session with user_asked succeeds. Or, if this is intended, the mobile client should show proposal cards so they can be approved.

Error Messages/Logs

> Start sessions only on the user's own words to you here; this turn runs an automated event, another session's message, or the task another session gave you. Propose the session instead (initiation "own_initiative"), or start it once the user asks you here.

Steps to Reproduce

Environment

  • Claude Desktop for macOS 2.42304.0 (e7f60e, Oct 15 2026), Code tab
  • Claude Code: bug observed on 2.1.299 (Desktop-bundled at the time); latest CLI 2.1.301 now installed
  • Model: claude-opus-5-5, permission mode: auto
  • "Connect new sessions to Remote Control" enabled in Desktop settings
  • Parent session runs locally; I message it from the Claude mobile app via Remote Control

I sent "Start step 2" from my phone. The agent called mcp__ccd_session__start_session with initiation: "user_asked".

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.301 (bug observed on 2.1.299)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

Other mobile Remote Control gaps observed

  • Proposal cards and the next-step panel are not rendered
  • Session links like #local_<id> fail with "Unsupported link"
  • side-sessions-event system messages appear as regular chat replies

Related: #88678, #70546, #50444

igor-markin avatar Oct 16 '26 18:10 igor-markin

Root cause (traced in the Desktop bundle)

The rejection is a deterministic check in Claude Desktop, not a model decision. Found in /Applications/Claude.app/Contents/Resources/app.asar → /.vite/build/index.chunk-CFJssAFf.js (Claude.app 2.42304.0, bundled Claude Code 2.1.299). The string is not in the Claude Code binary.

Reformatted from minified code (names are minifier names):

assertCanStartSideSession(e, n = "start", r = {}) {
  ...
  if (n === "start" && !cz(e))
    throw Error(`Start sessions only on the user's own words to you here; ...`);
}

function cz(e) { return e.turnInput?.open === true && e.turnInput.person; }

function lz(e, t, n = false, r) {           // open a turn; t = typed by a person
  let i = e.turnInput?.open === true && e.isRunning;
  e.turnInput = {
    person: (i && e.turnInput?.person === true) || t,
    machine: (i && e.turnInput?.machine === true) || !t,
    ...
  };
}

noteCliInput(e, t, n) {                      // Desktop writes a prompt to CLI stdin
  (e.promptAuthors ??= new Map).set(t.uuid, {
    byPerson: !n?.machineSent && t.seeded_summon !== true && U.s(t.origin), ...
  });
}

function yz(e, n, r) {                       // CLI started a turn for message uuid n
  let i = e.promptAuthors?.get(n);
  if (i !== undefined && ...) lz(e, i.byPerson, !i.byPerson, ...);
  else if (r.asPrompt) e.sentUserUuids?.has(n) ? sz(e) : lz(e, false);
}

What this means: person is true only if Desktop itself wrote the prompt into the CLI via noteCliInput. A Remote Control message reaches Claude Code through the CLI's own bridge (dispatchedOverBridge), so Desktop only sees its echo, has no promptAuthors entry for it, and calls lz(e, false). Every mobile message that opens a new turn is therefore classified as machine input, regardless of origin.kind: "human" in the transcript. Fields like origin, turnOrigin, promptSource and queueSkipSlashCommands are not consulted.

Why it sometimes works: lz inherits person while a turn is still open and running. A mobile message that lands inside a turn started by a Mac-typed prompt passes; one that opens a fresh turn fails. That matches the inconsistent results in my two projects.

Suggested fix: treat prompts arriving over the Remote Control bridge from the authenticated session owner as person: true (or record them in promptAuthors when the bridge delivers them). Alternatively, render proposal cards in the mobile client so own_initiative proposals can be approved from the phone.

Not verified: the live message flow in Desktop logs, and what U.s(origin) accepts. This is read from the bundle code.

igor-markin avatar Oct 16 '26 18:10 igor-markin

Proposal cards are the intended fallback, but they don't render on iPhone or iPad

The refusal text itself points to the fallback: "Propose the session instead (initiation "own_initiative")". If proposal cards worked in the mobile clients, this would not be a problem: the agent proposes, I tap the card on the phone, and the session starts. The user_asked check could stay as it is.

But the cards don't render in the mobile clients. Tested today (Oct 16, 2026) on iPad via Remote Control, after the iPhone:

  • The agent called start_session with initiation: "own_initiative" and got Proposed "…" (task_id: task_…). The user sees a card….
  • The iPad shows only the raw tool call ("Used Start Session"): its parameters and the output text. There is no card and no Start button.
  • Same on iPhone.

So from a phone or iPad there is currently no way at all to start a child session: user_asked is refused (see root cause above), and the own_initiative card the error recommends can't be seen or tapped. The only path is to go to the Mac and click the card there.

Either fix resolves it:

  1. Render proposal cards (with a working Start button) in the iOS/iPadOS clients, or
  2. Count Remote Control prompts from the session owner as person: true.

igor-markin avatar Oct 16 '26 19:10 igor-markin

Starting a proposal by message is refused too

The start_session output for a proposal says it can be started "with a click, or by telling you (then call start_session with proposal_id …)". Tested from iPad via Remote Control: I sent "Запусти task_…", the agent called start_session with only proposal_id, and Desktop returned the same error:

Start sessions only on the user's own words to you here; this turn runs an automated event, another session's message, or the task another session gave you. …

So the "telling you" path doesn't work from mobile either, consistent with the cz(e) check above (n === "start" covers starting a proposal). All three ways to start a child session (user_asked, the card, and starting the proposal by message) are unavailable from iPhone and iPad.

igor-markin avatar Oct 16 '26 19:10 igor-markin

Same behavior on Windows, with the Claude app on Android.

Environment

  • Windows 11 Pro 10.0.26300
  • Claude Desktop 2.42304.0, Code tab
  • Claude Code 2.1.299, bundled with Desktop
  • Claude app on Android, connected through Remote Control ("Connect new sessions to Remote Control" is on)

What the phone shows

  • A start_session proposal appears only as "Used Start Session". There is no card and no Start button.
  • The end-of-turn next-step panel appears only as "Used Wrap Up". Tapping it opens the raw tool inputs (ask, actions, blocked: true, recap), with no buttons.
  • The session is left waiting, with nothing on the phone to tap.

So the missing cards and next-step panel aren't limited to macOS and iOS.

digitaltrance avatar Oct 16 '26 21:10 digitaltrance

Seeing this too (Claude desktop app on Windows, chat followed on Android over Remote Control, 20 Oct 2026). When a session started from the chat finishes a turn, the side-sessions-event note shows up on the phone as a message in the user's own bubble, so it looks like the user sent it. With several side sessions running this happens many times an hour and is confusing. A way to hide these notes on mobile, or show them as system notices instead of user messages, would fix it for us.

ripleysnest-star avatar Oct 20 '26 20:10 ripleysnest-star

+1, same on Windows.

Environment

  • Windows 11 Pro 10.0.26200
  • Claude Desktop, Code tab (local session in a git repo)
  • Driving it from the Claude app on Android over Remote Control

What happens A plain typed message from the phone ("start a lane to ...") gets the same refusal: "The user is working over Remote Control, and for now you can start a session only on a message typed in the desktop app." The identical message typed at the desktop works. The proposal-card fallback isn't usable from the phone either.

Why it matters to us We run one coordinating session that starts many linked worktree sessions (one per task) through the day, and the coordinator gets each one's report when it finishes. On 2026-10-22 that was 11 sessions. Being away from the desk is exactly when we need to start one, and today the only option is to walk back to the PC. claude remote-control --spawn worktree starts sessions remotely, but they aren't linked to the coordinating session, so its reports and hand-offs are lost.

Ask: treat a message the user typed over Remote Control the same as one typed in the desktop app for start_session (user_asked), or make the proposal cards work on mobile.

Sauralf avatar Oct 23 '26 00:10 Sauralf

Same here on Windows 11 + Android, desktop 3.6556.2.0 / Claude Code 2.1.308: 7 user-asked handoffs refused over Remote Control since 10-21. I hand off when a session fills, and from the phone I'm forced to copy-paste prompts.

ThatsJake avatar Oct 25 '26 01:10 ThatsJake

Same refusal here, with a second wording. Claude desktop 4.4212.0, Claude Code 2.1.311, macOS 26 (Darwin 25.6.0).

On a turn opened from the iOS app over Remote Control, mcp__ccd_session__start_session (initiation user_asked, same project, no cwd) returns:

The user is working over Remote Control, and for now you can start a session only on a message typed in the desktop app. If they asked for one, tell them so in one line.

(2026-10-26 13:00 UTC, again 2026-10-29.)

On the same turns an own_initiative proposal returns "Nothing was proposed. The user is working over Remote Control and may not see a session card…", and the wrap_up tool returns "The user is working over Remote Control and may not see the next-step box…". The same request typed in the desktop composer 30 minutes later started the session at once.

Since about 2026-10-29 an automated continuation (a child session finishing) can start a session in the same project, while a different cwd is refused with "When the app continues on its own, it can only start sessions where this one runs, in this project."

Request: count an authenticated Remote Control message from the session owner as the user's own words for start_session, or render proposal cards and the next-step box on iOS so an own_initiative proposal can be approved from the phone.

nriesco avatar Oct 30 '26 20:10 nriesco

Same here. I run many parallel desktop sessions and follow them from my phone. Every handoff from a remote message is refused, so work stalls until I'm back at the desk.

tmatzinger avatar Oct 31 '26 18:10 tmatzinger

Is still the problem here?

igor-markin avatar Oct 31 '26 18:10 igor-markin

Same here on Windows 10 (Claude desktop app, Code tab). I coordinate several local sessions from my phone over Remote Control, and any new session fails with "for now you can start a session only on a message typed in the desktop app". An opt-in setting (e.g. "Allow starting sessions from Remote Control") would solve it.

JoeCooler007 avatar Nov 02 '26 23:11 JoeCooler007

Update: on 2.1.312 (macOS desktop app) start_session refused over Remote Control with "for now you can start a session only on a message typed in the desktop app" (one attempt on my side; others here report it consistently, Windows too). Filed the feature request for it: #107851

nicholas-toulouse-ahh avatar Nov 06 '26 05:11 nicholas-toulouse-ahh

Same here, and it breaks a real workflow. I run long-lived orchestrator sessions in the Desktop Code tab and drive them from my phone over Remote Control almost all day. When the orchestrator needs to hand off to a fresh session (context too big, or the prompt cache expired so resuming would burn my weekly quota), start_session is refused because my message came from mobile. The only fallback is claude --bg --remote-control, but those sessions don't show up in the Desktop sidebar, so they can't be pinned, grouped or archived like the session they replace. A message typed by the account owner on their phone is the user's own words: please treat it as user_asked.

pyxl-dev avatar Nov 08 '26 01:11 pyxl-dev

Same on Windows 11 + Galaxy S25 Ultra (Android) over Remote Control. I explicitly asked from my phone to start a session and got "for now you can start a session only on a message typed in the desktop app". An opt-in setting or a confirmation I can approve from the phone would solve it.

soymarketing avatar Nov 08 '26 20:11 soymarketing

Adding a data point from a different angle: I was sitting at the desktop, not on my phone.

Setup: Linux, Claude Code 2.1.317 in the Desktop Code tab, one long-lived coordinator session per project with Remote Control on, and a local voice mod that submits what I say with $.prompt.submit.

I asked by voice to start a session. start_session with user_asked returned:

The user is working over Remote Control, and this turn can't start that session, so nothing was started. If they asked for it, tell them in one line to start it in the desktop app.

A moment earlier, in the same session, own_initiative had been refused too: "Nothing was proposed. The user is working over Remote Control and may not see a session card".

About 30 seconds later I typed two words in that session's composer, and the same user_asked call worked. That matches the steeredByRemoteClient mark described in #105614, so the refusal seems to follow the mark rather than where the person actually is.

Since the mark can stick while you are at the desk, an opt-in setting like "Allow starting sessions from Remote Control" would solve both this case and the phone case.

Katekko avatar Nov 09 '26 00:11 Katekko

+1 from macOS desktop app + Claude app on Android, today (2026-11-10).

From the phone I typed "Start a standalone EnviousLabs LLC session" into a Code tab session with Remote Control on. start_session (user_asked, a cwd from list_start_targets) was refused: "The user is working over Remote Control, and this turn can't start that session, so nothing was started." No proposal card either, so there is nothing to tap on the phone. The same request typed at the Mac a few minutes earlier started the session fine.

From the thread this looks like a deliberate restriction rather than a bug, and it is the one thing that makes Remote Control usable for starting new work away from the desk. Keeping one launcher session open and asking it from the phone to start fresh sessions is the only workaround for the lack of a folder picker in the mobile app (#100303), and this check blocks it.

Any of these would fix it for me:

  • An opt-in setting such as "Allow starting sessions from Remote Control" (also asked for in #107851).
  • A confirmation the phone can approve: render the proposal card in the mobile apps, or ask once per session.
  • Better still, the Codex-style Connections model described in #100303: pair the phone once, then pick a folder and start a session directly from the mobile app.

saurabhav88 avatar Nov 11 '26 03:11 saurabhav88

Same on macOS (Desktop app, Code tab) with the Claude mobile app, 2026-11-12 and 2026-11-15. A coordinator session in the Code tab, with Remote Control on, opens the day's work sessions when I say so. From the phone, every start_session (user_asked) is refused with "The user is working over Remote Control, and this turn can't start that session". That's six refusals over two days. When I send the same kind of message from the Mac, the session starts straight away.

The session JSONL shows the cause is the message's source and nothing else. Every refused turn has clientPlatform: "web_claude_ai". The turn that worked has clientPlatform: "desktop_app". origin, turnOrigin and promptSource are identical on both. The per-session Remote Control switch makes no difference.

I understand what the check protects: a phone message shouldn't start sessions on an unattended computer that then sit on permission or folder-trust prompts nobody can answer. These would fix that without opening it up:

  1. Allow it for folders the user has already trusted, with the new session inheriting the parent's permission mode, or a stricter one.
  2. Forward the new session's prompts to the phone, the way a Remote Control session already does.
  3. Or put an opt-in setting behind it ("Allow Remote Control turns to start sessions in trusted folders").

What I use for now: claude remote-control --spawn same-dir --no-create-session-in-dir --permission-mode <mode>, one per working folder. The phone can then start a session in that folder from the Code tab. It runs locally with the folder's CLAUDE.md and hooks, and its permission prompts come to the phone. The drawback is that these sessions aren't Desktop sessions: they don't appear in the Desktop sidebar and don't get the Desktop session tools.

stefanmahon-glitch avatar Nov 15 '26 22:11 stefanmahon-glitch

Hey, thanks for reporting. This should have been addressed since 4.16336.0 for local sessions in the same project. SSH, WSL, other folders and cloud aren't covered yet but will be soon.

MaxLeiter avatar Nov 18 '26 21:11 MaxLeiter

Still reproducing on Claude Desktop 6.6395.0.0 (Windows 10 x64, Claude Code CLI 2.1.326), local sessions, same project folder.

From the Claude Android app over Remote Control, I typed a request asking the session to open a new Code session. start_session was refused with: "The user is working over Remote Control, and this turn can't start that session". No approval card appeared, on the phone or on the desktop. Tried in Auto and in Manual (default) permission mode, 19 Nov 2026, twice.

The fix mentioned above (since 4.16336.0) does not seem to cover this case. For comparison, delete_session from a Remote Control turn works: its approval card reaches the phone, once the target session's Remote Control is off.

1stepstories-svg avatar Nov 19 '26 18:11 1stepstories-svg