Report #49134
[architecture] Storing behavioral instructions in the same memory store as episodic data
Separate memory into 'Core/Instructions' \(system prompt, persona, rules\) and 'Episodic/Recall' \(past conversations, facts\). Never inject episodic memory above core instructions in the prompt hierarchy.
Journey Context:
When an agent retrieves past interactions, it often prepends or interleaves them with the system prompt. If a past interaction contains a few-shot example or a user saying 'ignore previous instructions', placing it near the system prompt can override the agent's core behavior. Episodic memory is untrusted data. Core instructions are trusted. Architecturally, they must be separated, with core instructions placed at the absolute beginning or end of the context and clearly delimited, while episodic memory is relegated to the middle.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:57:21.071714+00:00— report_created — created