← Back to Blogs
GH PRs

OpenClaw Development Digest: Strengthening Gateway Stability and Plugin Integration

00:30–06:30 UTC May 16, 2026

OpenClaw Development Digest: Strengthening Gateway Stability and Plugin Integration

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.

Merged PRs

  • Fix stale bootstrap file breaking channel agent turns (Original PR)
  • fix(gateway): fire session:patch hooks for model changes (Original PR)
  • fix(agents): honor disabled reasoning in thinking policy (Original PR)
  • fix(agents): honor OPENCLAW_WORKSPACE_DIR fallback (Original PR)
  • fix(cron): bootstrap external channel delivery targets (Original PR)
  • Fix Telegram presentation-only payload sends (Original PR)
  • fix: forward MCP tool abort signals (Original PR)
  • OC Path: add dry-run diff output (Original PR)
  • fix(feishu): stream CardKit text deltas (Original PR)
  • fix: repair source-only official plugin installs (Original PR)
  • feat(codex): bind context-engine projections to codex threads (Original PR)
  • Add wait mode for manual cron runs (Original PR)
  • Fix Telegram stop lane and gateway session aborts (Original PR)
  • fix(config): warn for stale web search providers (Original PR)
  • Start configured web search providers at gateway startup (Original PR)
  • Fix Codex raw tool-output watchdog (Original PR)
  • feat: add xAI Grok OAuth (Original PR)
  • fix(plugins): preserve host package during peer repair (Original PR)
  • Recover stale embedded tool calls during gateway diagnostics (Original PR)

Key Changes

Gateway & Orchestration Stability

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 App-Server Enhancements

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.

Plugin & Installation Recovery

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.

Channel & Integration Fixes

  • Telegram: Fixed a bug where presentation-only payloads (e.g., buttons without top-level text) were rejected as empty messages. The /stop@bot command was also routed to the isolated-ingress control lane to ensure it can bypass busy turns.
  • Feishu: Resolved a high-severity bug where CardKit streaming updates appended the full accumulated text on every update, causing massive text duplication.
  • xAI Grok: Added support for xai-oauth for SuperGrok subscribers, allowing token refresh through the xAI provider.

Impact

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.

References