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
{{ message }}
Repository navigation
Sandbox settings in config.toml profile are not respected #3034
I am following the docs as best I can and believe I have the profile set up correctly. But I can't get codex to start in workspace-write mode automatically.
I can confirm the same bug, sandbox_mode is not obeyed when set under the profile group.
The only way i could found to bypass this behavior but still use the config.toml file to set sandbox_mode key - i had to put it top-level(outside any sections) at begging of file.
@bitops, if you haven't already done so, please upvote this issue if you want to see this implemented / fixed. We take upvotes into consideration when determining what features or bug fixes to prioritize.
Edit: Never mind. I just noticed that you opened the issue.
Activity
bitops commentedon Sep 2, 2025
I am following the docs as best I can and believe I have the profile set up correctly. But I can't get codex to start in
workspace-writemode automatically.xylik commentedon Sep 4, 2025
I can confirm the same bug, sandbox_mode is not obeyed when set under the profile group.
The only way i could found to bypass this behavior but still use the config.toml file to set sandbox_mode key - i had to put it top-level(outside any sections) at begging of file.
Version of codex-cli 0.29.0, ubuntu 24.0. wsl
bitops commentedon Sep 7, 2025
I am able to work around this issue by specifying the permutation of options I want via multiple instances of the
-cparameter.Jonas1312 commentedon Sep 8, 2025
#2397
bconrad162 commentedon Sep 9, 2025
So annoying. I have to set the sandbox mode using codex --sandbox workspace-write but doesn't work with exec. When is this PR going to get merged?
bitops commentedon Oct 13, 2025
@bolinfest 👋
bitops commentedon Oct 25, 2025
@bolinfest do you know if there is any timeline for this to get fixed?
etraut-openai commentedon Oct 25, 2025
@bitops, if you haven't already done so, please upvote this issue if you want to see this implemented / fixed. We take upvotes into consideration when determining what features or bug fixes to prioritize.
Edit: Never mind. I just noticed that you opened the issue.
Added support for `sandbox_mode` in profiles
Added support for `sandbox_mode` in profiles (#5686)
etraut-openai commentedon Oct 25, 2025
@bitops, this will be addressed in the next release. Thanks for your patience.
Added support for `sandbox_mode` in profiles (openai#5686)
Added support for `sandbox_mode` in profiles (openai#5686)
Added support for `sandbox_mode` in profiles (openai#5686)
Added support for `sandbox_mode` in profiles (openai#5686)