macOS Computer Use ignores CODEX_HOME and recreates ~/.codex/config.toml
Open 💬 0 comments Opened Jul 16, 2026 by Kh05ifr4nD
What version of the Codex App are you using (From “About Codex” dialog)?
26.707.91948
What subscription do you have?
Pro 5x
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
SkyComputerUseService recreates ~/.codex/config.toml despite inheritingCODEX_HOME=$HOME/.config/codex. The file contains only its turn-ended
notify hook, creating two conflicting configuration roots.
What steps can reproduce the bug?
- Set
CODEX_HOME=$HOME/.config/codex. - Ensure
$CODEX_HOME/config.tomlexists and~/.codexdoes not. - Start
SkyComputerUseService. - Observe that
~/.codex/config.tomlis recreated.
What is the expected behavior?
Computer Use must use $CODEX_HOME/config.toml and must not recreate ~/.codex.
Additional information
The running service demonstrably inherits the correct CODEX_HOME.
Related to #28404, but this report concerns writing into the wrong home.