OpenClaw Monthly Dev Update — June 2026: Prompt Caching, Gateway Recovery, Policy Hardening & CI Reliability
- Commits summarized
- 6,525
- Period
- Jun 01 - Jun 30, 2026
- Published
- Jul 01, 2026
Highlights from June 2026 (2026-06-01 – 2026-06-30) — This issue covers a curated sample of the 6,525 commits made this month. The items below are drawn from 200 available commit summaries and do not represent every change in the release cycle.
System Prompt Caching & Multi-Provider Fixes
- Prompt-cache boundary handling — System prompts are now split at a defined cache boundary so only stable prefixes are cached for Anthropic/OpenAI endpoints; dynamic parts are excluded. Fixes #89386. (eef24d4)
- Custom provider model scoping — Runtime no longer fans out to unrelated owner plugins when a provider explicitly declares its own models. A new
allowRuntimePluginLoadflag gives finer control over transport turn-state resolution, improving init speed and reducing spurious errors. (d07ba5f) kimi-codingextension stripscache_controlmarkers — Anthropic-specific markers are removed before sending requests to the Kimi API, preventing protocol mismatches. (00d846d)
Gateway Resilience & Startup Recovery
- Startup config recovery — The gateway can now recover from suspicious/invalid configuration files by falling back to backups (controlled via
recoverSuspiciousoption). Enabled by default when configurations lackincludedirectives. (c8d21fe) - Plugin repair no longer blocks core updates — A stalled or failed external plugin repair download will not interrupt the overall update. Only a failure in an active, installed plugin payload will block the process. (12c6ef6, 97d4d5e)
- Recoverable gateway watch scripts — Numeric CLI options (
--window-ms,--ready-timeout-ms, growth limits) are now strictly validated as non-negative integers, preventing runaway or silently misconfigured watch operations. (5d4868c)
Policy & Data Handling
- Data-handling policy checks — Administrators can now enforce policies around sensitive-log redaction, telemetry content capture, session retention, and session transcript memory indexing. (1d3cfc4)
- Unsupported policy keys now rejected — Previously ignored keys now produce descriptive errors, making policy files stricter and preventing silent misconfiguration. (646974b)
Node Execution Approval Hardening
- Environment sanitization in prechecks —
PATHandPathare cleared during node command precheck analysis so the gateway process's own path is never inadvertently used. (c208a10) allow-alwayspattern refinement — NewNodeAllowAlwaysCoveragetype and explicit coverage-tracking functions tighten how always-allow patterns are validated.
Test Infrastructure & CI Hardening
- CPU QA test isolation — Each test run now gets its own QA state directory, eliminating cross-test interference. (9627724)
- ARM extension timer stability — Proper mock/timer resets after each test produce more deterministic outcomes for ARM extension and Codex app-server steering tests. (6c76442)
- Deferred sidecars in E2E gateway tests — Sidecars start only when needed, eliminating race conditions. (388dc56)
- Agent-run abort E2E test — New test confirms that accepted agent runs can be successfully aborted. (f789081)
- Kitchen-sink RSS ceilings —
OPENCLAW_KITCHEN_SINK_COMMAND_MAX_RSS_MIBprevents runaway processes from consuming unbounded memory during RPC tests. (8bf6206) - Crabbox pnpm hydrate reset — Stale pnpm state in
/var/tmpis now cleaned before installs, preventing indefinite hangs. (78b3f60) - Docker-build progress logging — Heartbeat and log-size indicators appear during long CI Docker builds; E2E log-tail latency improved. (6b25b78, 17795c6)
CLI & Script Input Validation (Batch)
A systematic pass tightened integer validation across the toolchain. Malformed or non‑positive values for timeouts, concurrency, limits, and buffer sizes now produce clear error messages instead of silent fallback:
- Parallelisation env vars (
OPENCLAW_TEST_PROJECTS_PARALLEL,OPENCLAW_VITEST_MAX_WORKERS,OPENCLAW_TEST_WORKERS) — d007b9a - Oxlint shard chunk/concurrency env vars — 054e734
- Additional boundary checks concurrency/timeout/limit env vars — e59e65b
- Docker lane group size — 36a596a
- Doc checker
--max-errors— 661c763 - Group report flags (
--limit,--max-test-ms,--timeout-ms, etc.) — 28b1ea7 - Docker E2E timings
--limit— aed3743 - CI run timings (
--limit,--recent) — 36d7ac3 - CPU profile summarizer
--limit— 5f6a808 - Extension test shards (
shardCount) — 432a597 - Extension batch parallelism — 97509ed
- Extension boundary concurrency — 0188c54
- TS topology
--limit— ac8338b - Plugin SDK boundary root shims timeout — 6af047c
- Heavy-check lock timeouts/poll/progress env vars — 8cecf2c
- Tsdown watchdog timeout/heartbeat — a86a1de
- Cron MCP cleanup PID wait — e38b8f6
- Crabbox sync
MIN_FREE_BYTES/KEEPALIVE_MS— 2a3421a - Cross-OS release checks — dd46fd3
- Beta smoke timeout/poll env vars — 3d4d30f
- Parallels smoke test timeouts — 1f35ad1
UI & User-Facing Changes
- Workboard keyboard navigation — Cards can now be moved between statuses with
ArrowLeft/ArrowRight. Compact status control respects read-only and busy states. (be336cc) - Skill Workshop view switcher restored — "Board" and "Today" views are togglable and persisted to local storage. (1b9860a)
Chat & Messaging Cleanup
- Poll-send false positive fix — Default
pollDurationHours/pollMultivalues no longer trigger poll-creation validation when sending routine messages. (8b546fa) - Discord tool-progress sanitisation — Assistant scaffolding (
<tool_call>,thinking) stripped from progress messages; internal channel labels suppressed; agent failure traces hidden from users. (8f1ae59, 5629c44, a8bf14d) - Telegram message-cache refactoring — Session boundaries now use the current reset command;
latestBeforeMatchingrenamed tolatestMatchingAtOrBefore(now includes the boundary message). Optimised broad-scan avoidance. (a9f014e, d76f2c0) - GitHub failure trace stripping — Command-specific error traces (e.g. GitHub failures) are now removed from assistant output, reducing noise. (d82bfce)
Documentation & Housekeeping
- Autoreview follow-up scope clarified — Guidelines specify when to inspect the current PR for similar instances and how far to extend bug-class fixes. (c3baec7)
- Deadcode allowlist trimmed — 7 stale
KNIP_UNUSED_FILE_ALLOWLISTentries removed. (85633eb) - Legacy
moltbot:rpcalias removed — Useopenclaw:rpcinstead. (1ff2ffa)
Next issue: July 2026 highlights.