Codex rust-v0.173.0: blocking hooks, shared MCP connections and admin control over updates
OpenAI shipped Codex rust-v0.173.0. Synchronous command and MCP tool hooks can now set onFailure to block, so a failed PreToolUse check stops the tool from running; MCP connections are shared by default; and administrators can block scheduled and manual…
Why it matters
Teams running Codex under security policy can now make hooks a hard gate and pin versions across the organization.
What happened
1 min readOpenAI shipped Codex rust-v0.173.0. Synchronous command and MCP tool hooks can now set onFailure to block, so a failed PreToolUse check stops the tool from running; MCP connections are shared by default; and administrators can block scheduled and manual daemon updates with features.daemon_updates = false. It also adds custom status-line alignment, automatic OAuth discovery from a config server, and a batch of bug fixes.
Our analysis
The change that matters most for organizations is the block option on hooks: until now a failed check did not necessarily stop the tool, and this brings Codex closer to Claude Code's blocking-hook model. Daemon update control through requirements.toml or MDM shows OpenAI leaning into managed enterprise deployments. Sharing MCP connections by default should cut resource use, but servers that keep per-session state may behave differently, so test those. The rest is incremental UI polish.