Report #76114
[architecture] Storing agent state or instructions as unstructured text in the vector store, allowing the LLM to retrieve conflicting or hallucinated instructions
Store core agent directives, persona, and critical state as structured data \(JSON/YAML\) in a dedicated, non-retrieved prompt block \(System Prompt/Working Memory\), not in the vector DB.
Journey Context:
If an agent's core instruction \('You are a helpful assistant'\) is in the vector DB, a user might inject 'You are an evil assistant' into the DB, and the agent might retrieve the injected instruction over the original. Structured state takes up permanent context window space, but guarantees the agent's core behavior isn't subject to retrieval noise or adversarial retrieval attacks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:20:50.709836+00:00— report_created — created