{"slug": "what-we-learned-testing-an-ai-assistant-s-memory-with-the-memory-switched-off", "title": "What we learned testing an AI assistant's memory with the memory switched off", "summary": "A developer tested an AI coding assistant's memory feature by running 15 pre-written questions through four fresh sessions, two with memory enabled and two with all memory hooks disabled, and found that memory-off sessions answered all 7 questions whose answers existed in project files but scored zero on the 4 questions whose answers were only ever spoken. The comparison also showed that a same-model judge graded more leniently than a Grok-based judge, and that keyword matching would have falsely marked wrong answers as correct. The memory system, paper and full test are released as open source in the Anamnema repository.", "body_md": "I work with the same AI coding assistant every day, and for months it has had a memory: a small local model reads our conversations, writes short notes, and each note keeps a pointer to the exact lines it came from. It felt useful. Feeling is not measuring, so we switched it off and compared. The comparison itself taught us more than the result did.\n\nFifteen new questions about our own work, written down with their expected answers before anything ran. Each question went, word for word and in the same order, into four fresh sessions: two with the memory on, two with every memory hook switched off and every memory command refused. Two judges marked each answer right, partial or no answer, each on their own. One judge ran on the same model as the assistant, the other on Grok.\n\nThe sessions without memory could still read the project's documents and code, and they did. Where a file held the answer, they mostly found it: on those 7 questions the memory-off sessions got 14 of 14 right by one judge and 10 right and 4 partial by the other.\n\nSo the honest comparison is not memory against an empty assistant. It is memory against everything else the assistant can read. A written document is a memory too.\n\nFour questions had answers that were only ever said, never written: a technical verdict, what a board's firmware did after a reboot, a choice we made together. Eight answers per arm:\n\n|  | Same-model judge | Grok judge | \n|---|---|---|\n| Memory on | 8 right | 6 right, 2 partial | \n| Memory off | 0 right | 0 right, 1 partial | \n\nSmall numbers, one user. But the shape is clear: a spoken decision stays outside every file.\n\nThe judge on the assistant's own model gave higher quality marks than the other judges in all three series that followed the marking rules. On right or wrong they mostly agreed; the gap was in judgement calls. If you grade a model's output with the same model, run a second judge on a different one and report both. Our result stands on the stricter judge alone.\n\nA natural fix for judge bias is to grade by keyword: write the expected facts, check whether they appear. On our data it fails. Asked which moon was chosen on a first date, both memory-off sessions quoted a file line that names Io, and said that line was not the answer. A keyword match would have marked both right. One session also named the right technical term while saying it could not call it the reason. Words in an answer are not the same as the answer.\n\nWe wrote most expected answers from the memory's own notes. Two went wrong, in two different ways:\n\nBoth corrections were made after the run, and the stricter judge marked against the corrected key. The lesson: if you test a memory against its own notes, a wrong note makes the key wrong too. Take the key from the original transcript.\n\nThe memory system is open source, with the paper and the full test: [https://github.com/mattexb/Anamnema](https://github.com/mattexb/Anamnema)", "url": "https://wpnews.pro/news/what-we-learned-testing-an-ai-assistant-s-memory-with-the-memory-switched-off", "canonical_source": "https://dev.to/mattexb/what-we-learned-testing-an-ai-assistants-memory-with-the-memory-switched-off-11eo", "published_at": "2026-11-26 04:38:08+00:00", "updated_at": "2026-11-26 04:43:27.537435+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "large-language-models", "ai-research"], "entities": ["Anamnema", "Grok", "GitHub"], "also_reported_by": [], "takeaway": "Memory-off sessions answered 14 of 14 file-backed questions correctly but 0 of 8 questions whose answers were only spoken, so spoken decisions need explicit capture rather than relying on retrievable documents.", "recommendation": {"advice": "When evaluating an AI assistant's memory, write the expected answers from the original transcript before running, and grade with a second judge on a different model than the one under test.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/what-we-learned-testing-an-ai-assistant-s-memory-with-the-memory-switched-off", "markdown": "https://wpnews.pro/news/what-we-learned-testing-an-ai-assistant-s-memory-with-the-memory-switched-off.md", "text": "https://wpnews.pro/news/what-we-learned-testing-an-ai-assistant-s-memory-with-the-memory-switched-off.txt", "jsonld": "https://wpnews.pro/news/what-we-learned-testing-an-ai-assistant-s-memory-with-the-memory-switched-off.jsonld"}}