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
Node REPL broken: sandboxPolicy missing in MCP request meta (version mismatch) #29211
Node REPL MCP server rejects all js calls with error:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field sandboxPolicy
Environment
Codex App: 26.616.5445.0 (Windows Store)
Codex CLI: 26.616.41845
Node REPL runtime: a89897d3d9baa117
OS: Windows 10 x64
Node: v24.14.0
Root Cause
The node_repl.exe binary requires sandboxPolicy field in MCP request _meta.codex/sandbox-state-meta, but Codex CLI (26.616.41845) does not inject this field. This is a version mismatch between the App and CLI/runtime.
Attempted Fixes (all failed)
Deleted and re-downloaded cua_node runtime (downloaded same broken version)
Replaced entire runtime with App's bundled version (26.616.5445)
The MCP request meta should be versioned or capability-negotiated. If the Node REPL runtime requires codex/sandbox-state-meta.sandboxPolicy, the client should either always include that field or fail startup with "runtime requires meta schema X, client provides Y."
A regression should pair old CLI/new runtime and new CLI/old runtime, then assert missing meta fields produce a compatibility diagnostic before user JS calls run. That beats surfacing a generic -32602 from inside the tool.
Activity
github-actions commentedon Jun 20, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
node_repl/jsfails with missingsandboxPolicy, breaking Chrome and Computer Use tools #29212sandboxPolicy#29193Powered by Codex Action
Necmttn commentedon Jun 21, 2026
The MCP request meta should be versioned or capability-negotiated. If the Node REPL runtime requires
codex/sandbox-state-meta.sandboxPolicy, the client should either always include that field or fail startup with "runtime requires meta schema X, client provides Y."A regression should pair old CLI/new runtime and new CLI/old runtime, then assert missing meta fields produce a compatibility diagnostic before user JS calls run. That beats surfacing a generic
-32602from inside the tool.Generated with ax.
sandboxPolicy#29193