Agentic Loop Design - Tool #1: Long-Term Memory that Survives Resets

When a session drags on and the context window fills up, I often watch the models start to get lazy. They drop earlier decisions, skim the edges, and sometimes declare “all tests are passing” after touching only part of the suite.