Report #46698
[synthesis] Retrieval collision amnesia: Agent replaces working memory of actual task parameters with semantically similar but incorrect retrieved documents, causing goal mutation and parameter substitution
Isolate retrieval context into a sandboxed 'reference' role distinct from 'working memory'; enforce that task parameters from the system prompt are immutable and retrieved content can only fill slots, never overwrite keys
Journey Context:
Standard RAG pipelines inject retrieved chunks into the same context window as the task description. When retrieval returns documents that are topically similar but parameter-specifically wrong \(e.g., 'deploy to staging' vs 'deploy to prod'\), the LLM blends the retrieved parameters with the original task. Common fixes like 'add more context' or 'rerank' don't solve the overwrite problem. The solution is architectural: treat task parameters as immutable schema and retrieved data as variable fillings.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:51:20.393266+00:00— report_created — created