
Memory Is a Read-and-Write Policy
Storing a sentence is easy. Deciding who confirmed it, which task may use it and when to load it again is the part that makes external memory useful.

Storing a sentence is easy. Deciding who confirmed it, which task may use it and when to load it again is the part that makes external memory useful.

Trimming a conversation can leave the question but remove the decision that made it meaningful. I want a smaller continuation state that admits what it lost.

The useful context is not everything the application can find. I build one small assembler that preserves required inputs, selects authorized evidence and explains what it left out.

A follow-up question depends on which earlier turns and tool results survive into the next request. I treat that history as application state with a structure, not a string to keep appending.

A response can parse, match its schema and still be wrong. I separate those checks before a generated answer becomes an application value.

A short question can carry a long history, tool schemas and a large document. Token accounting starts with the complete request, and the billing fields need their own interpretation.

The file is open in your editor. That does not mean the model can see it. I want a concrete account of the instructions, question and evidence that cross the request boundary.

Using AI to write code and building a system that relies on AI are different jobs. A small documentation assistant makes the difference concrete: evidence, ordinary code, uncertain answers and someone who still owns the result.