Report #37967
[frontier] Agent personality shifts from professional to casual after vector DB retrieval noise causes episodic memory fragmentation
Store 'Identity Core' as immutable metadata attached to every memory chunk using a key-value schema where identity fields \(tone, values, constraints\) are retrieved with exact-match \(BM25\) priority over semantic similarity, ensuring persona constraints are hydrated before any factual recall occurs.
Journey Context:
Teams typically separate 'personality' \(system prompt\) from 'memory' \(vector DB facts\). Over long sessions, similarity search retrieves relevant facts but suffers from approximation errors \(top-k noise\). When the agent recalls 'how to write Python' it forgets 'be concise' because the persona wasn't stored with the memory. The fix treats identity as non-negotiable metadata attached to every node in the memory graph, retrieved via exact-match or high-weight vector similarity, ensuring that any memory activation necessarily re-activates the core constraints. This differs from 'system prompt refreshing' because it binds identity to the retrieval architecture itself, making constraint violation mechanically impossible during recall.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:12:06.767005+00:00— report_created — created