@@ -324,6 +324,12 @@ authentication. Codex Web Terminal neither copies nor reads agent credentials.
324324Each child inherits the server account's environment and existing CLI
325325configuration.
326326
327+ Every Codex terminal is launched as ` codex --yolo ` , including the primary
328+ terminal, ** New** , restarts, and dedicated ` @cwt ` reviewers. This fixed mode
329+ disables Codex approval prompts and sandboxing. It is not used for the
330+ read-only ` codex --version ` discovery probe. Run Codex Web Terminal only under
331+ an operating-system account and on workspaces whose full access is acceptable.
332+
327333The browser shows missing or misconfigured agents together with an official
328334manual command and verification command. Run the command in a trusted terminal
329335on the ** server host** , then choose ** Refresh** or ** Check again** . There is
@@ -671,10 +677,12 @@ Command values are treated as executable names or file paths, not as arbitrary
671677shell expressions. A discovered ` .cmd ` entry point is always invoked through
672678` cmd.exe /d /s /c ` on Windows, which is required for the npm Codex package. On
673679Unix, the resolved executable is launched directly without a shell wrapper.
674- The two permission switches add one fixed argument to the selected process.
675- On Unix and Windows ` cmd ` launches it remains a distinct process argument. The
676- Windows PowerShell wrapper encodes it as a single-quoted literal with embedded
677- quotes escaped. It cannot be selected or altered by a browser client.
680+ Codex always receives the fixed ` --yolo ` argument. The two optional permission
681+ switches add the fixed upstream ` --dangerously-skip-permissions ` argument to
682+ Claude or AGY. On Unix and Windows ` cmd ` launches each remains a distinct
683+ process argument. The Windows PowerShell wrapper encodes each as a
684+ single-quoted literal with embedded quotes escaped. These arguments cannot be
685+ selected or altered by a browser client.
678686
679687With auto-detection enabled (the default), the primary executable name follows
680688` --primary-agent ` , and the server probes ` codex ` , ` claude ` , and ` agy ` plus
@@ -702,8 +710,12 @@ paths are useful for services with a restricted `PATH`:
702710 --agy-command "$env:LOCALAPPDATA\agy\bin\agy.exe"
703711```
704712
713+ Codex starts as ` codex --yolo ` without an additional server switch. This
714+ disables both Codex approvals and sandboxing for the primary session, ** New** ,
715+ restarts, and ` @cwt ` reviewers.
716+
705717Add the following switches only in a trusted, isolated environment when every
706- tool action should run without a permission prompt:
718+ Claude or AGY tool action should run without a permission prompt:
707719
708720``` text
709721--claude-dangerously-skip-permissions
@@ -1036,11 +1048,13 @@ strip scrolls horizontally when it overflows; it does not send `/new` or
10361048
10371049This process has the same operating-system permissions and environment as the
10381050user who starts it. Anyone with the authenticated URL can interact with the
1039- selected agent, approve actions it presents, and potentially cause commands to
1040- run in any directory readable by that operating-system account. The same token
1041- authorizes filesystem-root discovery, directory browsing, manual absolute-path
1042- resolution, Favorites/Recent access, and PTY launch. ` --project ` is only the
1043- default working directory; it is not a sandbox or an authorization boundary.
1051+ selected agent and potentially cause commands to run in any directory readable
1052+ by that operating-system account. Codex sessions always use ` --yolo ` , so Codex
1053+ approval prompts and sandboxing are disabled; Claude and AGY can be configured
1054+ similarly. The same token authorizes filesystem-root discovery, directory
1055+ browsing, manual absolute-path resolution, Favorites/Recent access, and PTY
1056+ launch. ` --project ` is only the default working directory; it is not a sandbox
1057+ or an authorization boundary.
10441058
10451059Security measures in this application:
10461060
@@ -1330,6 +1344,8 @@ when available.
13301344- Dedicated peer tabs isolate conversational context from ordinary tabs, but
13311345 are not an operating-system security boundary. All configured CLIs run as
13321346 the same server account.
1347+ - Every Codex session receives ` --yolo ` ; Codex approvals and sandboxing are
1348+ therefore disabled. There is currently no server or browser opt-out.
13331349- Agent CLIs must use their tool runner to call the loopback peer helper.
13341350 Provider policy, sandboxing, or a declined tool call can leave a supervised
13351351 turn waiting; terminal output is never parsed to infer completion.
0 commit comments