Report #103087
[architecture] Old conversation turns silently bias the agent's answers on new topics
Separate 'conversation history' from 'relevant memory'. Reconstruct each turn's prompt from retrieved evidence, and use a distinct instruction block that tells the model to prioritize retrieved facts over older turns.
Journey Context:
The easiest retrieval mistake is to prepend the last N turns to the prompt. Old turns carry outdated assumptions, stale file contents, and resolved errors. They act as few-shot examples that override retrieved facts. The fix is to treat chat history as metadata for retrieval, not as content for the answer. Compile a fresh evidence set per turn and make the system prompt explicit about precedence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-10T04:59:53.484967+00:00— report_created — created