Files
openclaw/src/agents
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-23 00:49:40 +00:00
2026-01-17 08:00:05 +00:00
2026-01-14 15:02:19 +00:00
2026-01-20 10:51:25 +00:00
2026-01-19 00:34:26 +00:00
2026-01-17 08:00:05 +00:00
2026-01-17 06:32:24 +00:00
2026-01-14 15:02:19 +00:00
2026-01-17 05:48:56 +00:00
2026-01-14 15:02:19 +00:00
2026-01-24 07:44:04 +00:00
2026-01-23 01:00:24 +00:00
2026-01-24 07:44:04 +00:00
2026-01-14 15:02:19 +00:00