codex - 💡(How to fix) Fix Codex Desktop resets global permission mode from Auto-review to Default after restart

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…

Root Cause

This creates a subtle workflow footgun. After restart, it is easy to launch or continue several threads before noticing that Auto-review was reset. Those threads then require repeated manual approvals until individually changed, which is especially painful when working across multiple concurrent threads.

Code Example

"agent-mode-by-host-id": {
  "local": "guardian-approvals"
},
"preferred-non-full-access-agent-mode-by-host-id": {
  "local": "guardian-approvals"
}
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using?

Codex Desktop 26.519.31651 (CFBundleVersion 3017)

What subscription do you have?

ChatGPT account; subscription tier not included here.

What platform is your computer?

macOS

What issue are you seeing?

Codex Desktop does not appear to persist the global/current permission mode across app restart.

I normally set the permission mode in the composer to Auto-review. While the app is running, threads seem to use the current selected review level. However, after quitting/restarting Codex Desktop, the permission mode resets back to Default permissions.

This is easy to miss. If I start or continue several threads after restart before noticing the reset, those threads use Default permissions and then continue requiring manual approvals until I manually switch them. Changing one thread back to Auto-review does not update the other threads that already picked up Default permissions.

Steps to reproduce

  1. Open Codex Desktop on macOS.
  2. In the composer permission control, select Auto-review.
  3. Quit and restart Codex Desktop.
  4. Open a thread or start several threads.
  5. Observe that the composer permission mode has reset to Default permissions rather than remaining on Auto-review.
  6. If several threads are started/used before noticing the reset, each remains on Default permissions until changed manually.

Expected behavior

Codex Desktop should persist the user-selected global/current permission mode across app restart. If the user selected Auto-review before quitting, the app should come back with Auto-review selected, or clearly explain why it intentionally reset to Default permissions.

Actual behavior

After restart, the selected permission mode is back to Default permissions. Threads started or used while the app is in that reset state inherit/use Default permissions, leading to repeated manual approval prompts.

Local evidence

The local global state file appears to remember an internal preferred mode:

"agent-mode-by-host-id": {
  "local": "guardian-approvals"
},
"preferred-non-full-access-agent-mode-by-host-id": {
  "local": "guardian-approvals"
}

But the Desktop UI still comes back on Default permissions after restart rather than preserving the Auto-review selection.

Why this matters

This creates a subtle workflow footgun. After restart, it is easy to launch or continue several threads before noticing that Auto-review was reset. Those threads then require repeated manual approvals until individually changed, which is especially painful when working across multiple concurrent threads.

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…

FAQ

Expected behavior

Codex Desktop should persist the user-selected global/current permission mode across app restart. If the user selected Auto-review before quitting, the app should come back with Auto-review selected, or clearly explain why it intentionally reset to Default permissions.

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 Codex Desktop resets global permission mode from Auto-review to Default after restart