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
Persist Codex overlay hook trust without the app-server CLI flag #1311
Follow-up to #1309 / PR #1310. Interactive Codex no longer passes --dangerously-bypass-hook-trust because live Codex 0.153.4 app-server rejects that exec-only flag (exit 2).
Isolated CODEX_HOME + -c features.hooks=true still enable hooks, but Codex skips untrusted command hooks until we persist trust (hooks.statetrusted_hash in the isolated home) or forward a JSON-RPC bypass_hook_trust override on thread/start.
Plan
Investigate live CLI trust file format and/or app-server thread/start request config.
Write trust for Solenta overlay hooks so classifyTool still runs on interactive turns.
Do not restore the crashing CLI flag on app-server.
Interactive Codex overlay now persists hooks.statetrusted_hash for Solenta PreToolUse (live 0.153.4 format: [hooks.state."<realpath(hooks.json)>:pre_tool_use:0:0"]). Isolated config.toml is copied, not symlinked. app-server still omits --dangerously-bypass-hook-trust; workflow/exec still passes it.
Verified: unit tests in electron/test/codex-guardrail-hook.test.js, codex.test.js, codex-guardrail-remote.test.js; live hooks/list reports trustStatus: trusted on a materialized overlay.
Activity
currentbits commentedon Sep 11, 2026
Interactive Codex overlay now persists
hooks.statetrusted_hashfor Solenta PreToolUse (live 0.153.4 format:[hooks.state."<realpath(hooks.json)>:pre_tool_use:0:0"]). Isolatedconfig.tomlis copied, not symlinked. app-server still omits--dangerously-bypass-hook-trust; workflow/exec still passes it.Verified: unit tests in
electron/test/codex-guardrail-hook.test.js,codex.test.js,codex-guardrail-remote.test.js; livehooks/listreportstrustStatus: trustedon a materialized overlay.