v10.6.0
thedotmack/claude-memv10.6.0Mar 18, 2026by thedotmack
AI Summary
This release introduces OpenClaw system prompt context injection via the `before_prompt_build` hook, replacing the previous approach of writing to MEMORY.md. It also adds a new `syncMemoryFileExclude` config to exclude specific agents from context injection, and fixes a bug where UI settings were incorrectly replacing falsy values like '0' and 'false' with defaults.
Key Highlights
- OpenClaw plugin now injects observation timeline into agent system prompts via `appendSystemContext` instead of writing to MEMORY.md
- New `syncMemoryFileExclude` config allows excluding specific agent IDs from automatic context injection
- Fixed UI settings bug that replaced falsy values ('0', 'false', '') with defaults using `??` instead of `||`
- Context is now cached for 60 seconds per project
- Documentation updated to reflect new behavior and terminology fix (prompt injection → context injection)
Breaking Changes
- OpenClaw plugin no longer writes to MEMORY.md - memory is now managed entirely via system prompt injection
New Features
- OpenClaw system prompt context injection via `before_prompt_build` hook using `appendSystemContext`
- New `syncMemoryFileExclude` configuration option to exclude specific agent IDs from context injection
- UI settings now properly preserve falsy values using nullish coalescing
Full Release Notes
## OpenClaw: System prompt context injection The OpenClaw plugin no longer writes to `MEMORY.md`. Instead, it injects the observation timeline into each agent's system prompt via the `before_prompt_build` hook using `appendSystemContext`. This keeps `MEMORY.md` under the agent's control for curated long-term memory. Context is cached for 60 seconds per project. ## New `syncMemoryFileExclude` config Exclude specific agent IDs from automatic context injection (e.g., `["snarf", "debugger"]`). Observations are still recorded for excluded agents — only the context injection is skipped. ## Fix: UI settings now preserve falsy values The viewer settings hook used `||` instead of `??`, which silently replaced backend values like `'0'`, `'false'`, and `''` with UI defaults. Fixed with nullish coalescing. Frontend defaults now aligned with backend `SettingsDefaultsManager`. ## Documentation - Updated `openclaw-integration.mdx` and `openclaw/SKILL.md` to reflect system prompt injection behavior - Fixed "prompt injection" → "context injection" terminology to avoid confusion with the OWASP security term