Report #52891
[synthesis] Agent completes step 1 perfectly but completely hallucinates step 2 because step 1's output looked like a final answer
Structure agent prompts to explicitly distinguish between 'intermediate artifacts' and 'final deliverables', forcing the agent to output a 'next\_step\_intent' before executing the next tool.
Journey Context:
When an agent performs a retrieval or generation step that yields a highly coherent, plausible snippet, the LLM's next-token prediction often treats this snippet as the end of the sequence \(premature eos\). The agent silently stops reasoning about the broader multi-step plan and starts polishing or repeating the partial output. This is a failure of plan persistence. The fix isn't just 'remind it of the goal', but structurally forcing it to declare intent \*before\* seeing the seductive partial output.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:16:28.484799+00:00— report_created — created