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
bug(codex): workspace-write disables network, so every phase runs offline — no gh, no comments, no push #1079
Codex's workspace-write sandbox disables network access by default, and CodexDriver never turns it on. Every codex phase therefore runs offline: it cannot gh issue view the issue it is working on, cannot post a /spec plan or a QA verdict comment, and cannot git push.
Measured at $0 (2026-09-17, codex sandbox, run from inside a worktree)
Probe
default
-c 'sandbox_workspace_write.network_access=true'
gh issue view 1064
FAILED
OK
git ls-remote origin HEAD
—
OK
gh api user
—
OK
npm ping
—
OK
codex sandbox defaults to read-only, so a probe must pass -c 'sandbox_mode="workspace-write"' or it proves nothing.
Field evidence
Gate run 1 (#1060, subject #1064) left no /spec comment on the issue, and the orchestrator logged Could not parse spec recommendation. Both follow from this: the phase could not reach GitHub. The exec agent still produced a correct fix — by grepping the repo for 1064 and reconstructing the task from code, because it could not read the issue body. That makes run 1's output more impressive and far less meaningful than it first appeared.
Fix
Same shape as #1076: in buildCodexArgs, when the resolved sandbox mode is workspace-write, pass
-c 'sandbox_workspace_write.network_access=true'
with a run.codex.networkAccess setting (default true) so a user who wants phases sealed off can opt out. read-only and danger-full-access are untouched, as with the writable-root flag.
Scope note
This widens the sandbox, and that deserves saying plainly in the changelog: a codex phase can reach the network, exactly as a Claude Code phase already can. The alternative is a driver whose phases cannot participate in the workflow at all — no spec comment, no QA verdict, no PR.
Also observed
Hooks cannot write to the main checkout's .claude/ from inside a worktree phase (outside the workspace), so their timing logs fail silently under codex. Guard exits are unaffected — pre-tool.sh returned 0 on the allow path and 2 on git push --force under the sandbox — but token metrics sourced from those logs (#986) will be missing. Filing separately if it matters.
Activity
fix(#1079): enable network access for codex workspace-write phases (#…
docs(codex): reference page and troubleshooting, changelog backfill, …