Terms  /  Memory & State  /  State Loss
03 · Memory & State

State Loss

Failure to maintain awareness of prior actions.

State Loss is simpler and more immediate than Context Anxiety — it happens within a single session, not across sessions. The model literally loses track of what it just did: it forgets that it already created a file, re-implements a function it wrote ten turns ago, or contradicts a decision it made five minutes earlier. State Loss is one of the primary drivers of Execution Hallucination, because a model that can't track its own actions can't accurately report on them.

Example
An agent is tasked with refactoring a module. At turn 12, it renames a function from `processData` to `transformInput`. At turn 18, it writes new code that calls `processData` — the old name — because it's lost track of the rename. The resulting code has a broken reference. When the user points it out, the agent "remembers" and fixes it, but the damage is done: the user now has to verify every change the agent makes because they can't trust it to remember its own work.

More in Memory & State