The Memento Problem#
The model wakes up in the middle of the story#
In Christopher Nolan’s Memento, the protagonist uses notes and photographs to reconstruct the situation he cannot remember. An LLM offers a useful, less cinematic parallel: broad learned capability does not supply dependable personal recollection of your project.
For the current task, the runtime must provide the relevant instructions, history, files, tool results, and retrieved records. The metaphor concerns working continuity; a model is not a person with a medical condition.
The model is not the memory system. The runtime and harness decide which clues reach it and which results become durable.
What actually happens#
The runtime assembles a bounded context for each inference. It can include the current request, selected history, repository instructions, relevant skills, retrieved memory, and source evidence. Caching, summaries, and stored sessions help manage that context; they do not make every previous detail available.
More context is not automatically better. The useful question is which trustworthy material this step needs, and where the rest remains retrievable.
A prompt is one note; a harness is the note system#
Prompt |
Harness |
|---|---|
gives the current instruction |
maintains a reusable working environment |
includes what you remember to attach |
routes to maintained instructions, methods, and evidence |
can end at an answer |
defines actions, checks, and a return path for results |
belongs to an interaction |
can guide later sessions and other runtimes |
Prompt engineering writes a better note. Context engineering selects the right records. Harness engineering makes their selection, use, evaluation, and maintenance a repeatable system.
Memory is not one thing#
Kind |
Role |
|---|---|
Model weights |
learned general patterns |
Working context |
material available for the current inference |
Session state |
conversation, tool results, summaries, and checkpoints |
Durable memory |
stored preferences, decisions, knowledge, and provenance selected again when needed |
External authority |
owning sources consulted for exact or changing facts |
Recall does not establish authority. A remembered preference cannot silently replace a repository contract, and a generated summary cannot replace its source.
Who should own the memory?#
Runtime memory is useful for continuity. Keep essential rules, accepted knowledge, and decisions in inspectable records that can survive a change of runtime. Select the relevant part again for the next task.
Results in the saddlebags can immediately inform the next step. Their durable promotion needs a separate decision: inspect, propose, review, accept, and write back to the appropriate owner.