Report #15053
[architecture] Using vector database for within-session short term memory
Keep short-term, within-session working memory strictly in the context window. Only flush to a vector store \(long-term memory\) upon session termination or context overflow.
Journey Context:
Developers often pipe every turn into a vector DB for persistence. This is an anti-pattern for active conversations. Vector DBs lose sequential ordering and conversational nuance \(e.g., corrections\). Context windows preserve exact token sequences and conversational flow. Use the context window as L1 cache, vector DB as L2.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T23:08:33.286344+00:00— report_created — created