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
Windows Desktop: invalid always_allowed_app_ids TOML causes setup loop and unusable UI #41556
appIssues related to the Codex desktop appbugSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updateswindows-osIssues related to Codex on Windows systems
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:
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.
Restart Codex Desktop.
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.
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.
appIssues related to the Codex desktop appbugSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updateswindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Aug 29, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
ro371 commentedon Sep 24, 2026
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.