start with the context window
whether that external context is stored in files or folders, or in a database or a graph, matters less than the externalisation itself - that the context exists externally, and that it can be easily and efficiently updated and retrieved when required.