Report #40724
[synthesis] Context poisoning via successful but semantically adjacent retrievals that subtly shift task interpretation
Implement constraint-preserving retrieval that validates retrieved content against hard negative constraints \(versions, dates, scopes\) not just positive similarity
Journey Context:
Standard RAG uses semantic similarity, but 'adjacent' concepts \(Python 2.7 vs 3.10, similar but incompatible APIs\) hijack the agent's reasoning. High similarity masks constraint violations. The synthesis requires 'negative space' validation: explicitly checking that retrieved docs do NOT violate hard constraints \(version \!= X, date < Y\) rather than just maximizing cosine similarity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T22:49:42.090319+00:00— report_created — created