Skip to content

Gemini CLI v0.50.0 fails to load .gemini/settings.json in VS Code Dev Container #28399

Description

@chrisburnham

What happened?

The Gemini CLI does not load the workspace-level .gemini/settings.json configuration file when running inside a VS Code Dev Container.
This prevents any workspace-specific settings from being applied.

Steps to Reproduce:

  1. In a dev container, confirm the workspace root with echo $GEMINI_CLI_IDE_WORKSPACE_PATH.
  2. Create a file at <workspace_root>/.gemini/settings.json.
  3. Add the following content to the file:

1 {
2 "security.disableYoloMode": false
3 }
4. Ensure the file and directory have correct read permissions (drwxr-xr-x for the folder, -rw-r--r-- for the file).
5. Run gemini in the terminal.

Actual Behavior:
The CLI starts in normal mode and ignores the settings.json file completely, continuing to prompt for all actions. The settings file is not loaded.

What did you expect to happen?

The CLI should start in YOLO mode, as dictated by the settings file.

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
│ About Gemini CLI                                                                                                                                                                                             │
│                                                                                                                                                                                                              │
│ CLI Version                                                            0.50.0                                                                                                                                │
│ Git Commit                                                             8d9733d53                                                                                                                             │
│ Model                                                                  Auto (Gemini 2.5)                                                                                                                     │
│ Sandbox                                                                no sandbox                                                                                                                            │
│ OS                                                                     linux                                                                                                                                 │
│ Auth Method                                                            Signed in with Google (<omitted fro privacy>)                                                                                         │
│ Tier                                                                   Gemini Code Assist Enterprise                                                                                                         │
│ GCP Project                                                            <omitted for privacy>                                                                                                                 │
│ IDE Client                                                             VS Code   

Login information

Logged in via google account

Anything else we need to know?

  • Gemini CLI Version: 0.50.0
  • Gemini CLI Companion Extension Version: 0.20.0
  • Host Environment: VS Code with Dev Containers extension

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2area/coreIssues related to User Interface, OS Support, Core Functionalityeffort/medium2-3 days: UI state, async flow, cross-component refactorskind/bugpriority/p2Important but can be addressed in a future release.status/bot-triaged

    Type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions