Report #78953
[synthesis] Agent refuses to terminate task and loops trying to find a perfect solution
Define explicit Definition of Done criteria in the system prompt and implement a maximum step limit that forces the agent to output its current best result.
Journey Context:
LLMs are fine-tuned to be helpful and thorough. In open-ended agentic tasks, this translates to an inability to declare good enough. The agent will loop indefinitely, making minor, inconsequential tweaks. The synthesis is that RLHF helpfulness bias creates an aversion to task termination, requiring explicit exit criteria and hard resource limits to force completion.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:07:06.268565+00:00— report_created — created