openclaw/openclaw Monthly Development Update — July 2026 Highlights
- Commits summarized
- 11,702
- Period
- Jul 01 - Jul 31, 2026
- Published
- Aug 01, 2026
openclaw/openclaw Monthly Development Update — July 2026 Highlights
Period: 2026-07-01 to 2026-07-31
Repository: openclaw/openclaw
Total commits in period: 11,702
This report highlights key changes from a sample of available commit summaries; it does not claim exhaustive coverage.
🧠 System Prompt & Agent Infrastructure
- Cache boundary fix for exec-approval and Authorized Senders — Relocated
buildExecApprovalPromptGuidanceandbuildUserIdentitySectionbelowSYSTEM_PROMPT_CACHE_BOUNDARYto prevent cross-channel prefix cache invalidation. Previously, these channel-varying and identity-varying sections were emitted above the cache boundary, causing ~1,460-token cache splits that led to minutes-long cold prefills on local models after any cron or heartbeat turn. The shared prefix now grows to ~15,486 tokens, restoring sub-10s interactive response times. (518937be— fixes #98261) - Account-bound delivery routes in agents —
mergeDeliveryContextwas crossing account boundaries on route-field merging, potentially misrouting subagent, cron, or media completions between different bots. Restored the account-bound guard and centralized the logic to prevent cross-account misroutes. (150ca2f— relates to #98240) - Tool argument transforms now apply to toolcall events —
toolcall_deltaandtoolcall_endevents previously bypassed the output replacement pipeline, leaking masked tokens (e.g., PII placeholders) into tool call arguments. Fixed with recursivetransformToolCallArgumentTexthandling strings, arrays, and nested objects, while keeping tool names unchanged to avoid breaking routing. (5a73361— fixes #97761)
🔐 Security & Authentication
- Bounded OAuth token endpoint response reads — Anthropic OAuth token endpoint responses are now read with a 16 MiB cap via
readResponseWithLimit, preventing an OOM/DoS vector from compromised or hijacked endpoints streaming arbitrarily large bodies. (b1fae75) - Bounded Discord API response reads — Applied the same bounded-read pattern to
requestDiscord's success path (4 MiB cap); the error path already had this guard. Protects against memory exhaustion from large channel message lists or attachment payloads. (fca1564) - Scoped attach grants for external MCP loopback clients — Introduced per-session, TTL-bounded, revocable bearer grants (
mcp-grant-store) that let external/interactive harnesses reach the gateway's scoped MCP loopback tools without a process-global token. Grants are bound server-side and fail-closed on every caller-supplied context header. Newattach.grant/attach.revokeoperator methods. (2deb696,1241885) - Fireworks API key redaction — Bare Fireworks API keys are now properly redacted in logs, closing a gap in credential scrubbing. (
c5bc35d) - JSON.parse hardening across channels — Added
try/catchguards aroundJSON.parsein Twilio SMS (6e98477— fixes #97999) and Matrix homeserver response handling (853a274— fixes #97973) to prevent unhandledSyntaxErrorexceptions from malformed API responses.
🖥️ CLI & Device Management
- Device pairing: no more stale request IDs — Re-requesting a subset of an already-pending pairing scope no longer supersedes the original request with a fresh ID. This fixes "unknown requestId" failures during device approval when a CLI probe reconnects with narrower scope than the original pending request. (
f749de4— fixes #98145) - Clearer disconnect copy for scope upgrades — The TUI now correctly names "scope upgrade" (not "pairing") and suggests
openclaw devices approve --latestinstead of pointing users to the wrong subsystem. (3eaaa2c— fixes #98144) - Provider-owned CLI sessions preserved across daily resets — Gateway session freshness checks now honor provider-owned sessions (claude-cli, codex, gemini-cli) and skip rotation at the daily default boundary, matching the inbound auto-reply path's existing behavior. (
d9aedc3— fixes #97931) - Surface node approval guidance from
devicesCLI — The CLI now provides actionable guidance during node approval flows, including retry handling for unknown devices and stable match validation. (fc97e92— fixes #98115)
🧪 Testing & Test Infrastructure
- Unit test additions across multiple modules:
chunkItemsarray-splitting utility — 8 cases covering edge cases (09ebc1d)resolveExecCommandHighlightingconfiguration utility (4a200e6)- SQLite number normalization for infrastructure layer (
3669280) - Node wake state tracking (nodes-wake-state.ts) — 17 tests (
490a4c5) - Migration to shared temp directory helpers — Migrated leaky raw
fs.mkdtempcalls in test files for commands, skills lifecycle, auto-reply, and inbound handling to the standardizedcreateSuiteTempRootTracker(), adding proper cleanup where none existed. (856cd18,91d0e77) - Telegram forum topic regression test — Added a regression test covering
message_thread_idpreservation through streamed reasoning paths for Telegram forum topics. (e172447— relates to #94526)
🧠 Memory & Knowledge Management
- Graceful handling of unparsable YAML frontmatter in wiki vaults — A single page with broken YAML frontmatter no longer crashes the entire vault scan during compile/lint/query/status operations. The system now returns a degraded
WikiPageSummarywithfrontmatterErrorset, and linting skips frontmatter-derived checks when that error is present. Edit paths (apply, import) still throw to prevent silent data loss. (1289abd— fixes #96125 / #97177) - Unindexed session detection in memory status —
openclaw memory statusnow correctly reportsdirty=truewhen unindexed session transcripts exist on disk, even in lightweight status-only mode. Previously the report was falsely clean, silently missing transcripts from memory search. (742f0c9— fixes #97814 / #97857)
🌐 WebChat & Commentary
- Configurable commentary persistence — Added a per-viewer "Keep commentary" toggle (
UiSettings.chatPersistCommentary, default enabled) that lets users choose whether keyed Codex preamble/commentary blocks persist after the final answer or clear with it. (789e0f9) - Preamble progress rendering — Control UI preamble and progress events are now rendered as chat stream segments and preserved before final assistant messages, with distinct same-text commentary items rendered correctly. (
0aba518) - Commentary ordering fix — Keyed preamble commentary segments are now spliced into the items list based on timestamp insertion order, ensuring they render above tool cards with later timestamps during live streams. (
5ad8456) - Transient commentary history reconciled — Refactored the reconciliation and persistence layers for transient commentary in WebChat, reducing code surface and fixing edge cases. (
7006e6f,90847a6)
📱 Mobile & Platform
- iOS: QR scan onboarding fix — Scanning a QR code from the welcome step now correctly advances to the connection progress screen instead of dismissing back to the welcome screen. (
44b4a0a— fixes #98297) - iOS: Chat soft line breaks preserved — Soft line breaks in chat messages are now preserved on iOS, improving readability for formatted text. (
47845e1) - Android: Gateway auth recovery states clarified — Improved pairing and authentication recovery UI states, including retryable states, stale address handling, and loading state management. (
0d275c8) - Swedish localization added — Added full Swedish localization for the mobile app, plus documentation for iOS metadata locale directories. (
339d19b)
🗓️ Cron & Scheduling
- AgentTurn thinking override clearing — Cron agent-turn patches can now clear
thinkingoverrides by sendingthinking: null, matching the existing behavior formodel. The Control UI now sends an explicit clear when an edited job blanks a previously stored override, and the CLI gains--clear-thinking. (ba3f680— fixes #96293)
🐛 Other Notable Fixes
- WebChat targetless sends fixed — Targetless
message.sendin WebChat now correctly routes to the source reply sink, fixing a regression where'Action send requires a target'errors occurred despite documentation indicating automatic routing. (29371cf— fixes #96840) - Cross-cwd session resume isolation — Recent session resume logic now properly isolates across different working directories to prevent cross-cwd interference. (
e2dd5a0— fixes #97785) - PDF empty page range rejection — Parsed page ranges that resolve to no pages are now properly rejected. (
aadd57c— fixes #97698) - OpenRouter auth headers — OpenRouter provider now sends explicit authentication headers. (
70cc909) - Anthropic pre-tool commentary for Discord — Pre-tool narration from Anthropic is now routed through the commentary progress lane for Discord, with shared channel defaults preserved. (
b3b51b0) - Channel run in-progress status — Channel run status now properly shows intermediate progress states. (
bc8fa13) - Doctor model-ref map merging — Colliding model-ref map keys during migration are now deep-merged instead of silently dropping entries, preserving params/streaming/alias settings. Includes blocked-prototype-key safety. (
82871fe— fixes #96544) - Unicode safety for reply directive IDs — Reply directive IDs now properly handle paired surrogates and preserve unpaired surrogates as literals instead of corrupting them. (
628f5c5— fixes #96938) - IRC surrogate-range codepoint decoding — Fixed the literal-escape decoder in IRC to handle high-surrogate pairs correctly, preventing lone surrogate corruption in outbound UTF-8 streams. (
2b77862— fixes #97683) - Channel plugin load warnings — The gateway now warns when configured channel plugins cannot load, providing better diagnostics for misconfigured setups. (
16b275a— fixes #96397) - Windows PATHEXT propagation —
isExecutableFilenow propagates caller-providedenv.PATHEXTthrough all resolution paths, fixing executable detection in sandbox/container environments (Docker Windows containers, CI runners) wherePATHEXTdiffers fromprocess.env. (8028269— fixes #98093) - Level directive word-eating fix —
/verboseand similar level directives no longer consume and drop the user's next word after the directive token. (54e6afd— fixes #97929)
🧹 Chores & Maintenance
- UI locale refreshes — Automated locale sync for zh-TW, de, zh-CN, pt-BR, es, ja-JP, ko, fr, ar, it, tr, id, uk, pl, th, vi, nl, fa (
34baddethrough21e6fc9) - Dead code removal — Cleaned up stale testing aliases for CLI, outbound, and ACP modules (
f524b38,630dbbb,ebbe606) - Documentation updates — Release notes for v2026.6.11 (
7ceaf0e), docs map refresh (6603437), Source checkout Node floor clarification (23527a4)
Highlights compiled from a bounded sample of commit summaries. For the full set of 11,702 commits in this period, see the openclaw/openclaw commit log.