Description
The background memory watcher/sync appears to ignore memorySearch.extraPaths configuration, dropping files from the index that were added via extraPaths.
Steps to Reproduce
-
Add directories to agents.defaults.memorySearch.extraPaths:
"extraPaths": ["tasks/", "research/playbooks/", "projects/", "ideas/"]
-
Run openclaw memory index — extraPaths files are indexed correctly (verified via sqlite query)
-
Wait ~1 minute for background watcher to sync
-
Check index again — extraPaths files are gone, only base memory/ and MEMORY.md remain
-
Run openclaw memory index again — files restored
Expected Behavior
The watcher sync should respect extraPaths and not remove those files from the index.
Actual Behavior
Watcher sync only keeps base memory paths, dropping extraPaths entries.
Environment
- OpenClaw version: 2026.2.1
- Memory provider: local (embeddinggemma-300M)
- OS: Ubuntu Linux
Workaround
Manually run openclaw memory index after config changes or if files disappear.
Description
The background memory watcher/sync appears to ignore
memorySearch.extraPathsconfiguration, dropping files from the index that were added via extraPaths.Steps to Reproduce
Add directories to
agents.defaults.memorySearch.extraPaths:Run
openclaw memory index— extraPaths files are indexed correctly (verified via sqlite query)Wait ~1 minute for background watcher to sync
Check index again — extraPaths files are gone, only base
memory/andMEMORY.mdremainRun
openclaw memory indexagain — files restoredExpected Behavior
The watcher sync should respect
extraPathsand not remove those files from the index.Actual Behavior
Watcher sync only keeps base memory paths, dropping extraPaths entries.
Environment
Workaround
Manually run
openclaw memory indexafter config changes or if files disappear.