A three-layer memory architecture for long-running agents | Hacker News Reader