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/OpenCode ssh/WSL turns skip pre-exec classifyTool; deny-tier tools run #835
runner.js still skips isolated CODEX_HOME PreToolUse and OPENCODE_CONFIG_DIR when crossesBoundary(project) (ssh/WSL). Cursor and Kimi now deploy a remote overlay (#834); Grok already does (#821). Codex (hooks.json + --dangerously-bypass-hook-trust) and OpenCode (plugin in OPENCODE_CONFIG_DIR) have no remote pre-exec seam — a deny-tier tool on an ssh/WSL turn can run before the stream notice.
Seams (do not invent control_request)
Codex: remote $HOME/.solenta/codex-homes/<threadId> + wrap env CODEX_HOME= via electron/ssh.jsboundaryArgv. Keep --dangerously-bypass-hook-trust and -c features.hooks=true on argv (they already survive wrapCommand).
Implemented on coder/fork-fork-fork-fork-solenta-guardrail-de-016312.
Codex and OpenCode ssh/WSL turns now deploy a remote overlay and prefix wrap env (CODEX_HOME / OPENCODE_CONFIG_DIR) via boundaryArgv. Tests: electron/test/codex-guardrail-remote.test.js and electron/test/opencode-guardrail-remote.test.js fail if a deny-tier tool on a crossesBoundary turn produces no block.
Local overlays and Claude control_request unchanged. Workflow skipOverlay still skips (out of scope).
Verified on main (2026-10-03 board cleanup). Codex and OpenCode ssh/WSL turns deploy a remote guardrail overlay and pass CODEX_HOME / OPENCODE_CONFIG_DIR through resolveSpawn: electron/runner.js:5094-5104 and 6200-6206. Covered by electron/test/codex-guardrail-remote.test.js and opencode-guardrail-remote.test.js. Note: hook trust is now written into the overlay config.toml rather than passed as --dangerously-bypass-hook-trust (#1309/#1311).
Activity
currentbits commentedon Sep 2, 2026
Implemented on
coder/fork-fork-fork-fork-solenta-guardrail-de-016312.Codex and OpenCode ssh/WSL turns now deploy a remote overlay and prefix wrap env (
CODEX_HOME/OPENCODE_CONFIG_DIR) viaboundaryArgv. Tests:electron/test/codex-guardrail-remote.test.jsandelectron/test/opencode-guardrail-remote.test.jsfail if a deny-tier tool on acrossesBoundaryturn produces no block.Local overlays and Claude
control_requestunchanged. WorkflowskipOverlaystill skips (out of scope).currentbits commentedon Oct 3, 2026
Verified on main (2026-10-03 board cleanup). Codex and OpenCode ssh/WSL turns deploy a remote guardrail overlay and pass
CODEX_HOME/OPENCODE_CONFIG_DIRthroughresolveSpawn: electron/runner.js:5094-5104 and 6200-6206. Covered by electron/test/codex-guardrail-remote.test.js and opencode-guardrail-remote.test.js. Note: hook trust is now written into the overlay config.toml rather than passed as--dangerously-bypass-hook-trust(#1309/#1311).