Report #65277
[synthesis] Agent ignores updated instructions while maintaining high cache hit rates
Inject a dynamic cache-buster \(e.g., current timestamp or random hash\) at the end of the system prompt if the prompt contains dynamic variables. Monitor cache hit rates; an unexpected 100% cache hit rate on a prompt that should be dynamic indicates the agent is operating on stale cached KV states.
Journey Context:
LLM providers use prompt caching to reduce latency and cost by caching the KV pairs of shared prefixes. If a framework dynamically injects variables into the middle of a prompt but the prefix remains identical, the provider might serve a cached response that doesn't reflect the dynamic variable changes, or the framework might not invalidate the cache properly. The agent runs fast and cheap, but uses outdated context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:03:07.332350+00:00— report_created — created