You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Permission mode picker is a no-op or silent downgrade on grok, kimi, opencode and cursor #177
The composer's permission mode picker is only real on claude; on the other providers it silently does nothing or downgrades:
claude is the only provider with --permission-prompt-tool stdio, routing prompts to the UI (electron/providers.js:117-131).
grok silently maps the asking modes (default, acceptEdits) to non-prompting auto (providers.js:266-277).
kimi emits no permission flag at all; tools run unprompted regardless (providers.js:470-475, known UI debt from docs/ISSUES.md:121).
opencode's buildArgs does not even accept permissionMode (providers.js:393); the CLI has --auto for auto-approving non-denied permissions.
The Composer shows the permission pill unconditionally (src/components/Composer.tsx:1385), with no provider awareness. PRODUCT-SPEC promised modes "enforced in adapter invocation"; BRAINSTORM bet #3 was "permissions are a mode, not a popup storm."
Impact
A user picking "Ask" or "Read-only" on 4 of 5 providers gets a control that does nothing: a safety-relevant UI lie, not just a missing feature.
Fix direction
Per-provider permission capability mapping (like reasoning effort): implement what each CLI supports (opencode --auto, codex --sandbox per the sandbox issue, grok flags), and disable or annotate the pill where a mode cannot be honored instead of silently ignoring it.
changed the title [-]Permission mode picker is a no-op or silent downgrade on grok, kimi and opencode[/-][+]Permission mode picker is a no-op or silent downgrade on grok, kimi, opencode and cursor[/+]on Aug 25, 2026
Provider audit confirmed cursor is the same class: buildArgs maps every non-plan mode to identical argv -p --stream-partial-output --trust --force --approve-mcps (electron/providers.js:944-959), so default == acceptEdits == bypassPermissions and "Default" silently means full-auto. Cursor additionally has no control channel at all (stdio: ["ignore", ...], electron/cursor.js:394-397). Plan-mode approval UX gap split out into #707; guardrail-interception gap (kimi) in #697.
Implementation on coder/fork-permission-mode-picker-is-a-no-op-o-2636b7 treats permission modes like reasoning effort: each adapter lists only the modes it actually honours, the composer offers those (and annotates a leftover stored mode instead of silently ignoring it), and setPermissionMode rejects the rest.
Activity
[-]Permission mode picker is a no-op or silent downgrade on grok, kimi and opencode[/-][+]Permission mode picker is a no-op or silent downgrade on grok, kimi, opencode and cursor[/+]currentbits commentedon Aug 25, 2026
Provider audit confirmed cursor is the same class:
buildArgsmaps every non-plan mode to identical argv-p --stream-partial-output --trust --force --approve-mcps(electron/providers.js:944-959), so default == acceptEdits == bypassPermissions and "Default" silently means full-auto. Cursor additionally has no control channel at all (stdio: ["ignore", ...],electron/cursor.js:394-397). Plan-mode approval UX gap split out into #707; guardrail-interception gap (kimi) in #697.currentbits commentedon Aug 25, 2026
Implementation on
coder/fork-permission-mode-picker-is-a-no-op-o-2636b7treats permission modes like reasoning effort: each adapter lists only the modes it actually honours, the composer offers those (and annotates a leftover stored mode instead of silently ignoring it), andsetPermissionModerejects the rest.What each CLI can actually send
--permission-mode+--permission-prompt-tool stdio--sandboxread-only / workspace-write / danger-full-accessbypassPermissions --always-approveso the run does not die (#549)--autoonly for Full access--mode planwithout--force; everything else is--force-pcannot combine with-y/--auto); pill lockedProvider switches, forks, teach-mode start, and profile apply snap an unhonoured stored mode instead of copying the lie. Plan-mode approval UX on non-claude providers remains #707.
currentbits commentedon Aug 25, 2026
Landed from Solenta thread "Fork: Permission mode picker is a no-op or silent downgrade ". Closed on merge.