AI memory systems should track whether old decisions' assumptions still hold, not just relevance
kalyani_17 · reddit · 2026-09-29
Core problem
The author, building an AI memory system, argues that recalling a decision isn't the same as knowing it still applies. Once the environment changes, a historically valid fix can become harmful.
Case study: connection pooling
- Old incident: Payment API on 4 static VMs with pool size 50 each (200 total), PostgreSQL maxconnections=500. Raising the pool to 100 (400 total) fixed the timeouts.
- New environment: same service on Kubernetes scaling to 30 pods. Blindly applying the fix yields 30×100=3,000 connections — unworkable.
- Key insight: the old solution wasn't wrong; its underlying assumptions changed. Retrieval-based memory asks "is this relevant?" but must also ask "do the conditions that produced it still hold?"
How XPERT REMNANTS approaches it
- Preserve context, not just conclusions: Architecture Decision Records, incident postmortems, architect handoffs, historical decisions.
- Stack: frontend, FastAPI decision pipeline, PostgreSQL/SQLite, Hindsight as memory layer, plus conflict/context-detection components.
- Example: store "raise pool to 100 because we had 4 static hosts and a 500-connection limit," not just the recommendation.
Conflicting memories
The system also must handle contradictory historical memories (one incident says raising the pool helped; a later one says it caused connection blowouts).
More from coding & agent
- Anthropic adds official eval-building and hillclimbing workflow to Claude Code skill — ClaudeDevs · 2026-09-29
- Anthropic engineer: don't run Sonnet at max effort — use Opus instead — edwinarbus · 2026-09-29
- Hugging Face agent attack postmortem: allowlists gate where agents go, not what they do — kimmonismus · 2026-09-29
- PR Council MCP: Open-Source Multi-Agent PR Review Playground for Agentic Engineering — mostly_deterministic · 2026-09-29
- Moda ships Linear integration, says frustration detector beats Opus 5.5 at 1/30 the cost — KlausCodes · 2026-09-29
- SpaceO: Open-Source MCP Server Gives AI Agents Their Own Virtual Mac Display — ParthJadhav · 2026-09-29