Report #30101
[synthesis] Agent retrieves irrelevant code snippets for queries that used to work
Periodically re-embed a fixed set of anchor queries and measure the cosine distance shift of the top retrieved documents over time. Alert on distance drift.
Journey Context:
If the underlying embedding model is updated by the provider, or if the codebase shifts \(new modules dominating the vector space\), old queries return different results. The agent doesn't error; it just reasons over bad context. Teams monitor the agent's logic, not the RAG pipeline's retrieval consistency. Anchor queries act as a canary for the vector space.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:54:52.764741+00:00— report_created — created