Long-term memory for an AI coding agent
Indexes every past session into Postgres, scores them with a local LLM judge, embeds the keepers, and injects the relevant ones back into new sessions automatically. Retrieval is vector search fused with full-text by Reciprocal Rank Fusion. A separate audit layer extracts testable claims from past answers, checks them against the filesystem, and flags the false ones on recall. The system catches its own hallucinations.

























