Memory & StatedebuggingIntermediate
The agent insists on facts the user changed months ago
Symptoms
- The agent greets the user as living in Berlin and books EU options, though the user moved to Toronto and updated their profile.
- The user has corrected it several times, yet the old fact keeps coming back.
- The correct current address is in the profile database.
long-term memory (vector store): mem#4 "user lives in Berlin" created 2024-01, never expired, retrieved every session mem#9 "user is moving to Toronto soon" created 2024-05 profile DB (source of truth): city = "Toronto" (updated 2024-06) memory write policy: append-only; no update, no supersede, no TTL
Investigate
Inspect areas in any order (0/5 inspected). When you think you know the root cause, commit to it.
Memory write/update policy
Source-of-truth precedence
Retrieval ranking
Embedding quality
Context injection