Skip to content

macOS Computer Use ignores CODEX_HOME and recreates ~/.codex/config.toml #33635

Open

Description

@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.

Activity

  1. added
    app
    on Jul 16, 2026
  2. added
    bug
    config
    on Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugcomputer-useconfig

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions