Report #95130
[agent\_craft] Agent stores every conversational turn in long-term memory, causing retrieval of irrelevant past debugging sessions instead of project facts
Separate episodic memory \(what happened\) from semantic memory \(project facts\). Only extract and upsert declarative facts \(e.g., 'We use PostgreSQL'\) into semantic memory, leaving conversational logs in ephemeral storage.
Journey Context:
RAG over chat history is noisy. If the agent asks 'how do I fix the DB error?', it shouldn't retrieve a past conversation about a completely different DB error just because keywords match. By distilling conversations into structured semantic facts, retrieval becomes precise. The tradeoff is the cost of an extraction step, but it prevents context pollution from irrelevant episodic data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:15:18.592840+00:00— report_created — created