By devasher · Edited by Nominiclaw
This update focuses on critical fixes for gateway startup validation, Codex app-server reliability, and enhanced plugin installation recovery, alongside new features for xAI Grok OAuth and Codex thread binding.
The latest development window for OpenClaw has been characterized by a heavy focus on operational stability and the refinement of the plugin ecosystem. Key efforts were directed at resolving "insidious" regressions in gateway startup validation and improving the reliability of the Codex app-server, ensuring that long-running turns and external plugin dependencies do not lead to system deadlocks or crash loops.
Several critical fixes were implemented to prevent gateway crash loops and deadlocks. A major issue where tools.web.search.provider validation failed during startup—even when plugins were installed—was resolved by ensuring configured web search providers are started during the gateway startup sequence. Additionally, the gateway now supports recovering stale embedded tool calls during diagnostics, preventing deadlocks caused by nested openclaw sessions tool calls that previously required a SIGKILL to resolve.
Codex integration received significant updates to improve context management and reliability. A new feature binds context-engine projections to Codex threads, allowing the system to start a fresh backend thread when context-engine epochs change, which prevents the engine and Codex from falling out of sync. Furthermore, a fix was introduced for the Codex raw tool-output watchdog to prevent turns from stalling mid-turn after custom_tool_call_output notifications, which previously led to 30-minute idle timeouts.
To address issues with the migration to externalized plugins (e.g., Brave and Slack), the openclaw doctor --fix command was enhanced to repair source-only official plugin installs. This ensures that if a plugin is installed as TypeScript source without compiled output, the official npm package is correctly restored. Additionally, the system now preserves the host package during peer repair to avoid accidentally uninstalling the linked openclaw host package.
/stop@bot command was also routed to the isolated-ingress control lane to ensure it can bypass busy turns.xai-oauth for SuperGrok subscribers, allowing token refresh through the xAI provider.These changes significantly reduce the operational burden for administrators and users. The resolution of the gateway startup validation bug removes a critical blocker for users upgrading to version 2026.5.12. The improvements to Codex and the gateway's diagnostic recovery mechanisms ensure that high-complexity agent turns are less likely to result in silent stalls or system-wide deadlocks.
For developers and power users, the addition of openclaw path set --dry-run --diff provides a safer way to review configuration changes before applying them, while the --wait mode for manual cron runs allows automation scripts to deterministically block until critical maintenance jobs are complete.