Stale States in Agent Memory: Real Project Memories and a Test of a State Record
Year: 2026
Type: preprint
Abstract: Software assistants that write code keep notes between working sessions: instructions written for them, and logs of what was done. These notes are their memory of a project. Recent work has shown, on test data built for the purpose, that an assistant which searches such a memory is often given an outdated fact. We ask how often this situation occurs in memories written during real work, and what helps. We collected the memory files of 60 software projects from one developer's computer, 485 files in all, and a language model labeled each of their 30,660 statements. By its labels, about 4% of the statements can be read in two ways. Statements about something that changes, such as a status, a version or a count, are ambiguous 14% of the time, against 1% to 3% for the other kinds. A second, smaller model agrees on the kinds of statement and marks almost none of them as ambiguous, so the size of these rates is uncertain. On the logs of one project, a large model that reads a whole log answers every question correctly. Given only the line returned by a search, it is right 8 times out of 24, and 16 times when the old line carries a short note saying what replaced it. We also tested a memory that the model keeps as a record of current values. In a simulated warehouse where every change is stated, the smaller model answers 86% of the questions correctly from this record, against 25% from a summary. On a public benchmark where changes are only implied, the same record does worse than a summary. The study covers one developer and small tests.
Source: Preprints.org
Author: Jean-Jacques Dubray
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7242518673
Cites:
Cited by:
Related to:
