Files
openclaw/src
Lucas Czekaj 2cbc991bfe feat(agents): add MEMORY.md to bootstrap files (#2318)
MEMORY.md is now loaded into context at session start, ensuring the
agent has access to curated long-term memory without requiring
embedding-based semantic search.

Previously, MEMORY.md was only accessible via the memory_search tool,
which requires an embedding provider (OpenAI/Gemini API key or local
model). When no embedding provider was configured, the agent would
claim memories were empty even though MEMORY.md existed and contained
data.

This change:
- Adds DEFAULT_MEMORY_FILENAME constant
- Includes MEMORY.md in WorkspaceBootstrapFileName type
- Loads MEMORY.md in loadWorkspaceBootstrapFiles()
- Does NOT add MEMORY.md to subagent allowlist (keeps user data private)
- Does NOT auto-create MEMORY.md template (user creates as needed)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 13:30:43 -06:00
..
2026-01-18 08:54:00 +00:00
2026-01-26 18:24:26 +00:00
2026-01-25 12:22:36 +00:00
2026-01-21 23:05:11 +00:00
2026-01-26 16:05:29 +00:00
2026-01-24 10:48:33 +00:00
2026-01-21 05:34:53 +00:00
2026-01-25 12:22:36 +00:00
2026-01-25 06:37:39 +00:00
2026-01-26 17:01:22 +00:00
2026-01-25 12:22:36 +00:00
2026-01-25 12:22:36 +00:00
2026-01-24 10:48:33 +00:00
2026-01-21 01:58:47 +00:00
2026-01-18 19:34:21 +00:00
2026-01-14 15:02:19 +00:00
2026-01-18 03:55:14 +00:00
2026-01-04 14:38:51 +00:00