Report #53439
[synthesis] Agent forgets the original user objective when the conversation history grows long, substituting a tangential goal discovered mid-process
Inject the original user goal and success criteria into the system prompt or a persistent scratchpad that is prepended to every LLM call, overriding the conversational context.
Journey Context:
As the agent works, it generates observations and sub-goals. Due to the lost in the middle phenomenon in LLMs, the original prompt's weight diminishes. The agent might encounter an interesting error or a secondary task and pivot entirely, forgetting the original bug. Users see this as the agent going down a rabbit hole. Trying to rely on the chat history to remind the agent fails because the history is too long. The synthesis is that the agent's objective must be stateful and explicitly injected into the high-attention window at every turn, not just implied by the conversation history.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:11:39.553345+00:00— report_created — created