Description
The @mem0/openclaw-mem0 plugin is exhibiting 'ghost write' behavior. The memory_add tool returns a success message (e.g., 'Stored...'), but the underlying SQLite database remains empty.
Evidence
- Tool Output:
memory_add returns success.
- Database State: Running
sqlite3 ~/.mem0/vector_store.db 'SELECT count(*) FROM vectors;' consistently returns 0, even immediately after a perceived successful write.
- Migration Failure: A full migration of
MEMORY.md and daily logs was attempted via sub-agent; while the sub-agent reported success, the DB remained empty.
Potential Relation
This may be related to #77822, where duplicate register() calls cause closure variables to be unsynchronized, potentially leading to the plugin writing to a volatile or incorrect instance of the memory manager.
Environment
- OS: Linux
- Plugin: openclaw-mem0
Description
The
@mem0/openclaw-mem0plugin is exhibiting 'ghost write' behavior. Thememory_addtool returns a success message (e.g., 'Stored...'), but the underlying SQLite database remains empty.Evidence
memory_addreturns success.sqlite3 ~/.mem0/vector_store.db 'SELECT count(*) FROM vectors;'consistently returns0, even immediately after a perceived successful write.MEMORY.mdand daily logs was attempted via sub-agent; while the sub-agent reported success, the DB remained empty.Potential Relation
This may be related to #77822, where duplicate
register()calls cause closure variables to be unsynchronized, potentially leading to the plugin writing to a volatile or incorrect instance of the memory manager.Environment