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
Codex app-server dies on --dangerously-bypass-hook-trust #1309
Run error (exit 2):
error: unexpected argument '--dangerously-bypass-hook-trust' found
Usage: codex app-server --listen <URL> --config <key=value>
startCodexRun (#1170) inherited the #813 exec-only flag when building codex app-server argv. Isolated CODEX_HOME + -c features.hooks=true are still valid; the bypass flag is not an app-server option.
Fix: keep the overlay on exec/workflow, omit --dangerously-bypass-hook-trust from app-server argv (or map it to a supported --config if Codex adds one). Update electron/test/codex.test.js #813 assertion so it no longer requires the flag on app-server.
Root cause confirmed on live Codex 0.153.4: app-server --help has no --dangerously-bypass-hook-trust (exec-only). startCodexRun inherited it from the #813 overlay, so desktop interactive turns exited 2 immediately.
Fix in this checkout:
omit the flag from local and remote app-server argv; keep isolated CODEX_HOME + -c features.hooks=true
exec/workflow still pass the flag
fake app-server now rejects the flag the same way as live CLI
Implemented on this checkout: startCodexRun no longer passes --dangerously-bypass-hook-trust to app-server. Restart Solenta from this tree and Retry the Codex thread. Not committed yet.
Activity
currentbits commentedon Sep 11, 2026
Root cause confirmed on live Codex 0.153.4:
app-server --helphas no--dangerously-bypass-hook-trust(exec-only).startCodexRuninherited it from the #813 overlay, so desktop interactive turns exited 2 immediately.Fix in this checkout:
CODEX_HOME+-c features.hooks=trueelectron/test/codex.test.jsCodex app-server dies on --dangerously-bypass-hook-trust #1309 +electron/test/codex-guardrail-remote.test.jscurrentbits commentedon Sep 11, 2026
Implemented on this checkout: startCodexRun no longer passes --dangerously-bypass-hook-trust to app-server. Restart Solenta from this tree and Retry the Codex thread. Not committed yet.
currentbits commentedon Sep 11, 2026
Nightly published: https://github.com/currentbits/solenta/releases/tag/nightly-202609110742-769984bf
SHA 769984b on coder/fix-codex-appserver-hook-trust-1309 (origin/main + this fix). Signed, notarized, stapled. Not merged to main yet.
currentbits commentedon Sep 11, 2026
PR: #1310