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 inheriting
CODEX_HOME=$HOME/.config/codex. The file contains only its turn-ended
notify hook, creating two conflicting configuration roots.

What steps can reproduce the bug?

  1. Set CODEX_HOME=$HOME/.config/codex.
  2. Ensure $CODEX_HOME/config.toml exists and ~/.codex does not.
  3. Start SkyComputerUseService.
  4. Observe that ~/.codex/config.toml is 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.

View original on GitHub ↗