C:/Program Files/Git/goal (and slash commands) pasted from mobile do not execute — requires follow-up prompt to fire
Describe the bug:
When /goal and likely other slash commands are pasted from a mobile device, the command does not execute. Nothing happens. The command only fires if the user follows up with an additional prompt after pasting.
When the same text is pasted from desktop, the slash command executes immediately as expected.
Reproduction:
- Desktop: paste
/goal <agent-name> <path-argument>→ command executes immediately ✅ - Mobile: paste
/goal <agent-name> <path-argument>→ nothing happens ❌ - Mobile, after step 2: type any follow-up text and submit → command now fires ✅
Expected behavior:
/goal and all slash commands should execute on paste from any input surface, including mobile.
Actual behavior:
Mobile paste does not trigger slash command execution. The command text lands in the input buffer but sits inert until a follow-up prompt is sent.
Hypothesis:
Mobile paste likely doesn't emit the submit/newline event that desktop paste includes. The input handler may only dispatch slash command processing on an explicit submit signal — which desktop paste provides but mobile paste does not. The command is in the buffer; it just never gets dispatched.
Environment:
- Claude Code CLI v2.1.145
- Mobile input surface (paste from iOS/Android)
/goalconfirmed affected; likely all/slash commands
Severity: Medium — blocks workflows initiated from mobile. For users who start autonomous overnight runs from mobile (set a goal, go to sleep), a paste that silently doesn't fire means the run never starts.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗