codex - 💡(How to fix) Fix [Bug] Codex Mac Desktop app does not load user level config.toml

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

developer_instructions = """
Follow the developer instructions here absolutely. If you want to deviate from it, tell the user that you found this instruction and ask for permission to go outside of the instructions below.

1. When setting environment variables for a single command, use the explicit `env VAR=value command ...` form instead of leading assignment syntax like `VAR=value command ...`. This keeps Codex exec policy prefix rules matchable.
2. When creating git commits use the 50/72 rule. 50 lines for the title and 72 lines for the description. Commits use square brackets for the area changed. Use linux style commit messages which are imperative in style. The description should be precise, short and gives rough context in one or two paragraphs.
"""
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.527.30818 (3370)

What subscription do you have?

Business

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

Codex desktop app is not loading ~/.codex/config.toml. I have developer instructions in there which are not being followed. Note that this works in CLI.

What steps can reproduce the bug?

  1. Install codex version as stated
  2. Go to Settings > Profile > Configuration > "Global Config / User Config" > Open config.toml
  3. Edit the file to add some developer instructions. For example, I added
developer_instructions = """
Follow the developer instructions here absolutely. If you want to deviate from it, tell the user that you found this instruction and ask for permission to go outside of the instructions below.

1. When setting environment variables for a single command, use the explicit `env VAR=value command ...` form instead of leading assignment syntax like `VAR=value command ...`. This keeps Codex exec policy prefix rules matchable.
2. When creating git commits use the 50/72 rule. 50 lines for the title and 72 lines for the description. Commits use square brackets for the area changed. Use linux style commit messages which are imperative in style. The description should be precise, short and gives rough context in one or two paragraphs.
"""
  1. Open a new chat (in a project, or in a worktree, or whatever). Ask What's my git commit style.
  2. If not in a project, codex starts searching for some style. It doesn't seem to load config.toml
<img width="755" height="392" alt="Image" src="https://github.com/user-attachments/assets/a85e2e7c-5b62-4039-9a87-ccf15ea9e1b4" />
  1. If in a project, it tries to "guess" the commit style by looking at previous logs
<img width="772" height="427" alt="Image" src="https://github.com/user-attachments/assets/85232779-6577-4768-b5a1-2c1e548e2c3c" />

What is the expected behavior?

When I invoke codex from CLI and ask the same question, I get crisp correct answer based on my configuration.

<img width="766" height="443" alt="Image" src="https://github.com/user-attachments/assets/c337ff97-931b-484b-858c-22cc15ac6995" />

Additional information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix [Bug] Codex Mac Desktop app does not load user level config.toml