OpenClaw v2026.5.20-beta.1 Release Summary
OpenClaw v2026.5.20-beta.1 brings a significant array of enhancements focused on communication channel depth, enterprise-grade governance, and the stability of complex agent orchestrations. This release is particularly noteworthy for its expansion of Discord voice capabilities and the introduction of a formal policy system to ensure workspace conformance.
Key Changes
Discord Voice & Realtime Enhancements
OpenClaw has significantly expanded its Discord integration to support more dynamic voice interactions:
- Voice User Following: Voice sessions can now follow configured Discord users into voice channels. This includes multi-user handoff, bounded reconciliation for large user sets, and preservation of DAVE recovery state (#84264).
- Realtime Bootstrap Context: Discord voice sessions now include bounded profile context (
IDENTITY.md,USER.md, andSOUL.md) in realtime voice session instructions by default, providing agents with immediate grounding in their persona and user context (#84499).
Enterprise Policy & Conformance
A new bundled Policy plugin has been introduced to provide operators with a way to express and audit workspace requirements (#80407). This system allows for:
- Channel Conformance: Defining rules (e.g., denying specific providers like Telegram) in a
policy.jsoncfile. - Auditable Proof: The
policy check --jsoncommand produces an attestation hash binding the policy, evidence, and findings, creating a durable audit trail. - Automated Repair: Through
doctor --fix, operators can opt-in to workspace repairs that automatically disable non-conforming channel settings.
Agent Orchestration & Stability
Several deep architectural fixes improve the reliability of subagents and complex runs:
- Subagent Recovery: Fixed a critical issue where subagent completion announcements could fail to surface to the requester if the original run was stale. The system now forces a message-tool handoff to ensure results are delivered (#83700).
- Subagent Target Constraints: Wildcard allowlists (
allowAgents: ["*"]) are now constrained to configured agents only, preventing the accidental creation of arbitrary agent state roots on disk (#84357). - LLM Timeout Flexibility: The system now honors explicit
models.providers.<id>.timeoutSecondsvalues for cloud providers, removing the implicit 120s ceiling that previously caused aborts during long first-token waits for models like Anthropic Opus (#83979).
Provider & Integration Updates
- xAI OAuth: Added device-code OAuth login, enabling remote and headless setups to authorize xAI without requiring a localhost browser callback (#84005).
- OpenRouter Routing: Now honors provider-level
params.providerrouting policies (#84499). - Anthropic Routing: Fixed routing for shorthand model references (e.g.,
anthropic/opus-4.7) to ensure they use the Claude CLI runtime when configured (#84374).
Impact
Performance & Liveness
- Event Loop Optimization: High-frequency diagnostic events are now processed in chunks (max 100 per turn), preventing diagnostic bursts from monopolizing the gateway event loop and causing liveness stalls (#82937).
- Cron Isolation: Scheduled work targeting the main session now runs on a dedicated cron-owned wake lane. This prevents background automation from blocking interactive human web-chat turns (#82767).
Data Integrity & Security
- Cron Store Preservation: Fixed a P0 data-loss bug where legacy plain-array
jobs.jsonstores were treated as empty and clobbered during upgrades (#84433). - Security Hardening: Hardened the creation of update restart scripts by using exclusive creation in generated temporary subdirectories (#84088) and added a final allowlist check for rebuilt
system.runshell arguments (#84090).
User Experience
- Codex Auth Clarity: The
/codex accountcommand now correctly respects explicit authentication order over thelastGoodheuristic, ensuring the displayed active profile matches the runtime selection (#84412). - Image Sanitization: Browser screenshots and labeled snapshots now honor the global
agents.defaults.imageMaxDimensionPxlimit (#84595).
Upgrade Guide
Breaking Changes & Migration
- Subagent Wildcards: If you previously relied on
allowAgents: ["*"]to target unconfigured agent IDs, you must now list those IDs explicitly in the allowlist to maintain that behavior. - Mattermost Routing: Mattermost events with unresolved channel types will now fail closed (be ignored) rather than defaulting to regular channel traffic. Ensure your Mattermost channel configurations are complete.