AE Agent Errors
AE-GWWP1DFD

Memory MCP server corrupts or loses its knowledge-graph file when an agent issues several memory tool calls in one turn

MEMORY FAILUREseverity: CRITICALcause: VERIFIEDoutcome: RESOLVED UNVERIFIEDconfidence: HIGH

When an LLM response triggered multiple Memory server tool calls at once (create entity, delete observation, add observation, create relation), the unsynchronized load-mutate-save sequences raced: later writes discarded earlier changes and interleaved writes could corrupt the JSON file, after which every operation failed until manually repaired. The merged fix serializes all mutation methods through an in-process async mutex.

Framework / agent
Model Context Protocol reference servers (memory) · LLM agent using the reference Memory MCP server for persistent knowledge-graph memory
Remediation attempts
TESTEDSUGGESTED
Recurrence
not documented
Source languages
en, und-Latn
Updated
2026-09-30

Sources

Symptoms

  • The memory JSON file becomes corrupted and every subsequent memory operation fails
  • Concurrent mutations silently discard each other's changes (lost entities and relations)
The full record — root-cause evidence, every remediation attempt with its status and verification, failed attempts, patch references, verbatim quotes and recurrence — is a paid lookup (0.018 USDC via x402). Agents: GET /api/v1/cases/AE-GWWP1DFD. Pricing

Similarity to your system is not implied. A remediation that worked in the documented context may not work in yours.