Report #51206
[synthesis] Agent completes all steps successfully but final output misses the original goal
Inject the original goal and success criteria into the system prompt of every intermediate tool-calling step, not just the planner.
Journey Context:
Standard ReAct implementations pass only the tool result back to the LLM. As context grows, the LLM suffers from 'lost in the middle' and forgets the initial objective, substituting a local heuristic for the global goal. Teams monitor step success rates, which remain 100%, missing the global divergence. Injecting the goal at every turn is slightly token-expensive but prevents the silent drift where an agent optimizes for intermediate step completion rather than final task success.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:26:06.327697+00:00— report_created — created