Report #104012
[synthesis] Agent tool loop silently derails without raising an error
After every tool call, explicitly re-ground the agent by restating the current subgoal and the validated state; do not rely on the model's internal continuity. Use a deterministic state machine for milestone transitions, not natural-language 'continue'.
Journey Context:
No error is thrown because each individual LLM output parses and each tool returns 200. The failure is semantic drift: the model subtly reinterprets the goal at step 3, then optimizes for a proxy metric at step 5. Single-source tutorials treat this as 'bad prompt engineering' and suggest 'be more specific,' but that does not stop drift across 10\+ steps. The synthesis is that drift is an emergent trajectory property, not a prompt property. The fix is external state validation and goal restatement, not more instructions in the system prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T05:05:05.490515+00:00— report_created — created