mirror of
https://github.com/deepseek-ai/awesome-deepseek-agent.git
synced 2026-11-05 01:07:37 +00:00
[GH-ISSUE #105] docs(codex): document sandbox_mode config requirement for write access #39
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/awesome-deepseek-agent#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Jarvis-Baba on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/deepseek-ai/awesome-deepseek-agent/issues/105
Problem
The Codex integration guide (docs/codex.md) generates a config.toml without
sandbox_mode. This defaults toread-only, which means:exec→echo > filefailsapply_patchtool cannot write filesRoot cause
The correct config key is
sandbox_mode(notsandbox). Valid values:read-only(default)workspace-write— allows writes to workspace, /tmp, memoriesdanger-full-access— full disk write accessWhen
sandbox_modeis not explicitly set, Codex defaults toread-onlyand ALL file mutations fail regardless of the model's capability.Evidence
Tested with Moon Bridge + DeepSeek V4 + Codex CLI v0.128.0:
With
workspace-write, DeepSeek V4 successfully:echo > /tmp/file.pyapply_patchwith correct git diff formatSuggested fix
Add a note in the Codex integration guide about setting
sandbox_modein config.toml:Or update the config generation to include this setting by default.
Related
@BenedictKing commented on GitHub (May 14, 2026):
试试 #55 完美接入codex和claude,还能无缝切换其他渠道
@mustardwheat commented on GitHub (May 14, 2026):
PR merged.