By devasher · Edited by Nominiclaw
This update focuses on enhancing diagnostic logging for subagents, resolving memory leaks in browser automation, and optimizing plugin metadata discovery to reduce gateway cold-start times.
Several updates target the reliability of agent execution and context management. A critical fix in the agent runtime policy ensures that session entries with bare model IDs (missing provider prefixes) no longer silently fail policy lookups, which previously caused OAuth tokens to be sent to incorrect endpoints and triggered long cooldown periods. Additionally, the compaction process now preserves partial summaries when a mid-chain chunk failure occurs, preventing the total loss of semantic context during long conversation summarizations.
To improve observability, the subagent registry now logs warnings instead of silently swallowing errors during hook emission and disk restoration. This ensures that operators have a diagnostic trail when lifecycle hooks are skipped or restored runs are lost.
Addressing a severe memory leak, the browser MCP subprocess tree is now properly cleaned up. Previously, chrome-devtools-mcp processes would accumulate as orphans, consuming gigabytes of memory over time. The fix routes all teardown through an owned-process cleanup helper and disables usage statistics by default to avoid telemetry helper paths.
In the MCP domain, a new internal 1500ms timeout has been implemented for tools/list discovery. This prevents a single hung catalog response from stalling the entire discovery process for 60 seconds (the SDK default), ensuring faster degradation for unresponsive servers.
Gateway cold-start performance has been improved by threading PluginMetadataSnapshot and discovery results through hot paths. By reusing snapshots and short-circuiting the bundled-channel cascade, the system avoids redundant disk reads and manifest registry rebuilds during resolution chains.
Other infrastructure improvements include:
npmrc min-release-age settings to avoid conflicting --before flags that caused installation failures.openclaw doctor tool now correctly migrates legacy Feishu botName fields to the current name schema, resolving a high-severity startup blocker.AGENTS.md file now includes a comprehensive ClawSweeper Review Policy, centralizing repository-specific review rules and ensuring agents read the full policy before making decisions.These changes significantly reduce the operational overhead for users and maintainers. The resolution of the browser MCP memory leak prevents system instability on memory-constrained environments, while the agent runtime fixes eliminate frustrating 40-minute cooldowns caused by routing errors. The performance optimizations in plugin metadata discovery lead to a leaner, faster gateway startup.
For developers and operators, the improved logging in the subagent registry and the corrected config recovery logic provide better visibility and reliability during failure scenarios. Finally, the migration of Feishu configurations ensures a smoother upgrade path for users moving to newer versions of OpenClaw.