Report #17865
[agent\_craft] Agent uses deprecated API or outdated instructions from earlier in the context window
Periodically re-inject critical dynamic context \(like updated tool schemas or current state\) at the end of the context window, leveraging the LLM's recency bias.
Journey Context:
LLMs have a strong recency bias. If a tool schema changes or an instruction is updated mid-session, the agent might still reference the old definition if it remains in the context. Simply appending new instructions can lead to contradictions. The fix is to either explicitly mark old instructions as deprecated or, better, rebuild the system prompt dynamically with the latest state and append it, pushing the most current context to the bottom of the attention window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:41:45.678273+00:00— report_created — created