You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What terminal emulator and version are you using (if applicable)?
Terminal.app
What issue are you seeing?
In recent updates the approval mode called “read-only” either no longer appears in the CLI selectors. When selecting what used to be read-only, I observe that read-only mode no longer triggers on-demand approvals for edits — commands execute without prompting or force the CLI to use auto mode. This differs from historical behavior where every edit in read-only mode would explicitly ask for user approval. I expect to be prompted for approval before any file change when in read-only mode.
What steps can reproduce the bug?
Run codex --version and confirm 0.101
Start CLI in a directory with files
Run /approvals and try selecting “Read Only”
Request a file edit (e.g. some simple change)
→ CLI either does not prompt for approval or defaults to auto mode. Older behavior used to require approval.
What is the expected behavior?
Read-only/approval mode should explicitly ask for permission before any write or command that modifies files.
Additional information
Multiple similar issues have been reported on GitHub regarding approval and read-only interactions not working as intended.
Reacted by Ben, Caspian Ireland, eborremans, Javier Parrao, Karel Bilek, svetozar02, Adam Leko, Koloszár Gergely, janossarossy, Evgeny Latyshev and 33 more
This change was intentional and was an attempt to simplify the approval UI, which many users found difficult to understand.
I've changed this from a bug report to an enhancement request, and we can see if it gets upvotes.
Reacted by robertmylne, Ikramul Alam, Ostrichbeta Chan, Hristo Vassilev, superpositionedpixel, James Han, Pépol, Shresth-Garg, Julian Picht, steve-unified and 21 more
I put together a scoped fix that keeps /permissions behavior unchanged, but restores Read Only under /approvals (legacy command). That keeps the simpler default UX while still giving users an explicit read-only path when they ask for approvals directly.
Proposed behavior:
/permissions on non-Windows: Default, Full Access (unchanged)
@yash27-lab, we are not accepting PRs from external contributors. Please review our contribution guidelines. As I mentioned, this change was intended, so we don't consider it a bug.
Reacted by Ostrichbeta Chan, Hristo Vassilev, superpositionedpixel, James Han, Julian Picht, steve-unified, Kyle Avery, Artem Ageev, Shresth-Garg, Anthony Giang and 13 more
This change was intentional and was an attempt to simplify the approval UI, which many users found difficult to understand.
I've changed this from a bug report to an enhancement request, and we can see if it gets upvotes.
Hi, I strongly believe this is not a good solution for the problem.
I'm working on a complex CUDA/C++ codebase, and quite often Codex attempts to apply incorrect changes, duplicate code, or modifications that lack full context, or bad-performance code in hot paths.
In those situations, I need to review the proposed diff carefully and provide feedback before anything is applied.
With auto-apply enabled, this could severely damage the codebase before I have the opportunity to reject or correct the changes.
For my work, manual review before applying changes is critical.
Reacted by DING Yu, Adam Leko, Koloszár Gergely, Evgeny Latyshev, Tolgay Toklar, robertmylne, Ostrichbeta Chan, Hristo Vassilev, superpositionedpixel, Pépol and 20 more
@latyshev It is still a pain to change approval modes on the fly. Sometimes you know the model will do everything correctly and you just want to allow it, then switch back to read-only mode.
I can’t believe they removed this option instead of keeping it as a configurable setting. You could still set the default to agent mode.
I believe they should also add a Shift+Tab shortcut to cycle through approval modes, similar to how it works in Claude Code. It’s an excellent feature.
Reacted by Evgeny Latyshev, Javier Parrao, bdicasa, Ben, robertmylne, Sean McGuire, Pépol, Kyle Avery, Artem Ageev, Jonas and 5 more
That said, I fully agree with @tolgaytoklar. Changing approval behavior on the fly is frustrating and disrupts established workflows.
I don’t understand why the option was removed instead of simply making the new behavior the default while keeping it toggleable. Even if the default had changed, that wouldn’t be an issue — but removing the choice entirely is what makes it problematic.
This change felt abrupt and ended up breaking several workflows that relied on read-only mode behavior. Predictability and explicit control are especially important in complex or sensitive codebases.
Reacted by Ben, Pépol, Julian Picht, superpositionedpixel and Bernat Foj Capell
Setting sandbox_mode to read-only in config.toml shows a 3rd Option for approvals (Custom) ... upon selecting this the old behavior seems to be restored for me
This change was intentional and was an attempt to simplify the approval UI, which many users found difficult to understand.
I've changed this from a bug report to an enhancement request, and we can see if it gets upvotes.
No, it isn't. It's a coercion mechanism by which you try to force users to give more control to agents than they want to. I suspect if you didn't fear the backlash from people's systems being thrashed you would force full control. There is no way anyone was ever confused by what read-only permissions meant.
A temporary workaround is probably to limit the program's permissions at the OS level. Although I wouldn't be surprised if they'll check for that and refuse to run to be extra coercive.
Reacted by thebobbyboy420, Pépol, Julian Picht, Kyle Avery, superpositionedpixel, Bernat Foj Capell, Abiel Rodriguez and bff-river
Thanks for the feedback. We're discussing options here and are looking at how to bring this back. We want to do so in a way that takes into account the feedback from other users that led us to remove this in the first place.
Reacted by Javier Parrao, Okada Haruki, Kyle Avery and John Yeap
This change was intentional and was an attempt to simplify the approval UI, which many users found difficult to understand.
I've changed this from a bug report to an enhancement request, and we can see if it gets upvotes.
No, it isn't. It's a coercion mechanism by which you try to force users to give more control to agents than they want to. I suspect if you didn't fear the backlash from people's systems being thrashed you would force full control. There is no way anyone was ever confused by what read-only permissions meant.
A temporary workaround is probably to limit the program's permissions at the OS level. Although I wouldn't be surprised if they'll check for that and refuse to run to be extra coercive.
so true bro, i have codex skills disabled and it still tries to use them. going to file a bug report later today
I’m seeing the same issue.
I get nervous when prompting something like “could you do X without making any edits,” because it could still affect or even corrupt my current uncommitted changes.
This change was intentional and was an attempt to simplify the approval UI, which many users found difficult to understand.
I understand that repeated approval prompts can feel annoying to some users and may create support overhead, but that does not mean explicit permission before making changes is unnecessary.
I have a huge codebase and don trust it change all without knowing if is correct or not, and i hate save all the code on git to be able to roll back.. it simple do not have sense
i put read-only on config.toml and now it simple nagate to make anything if i not configure a sandbox to write mode. ??=¿=¿?
I constantly ran into the issue when doing PR reviews, even using the builtin /review didn't stop codex from changing files and complaining about those changes. I have tried yelling REMEMBER: READ ONLY with every input, but that got old fast, leading me to switch away from codex.
Without the read-only option codex is useless as a review tool.
Reacted by Artem Ageev, superpositionedpixel, Bernat Foj Capell, Alan Mishler and Cynthia Ebert
I must go away from using it now. It cannot revert to older versions and gives an error every time. It is unusable; it creates and changes files as it wants. I am waiting for a fix and using Cline in between.
Activity
[-]Approval mode "read-only" behavior removed[/-][+]Approval mode "read-only" option removed[/+][-]Approval mode "read-only" option removed[/-][+]Approval mode "read-only" option[/+]etraut-openai commentedon Feb 16, 2026
This change was intentional and was an attempt to simplify the approval UI, which many users found difficult to understand.
I've changed this from a bug report to an enhancement request, and we can see if it gets upvotes.
yash27-lab commentedon Feb 16, 2026
I put together a scoped fix that keeps
/permissionsbehavior unchanged, but restoresRead Onlyunder/approvals(legacy command). That keeps the simpler default UX while still giving users an explicit read-only path when they ask for approvals directly.Proposed behavior:
/permissionson non-Windows:Default,Full Access(unchanged)/approvals:Read Only,Default,Full AccessI’ll open a PR and link it here. #11931
etraut-openai commentedon Feb 16, 2026
@yash27-lab, we are not accepting PRs from external contributors. Please review our contribution guidelines. As I mentioned, this change was intended, so we don't consider it a bug.
CptRenko commentedon Feb 17, 2026
Hi, I strongly believe this is not a good solution for the problem.
I'm working on a complex CUDA/C++ codebase, and quite often Codex attempts to apply incorrect changes, duplicate code, or modifications that lack full context, or bad-performance code in hot paths.
In those situations, I need to review the proposed diff carefully and provide feedback before anything is applied.
With auto-apply enabled, this could severely damage the codebase before I have the opportunity to reject or correct the changes.
For my work, manual review before applying changes is critical.
latyshev commentedon Feb 19, 2026
@CptRenko you can set the
trust_leveltountrustedin~/.codex/config.toml. This will return approvals back.tolgaytoklar commentedon Feb 19, 2026
@latyshev It is still a pain to change approval modes on the fly. Sometimes you know the model will do everything correctly and you just want to allow it, then switch back to read-only mode.
I can’t believe they removed this option instead of keeping it as a configurable setting. You could still set the default to agent mode.
I believe they should also add a Shift+Tab shortcut to cycle through approval modes, similar to how it works in Claude Code. It’s an excellent feature.
CptRenko commentedon Feb 19, 2026
Thanks @latyshev — that’s better than nothing.
That said, I fully agree with @tolgaytoklar. Changing approval behavior on the fly is frustrating and disrupts established workflows.
I don’t understand why the option was removed instead of simply making the new behavior the default while keeping it toggleable. Even if the default had changed, that wouldn’t be an issue — but removing the choice entirely is what makes it problematic.
This change felt abrupt and ended up breaking several workflows that relied on read-only mode behavior. Predictability and explicit control are especially important in complex or sensitive codebases.
karim-elessawy-arm commentedon Feb 20, 2026
Setting
sandbox_modetoread-onlyin config.toml shows a 3rd Option for approvals (Custom) ... upon selecting this the old behavior seems to be restored for mee8y commentedon Feb 22, 2026
+1
Need a way to quickly toggle read-only within the same session.
bogdan-barbu commentedon Feb 25, 2026
No, it isn't. It's a coercion mechanism by which you try to force users to give more control to agents than they want to. I suspect if you didn't fear the backlash from people's systems being thrashed you would force full control. There is no way anyone was ever confused by what read-only permissions meant.
A temporary workaround is probably to limit the program's permissions at the OS level. Although I wouldn't be surprised if they'll check for that and refuse to run to be extra coercive.
Carmezim commentedon Feb 25, 2026
Put this back please
etraut-openai commentedon Feb 25, 2026
Thanks for the feedback. We're discussing options here and are looking at how to bring this back. We want to do so in a way that takes into account the feedback from other users that led us to remove this in the first place.
thebobbyboy420 commentedon Mar 5, 2026
so true bro, i have codex skills disabled and it still tries to use them. going to file a bug report later today
jamesHanKey commentedon Mar 6, 2026
I’m seeing the same issue.
I get nervous when prompting something like “could you do X without making any edits,” because it could still affect or even corrupt my current uncommitted changes.
This change was intentional and was an attempt to simplify the approval UI, which many users found difficult to understand.
I understand that repeated approval prompts can feel annoying to some users and may create support overhead, but that does not mean explicit permission before making changes is unnecessary.
godspeedpepol commentedon Mar 6, 2026
I have a huge codebase and don trust it change all without knowing if is correct or not, and i hate save all the code on git to be able to roll back.. it simple do not have sense
i put read-only on config.toml and now it simple nagate to make anything if i not configure a sandbox to write mode. ??=¿=¿?
jpicht commentedon Mar 11, 2026
I constantly ran into the issue when doing PR reviews, even using the builtin
/reviewdidn't stop codex from changing files and complaining about those changes. I have tried yelling REMEMBER: READ ONLY with every input, but that got old fast, leading me to switch away fromcodex.Without the read-only option
codexis useless as a review tool.godspeedpepol commentedon Mar 11, 2026
I must go away from using it now. It cannot revert to older versions and gives an error every time. It is unusable; it creates and changes files as it wants. I am waiting for a fix and using Cline in between.
codereptile commentedon Mar 14, 2026
I guess we're canceling our plans and moving to claude. Thank god there's an alternative.
andrewchen5678 commentedon May 5, 2026
This and #9203 together hurts ux a lot for codex where other coding agents don't have similar issues and keeps me away from using codex more.
hyperbetteri commentedon Sep 1, 2026
Public-safe control pattern: READ_ONLY must be an invariant, not a label
Author: Almási Andor Aladár
A reliable read-only mode should have a simple hard contract:
READ_ONLYmay inspect, search, hash, compare, and report.Prompt wording can reinforce this behavior, but a genuine read-only guarantee has to be enforced below the model layer.
Copyright © 2026 Almási Andor Aladár. Public-safe excerpt; no disclosure or license of the underlying private architecture.