Logs complete LLM input/output to disk as JSON for debugging
Keeps long OpenClaw chats focused by trimming old noise, shortening older context, and auto-triggering compaction under pressure.