Stale States in Agent Memory: Real Project Memories and a Test of a State Record

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.

Authors

Publication Details

Journal
Preprints.org
Published
2026-12-03
DOI
https://doi.org/10.20944/preprints202612.0303.v1
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Stale States in Agent Memory: Real Project Memories and a Test of a State Record

Jean-Jacques Dubray
Preprints.org
Software Engineering Research
preprint

Stale States in Agent Memory: Real Project Memories and a Test of a State Record

Jean-Jacques Dubray
preprint en

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.

Preprints.org
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon