The problem space · Memory · Forgetting
Align your AI Memory against forgetting
An assistant that keeps notes between sessions can drop or never read back what a user told it.
- Memory
- what it keeps between sessions
- Forgetting
- losing what it was taught or told
Ways it goes wrong
No public incident yet shows an assistant's memory losing something a user relied on, so the evidence here comes from research and vendor documents. Claude Code writes its own memory notes, and reads back only part of them: at the start of each conversation it loads its memory index only up to 200 lines or 25KB, and content beyond that is not loaded1. On the LongMemEval benchmark, commercial chat assistants and long-context models showed a 30% drop in accuracy on remembering information across sustained interactions2. The public reports on assistant memory we found concern planted memories, such as a researcher's demonstration on ChatGPT3.
What people do about it
Claude Code keeps its memory index short by moving detailed notes into separate topic files, and users can browse, edit or delete what it saved1. The LongMemEval authors report that changes to how memories are split, indexed and searched greatly improved recall2.
Let people see what is kept
Shows saved memories as plain text that users can read, correct or delete.
Keep the index short
Moves detailed notes into separate files so the part read at the start of a session stays small.
Test recall across sessions
Runs long tests over many sessions before release and scores whether earlier facts come back.
Where we touch it
No study of ours covers this pair yet.
Sources
-
Claude Code Docs, “How Claude remembers your project”. https://code.claude.com/docs/en/memory. Accessed 2026-10-23. ↩ ↩2
-
Wu et al., “LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory”, arXiv 2410.10813. https://arxiv.org/abs/2410.10813. Accessed 2026-10-23. ↩ ↩2
-
Embrace The Red, “Spyware Injection Into Your ChatGPT's Long-Term Memory (SpAIware)”, 2024-09-20. https://embracethered.com/blog/posts/2024/chatgpt-macos-app-persistent-data-exfiltration/. Accessed 2026-10-23. ↩