Skip to content

Commit 7ff3472

Browse files
authored
fix(ce-work-beta): update Codex sandbox flags to current CLI syntax (#770)
1 parent 4cc1ee6 commit 7ff3472

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/compound-engineering/skills/ce-work-beta/references/codex-delegation-workflow.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ If `consent_granted` is not true (from config `work_delegate_consent`):
6767

6868
Present a one-time consent warning using the platform's blocking question tool (`AskUserQuestion` in Claude Code, `request_user_input` in Codex, `ask_user` in Gemini, `ask_user` in Pi (requires the `pi-ask-user` extension)). The consent warning explains:
6969
- Delegation sends implementation units to `codex exec` as a structured prompt
70-
- **yolo mode** (`--yolo`): Full system access including network. Required for verification steps that run tests or install dependencies. **Recommended.**
71-
- **full-auto mode** (`--full-auto`): Workspace-write sandbox, no network access.
70+
- **yolo mode** (`--dangerously-bypass-approvals-and-sandbox`): Full system access including network. Required for verification steps that run tests or install dependencies. **Recommended.**
71+
- **full-auto mode** (`-s workspace-write`): Workspace-write sandbox, no network access by default. Network can be re-enabled by setting `network_access = true` under `[sandbox_workspace_write]` in `~/.codex/config.toml`.
7272

7373
Present the sandbox mode choice: (1) yolo (recommended), (2) full-auto.
7474

@@ -224,7 +224,7 @@ SANDBOX_MODE="<sandbox_mode>"
224224

225225
# Resolve sandbox flag
226226
if [ "$SANDBOX_MODE" = "full-auto" ]; then
227-
SANDBOX_FLAG="--full-auto"
227+
SANDBOX_FLAG="-s workspace-write"
228228
else
229229
SANDBOX_FLAG="--dangerously-bypass-approvals-and-sandbox"
230230
fi

0 commit comments

Comments
 (0)