A lot of the latest research shows that memory systems tend to lose key facts when reading memory because of the sparse matrix math behind LLM's. So you can give it memory - but that doesn't guarantee the AI will use that to improve its next action.
In the end I've defaulted to using a raw log system (i personally use npx spookling package), and i dont need a memory system to cleanup or log anymore.