openclaw - 💡(How to fix) Fix [Bug]: mem0 plugin 'ghost writes' - memory_add returns success but database remains empty [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#80340Fetched 2026-05-11 03:15:55
View on GitHub
Comments
2
Participants
2
Timeline
3
Reactions
2
Timeline (top)
commented ×2closed ×1

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.

Root Cause

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.

RAW_BUFFERClick to expand / collapse

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

  1. Tool Output: memory_add returns success.
  2. Database State: Running sqlite3 ~/.mem0/vector_store.db 'SELECT count(*) FROM vectors;' consistently returns 0, even immediately after a perceived successful write.
  3. 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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: mem0 plugin 'ghost writes' - memory_add returns success but database remains empty [2 comments, 2 participants]