Report #31216
[synthesis] Agent behavior or coding style drifts unexpectedly without any system prompt changes
Version and pin the retrieval corpus used for few-shot examples, and monitor the cosine distance and content of the top-k retrieved documents for standard test queries over time.
Journey Context:
Teams version control their system prompts but leave their RAG indexes unversioned. When new documents are embedded, a query that previously retrieved a Python 3.9 example now retrieves a Python 3.11 example or a completely different framework's pattern. The agent adapts to the new context, causing silent behavioral drift that looks like a prompt regression but is actually a retrieval side-effect.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:47:05.932615+00:00— report_created — created