claude-code - 💡(How to fix) Fix [BUG][Windows] Desktop app ignores defaultMode: bypassPermissions in settings.json — mode picker missing "Bypass permissions" option [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#60541Fetched 2026-05-20 03:55:54
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×2

Error Message

Error Messages/Logs

No error message shown. The app silently ignores the setting and defaults to "Ask permissions" mode without any warning or fallback notification.

Code Example

No error message shown. The app silently ignores the setting and defaults to "Ask permissions" mode without any warning or fallback notification.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

The Claude Code Desktop app on Windows has two related problems with bypass permissions:

  1. The in-session mode picker only shows three options: "Ask permissions", "Accept edits", and "Plan mode". "Bypass permissions" is not available as an option in the GUI at all.
  2. Setting defaultMode: "bypassPermissions" in ~/.claude/settings.json has no effect — the session still starts in "Ask permissions" mode and the settings file is silently ignored.

What Should Happen?

Bypass permissions should either appear as a fourth option in the mode picker, or be respected from ~/.claude/settings.json so sessions start without confirmation prompts. The CLI flag --dangerously-skip-permissions works correctly, so the underlying feature exists — it just needs to be exposed in the Desktop GUI on Windows.

Error Messages/Logs

No error message shown. The app silently ignores the setting and defaults to "Ask permissions" mode without any warning or fallback notification.

Steps to Reproduce

  1. Open Claude Code Desktop app on Windows 11
  2. Add "defaultMode": "bypassPermissions" to ~/.claude/settings.json under permissions
    1. Start a new session
    1. Observe: session starts in "Ask permissions" mode — settings.json is ignored Alternatively:
  3. Open Claude Code Desktop app on Windows 11
    1. Click the mode picker at the bottom of the session pane
    1. Observe: only three options appear — "Ask permissions", "Accept edits", "Plan mode"
    1. "Bypass permissions" is not listed as an option

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.143 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Related issues on macOS (same problem, different platform):

  • #55095 — Bypass permissions mode missing from session UI on Mac
    • #29026 — Desktop app ignores settings.json defaultMode on Mac
      • #42428 — Bypass permissions non-functional in Desktop App on Mac This Windows report confirms the issue is cross-platform.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING