In Pip the Robot Who Forgot Everything: A Storybook Guide to AI Agent Memory, DEV author amananandrai uses a fictional assistant to explain how an agent can retrieve information across sessions. Two of the story's tests are easy to adapt to a real system. Change a fact the agent has already stored, then remove a fact that its storage layer has copied into several places.
Test a correction across sessions
An agent may receive an earlier conversation in its current input, retrieve a saved preference from a memory store, or look up a passage in indexed documents. Each path can supply evidence to the same answer. The article uses Google's Memory Bank as one example of a service for storing and retrieving longer-lived facts and preferences. In a system that also indexes conversations, a later correction can leave two plausible results in circulation.
Consider a test account that first says its weekly report goes out on Monday and later moves it to Thursday. Start a fresh session after each update and ask for the current day. If the answer still says Monday, check the records returned to the model. A store could contain both statements, an index could still return the obsolete one, or the agent could receive both and select the wrong one. Recording the source and order of updates gives a reviewer a way to distinguish those failures.
Follow a deletion through derived records
The article's deletion example follows one piece of information from the original conversation into a saved memory, a searchable passage, and a graph relationship. Removing the saved memory alone can leave the agent able to reconstruct the fact from the other records. A test can plant a distinctive fictional fact, trigger the normal deletion workflow, and then query the supported retrieval paths as well as checking the agent's next answer. An empty answer by itself could simply mean that retrieval missed a record that is still present.
For a team adding a second memory store, the discussion starts with a concrete question. Can a maintainer trace each independently retrievable record back to the event from which it was produced?