What to Keep, What to Forget: A Rate–Distortion View of Memory Compaction in LLMs and Agents | ResearchPod