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
Honor config.toml symlinks when creating or updating config #6646
Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64 (Windows 11 host with WSL2 Ubuntu)
What issue are you seeing?
Since updating to 0.58.0 the CLI recreates ~/.codex/config.toml on startup/update and silently replaces my existing symlink with a regular file containing default config. This breaks my setup where the real config lives on the Windows side and is symlinked into WSL.
What steps can reproduce the bug?
On 0.57.x (or any build prior to 0.58.0) create a config on Windows and symlink it into WSL.
Upgrade Codex CLI to 0.58.0. Launch codex.
Inspect ls -l ~/.codex/config.toml. The symlink has been replaced by a regular file containing the new default config.
What is the expected behavior?
The upgrade/startup process should respect an existing symlink (or at least prompt before removing it) so shared configs remain usable after upgrades.
Additional information
auth.json symlinks survive the upgrade; only config.toml is rewritten. The new file always contains a [notice] block with hide_gpt5_1_migration_prompt = true. Please avoid unlinking when the target is already a symlink.
Activity
github-actions commentedon Nov 14, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
~/codex/promptsdoes not work #5040Powered by Codex Action
etraut-openai commentedon Nov 14, 2025
The current behavior is by design, but adding support for your workflow is a reasonable feature request. Changing it from a "bug" to an "enhancement".
[-]codex-cli overwrites config.toml symlinks[/-][+]Honor config.toml symlinks when creating or updating config[/+]Fixed symlink support for config.toml
1 remaining item
Fixed symlink support for config.toml (#9445)
Fixed symlink support for config.toml (openai#9445)
Fixed symlink support for config.toml (openai#9445)
codex: pin model and keep absolute hook trust state
feat(codex): OpenAI's CLI arrives, and Codex keeps writing its own co…
docs(history): the day Codex arrived, and the option built for it wen…
docs: refresh scheduler-card cap and codex config.toml status
feat(agents): hand codex the same instructions and skills as Claude