Corry
Corry
Ok, the only way I can determine to fix Codex for this issue is: ``` +++ b/codex-rs/core/src/seatbelt_base_policy.sbpl @@ -69,3 +69,4 @@ ; Added on top of Chrome profile ; Needed...
Modifying the sandbox policy itself and recompiling is the only complete fix I have found. I don't understand the sandbox enough to say why Codex's own templating is failing.
@dylan-hurd-oai Are you able to run a command like the following in a project? ``` codex debug seatbelt uv run python --version ``` I cannot get this to work by...
I've tried it, or something like it, along the way. But I will try it again in the morning and report back 👍
@dylan-hurd-oai I tried `codex -s workspace-write -c "sandbox.writable_roots=['/Users/corry/.cache/uv']"` and got the usual error: ``` >_ OpenAI Codex (v0.41.0) [...] I am testing something, please run `uv run python --version` and...
@dylan-hurd-oai Well, there is progress. I tried something like that in the past and it didn't work. But now at least it produces a _different_ error: ``` codex -s workspace-write...
@dylan-hurd-oai ok, the NULL panic appears to be resolvable with the following patch (based substantially on GPT-5 guidance). I am not sure _why_ this is specific to my environment though,...
Note that with this fix I very shortly ran into the issue in #2486 (which had PR #2494 to fix it, that was inexplicably closed). So I added that fix...
I have been using the patch above, applied to 0.41 and 0.42, for the last several days of heavy use on a python project and it has worked flawlessly. I...
FYI I am seeing a semi-adjacent issue where Codex is _extremely_ overeager to assume that all errors are sandbox errors, even when they obviously cannot be. I am tracking this...