Report #26896
[architecture] Saving every conversational turn or low-value interaction into long-term memory
Implement an importance scoring step before writing to long-term memory. Ask the LLM to rate the importance of a memory on a scale \(e.g., 1-10\) before embedding and storing it. Only persist memories above a certain threshold.
Journey Context:
Storing everything seems safe \(no data loss\) but destroys the signal-to-noise ratio during retrieval. Storing nothing loses cross-session capability. The tradeoff is an extra LLM call per memory write vs. long-term retrieval quality. This is the right call because retrieval noise is much harder to fix downstream than filtering at ingestion.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:32:32.387846+00:00— report_created — created