Windows sandbox helper fails when patching an existing file
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- operating-systems, security
Research direction
Start by reproducing the Windows sandbox failure using the normal patch tool: create test.txt, then modify its existing line and read back the contents. Trace the source of windows sandbox: helper_unknown_error and compare the existing-file path with the successful file-creation path. Done means existing files can be modified and read back without the helper error.
Written by the indexing model from the issue text.
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.715.4045.0
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
The Codex Windows app can create a new file, but modifying an existing file with
the normal patch tool fails immediately with windows sandbox: helper_unknown_error.
What steps can reproduce the bug?
Feedback ID: no-active-thread-019f74d1-1792-7a51-88bf-84d438e78a85
- Open a disposable local folder outside Google Drive and outside Git.
- Ask Codex to create test.txt using the normal patch tool.
- File creation succeeds.
- Ask Codex to modify the existing line in test.txt.
- It immediately fails with windows sandbox: helper_unknown_error.
Codex was updated and Windows was fully restarted before repeating the test.
The failure still occurred.
What is the expected behavior?
Codex should modify the existing test.txt file and read back the updated contents without a sandbox/helper error.
Additional information
Actual behavior:
Creating test.txt with the normal patch tool succeeds, but modifying the existing
file immediately fails with:
windows sandbox: helper_unknown_error
I reproduced this in a disposable local folder outside Google Drive and outside
a Git repository. I updated Codex and fully restarted Windows before testing
again. File creation still succeeded, but modification still failed.
Reproduction:
- Open a disposable local folder.
- Ask Codex to create test.txt using the normal patch tool.
- Ask Codex to change the existing line.
- The sandbox helper error occurs immediately.
Feedback ID:
no-active-thread-019f74d1-1792-7a51-88bf-84d438e78a85
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·