Repository navigation
Description
Component and version
Codex desktop on Windows. Installed package: OpenAI.Codex_26.1021.3705.0_x64. Bundled CLI: 0.164.0-alpha.11.1. OS: Windows NT 10.0.26300.0, x64. Observed 2026-10-25.
Problem
The desktop computer-use notify updater can convert valid TOML into an invalid config with a duplicate top-level notify key. A config error can then block startup. The affected user reports a second startup-blocking incident of this general kind.
The defect below was reproduced with the exact line-replacement function from the installed desktop bundle, using synthetic input. It is a function-level reproduction, not a claim that a full fresh desktop launch was reproduced in an isolated profile.
Minimal reproduction
Give the notify updater this valid TOML when it needs to change the helper command:
"notify" = ["old-helper", "turn-ended"]
[desktop]
appearanceTheme = "dark"When the updater writes a new notify command, the tested replacement function produces:
"notify" = ["old-helper", "turn-ended"]
notify = ["new-helper", "turn-ended"]
[desktop]
appearanceTheme = "dark"Both keys denote the same TOML key. Python's TOML parser rejects the output: Cannot overwrite a value (at line 2, column 38).
Tests:
- Bare
notify: input valid; output valid; one notify key remains. - Double-quoted
"notify": input valid; output invalid with duplicate key. - Single-quoted
'notify': input valid; output invalid with duplicate key.
The old-helper/new-helper values are synthetic strings. No helper executable was run by this test.
Cause in the installed updater
The updater reads notify with a TOML parser, but its text replacement removes old entries only when a trimmed line matches /^notify\s*=/ before the first section. It then inserts a bare notify = ... entry. The removal rule does not match legal quoted key syntax.
The relevant minified functions in the installed main bundle are fae (write config), pae (prepare notify update), and vae (replace the top-level entry). These names are build-specific.
Incident evidence and limits
At 18:58:14.435 UTC the desktop logged:
[computer-use-native-pipe] computer-use notify config ensure finished platform=win32 status=repaired
At 18:58:14.442 UTC it began reporting:
config.toml:11:1: duplicate key
The duplicate was the computer-use notify command. Repeated config errors continued through 19:06:42 UTC.
The supplied older backup and the later current config both parse successfully and have an unquoted notify key. The exact damaged pre-recovery file is unavailable. Thus, the updater defect is independently reproduced, and the incident timing implicates the updater, but the quoted-key trigger in this historical incident is not established.
Expected behavior and regression coverage
Update the TOML key by its parsed identity, including bare, basic-quoted and literal-quoted forms. Validate the candidate document before replacing the user's file, and leave the original intact if validation fails. Preserve unrelated values and user notification chaining. Test repeated updates for idempotence and concurrent config writes.
A bad or failed optional notify migration must not leave the app unable to start. Recovery should preserve the user's settings and identify the specific invalid edit.
Related: #44315 includes an earlier duplicate-notify report among other faults; its primary access-violation crash was not observed here. #53182 describes a different notify placement defect. #28404 concerns desktop notify rewriting. Please route to the desktop configuration/computer-use owner.
No raw config, private paths, account data, session transcript, or trace is attached.
Activity
caoxiangcd commentedon Nov 19, 2026
I encountered what appears to be the same startup-blocking bug in Codex Desktop for Windows on 2026-11-19, after the installed version changed to 26.1111.9664.0.
The app failed to start with a TOML
duplicate keyerror at config.toml:14:1. Inspection showed two top-level entries for the same logical key:Deleting only the first (quoted, old-version)
"notify"entry restored normal startup immediately, without reinstalling the app or changing other settings.This is an additional real-world incident consistent with the quoted-TOML-key replacement defect described in this issue. I cannot independently prove which updater operation wrote the second line, but the versioned helper paths and successful one-line fix strongly support the reported failure mode.
Could the desktop/config/computer-use maintainers please prioritize a fix? Ideally, the updater would recognize quoted and unquoted TOML keys, validate the resulting configuration before committing it, and never let an optional notification-helper migration make the whole desktop app unlaunchable. Thanks!