Skip to content

Windows Desktop: invalid always_allowed_app_ids TOML causes setup loop and unusable UI #41556

Open

Description

@shogun301

What platform is your computer?

Windows x64

What issue are you seeing?

Codex Desktop became unusable at startup after config.toml contained an invalid TOML conflict: always_allowed_app_ids was declared both as an array value and as a table.

Instead of showing a clear configuration parse error and identifying the conflicting key, the app repeatedly opened a setup-related window and the main Codex interface could not be used.

Disabling computer-use@openai-bundled, stopping the related Codex/Computer Use processes, and restarting allowed temporary access. The lasting fix was repairing the TOML so the setting existed only as an array:

always_allowed_app_ids = ["chrome.exe"]

The [windows] sandbox = "unelevated" setting and the configured notification hook were initially suspected but were not the cause.

The exact app build was not captured during the incident.

What steps can reproduce the bug?

Likely reproduction:

  1. On Codex Desktop for Windows, create a config.toml conflict where always_allowed_app_ids is defined both as an array and as a table.
  2. Restart Codex Desktop.
  3. Observe the startup/setup loop and blocked interface.

I did not deliberately restore the broken file after recovery, so the reproduction has not been repeated.

What is the expected behavior?

Codex should detect the TOML error before initializing plugins, show the file path and conflicting key, and leave a usable recovery path to edit or reset the invalid setting. A malformed optional plugin setting should not leave the whole desktop interface unusable.

Additional information

Observed on August 26, 2026. Replacing the conflicting definitions with the single array form restored normal startup.

Activity

  1. added
    bug
    app
    windows-os
    config
    on Aug 29, 2026
  2. github-actions commented on Aug 29, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. ro371 commented on Sep 24, 2026

    @ro371

    Additional finding from a current Windows Desktop build:

    The array-only workaround does make the TOML parse again, but it is not behaviorally equivalent to the Desktop-owned table.

    I tested both representations separately:

    Array only

    [computer_use.windows]
    always_allowed_app_ids = ["some-app.exe"]

    Desktop starts, but Settings > Computer Use > Always-allowed apps is empty.

    Table only

    [computer_use.windows.always_allowed_app_ids]
    "some-app.exe" = true

    Desktop starts and the saved application appears again under Always-allowed apps.

    The Configuration page still incorrectly reports computer_use.windows.always_allowed_app_ids as ignored; that validator mismatch is tracked separately in #47427.

    So the important recovery step is to remove the array/table duplication, but converting the Desktop-managed table to the array form may discard the effective Desktop approval representation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugconfigwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions