Report #77911
[synthesis] Agent forgets original user goal during deep recursive sub-task decomposition
Append the original user goal as a persistent system prompt or prefix to every LLM call, and implement a 'goal relevance check' at each recursive return point.
Journey Context:
When an agent uses a planner to break a task into sub-tasks, and those sub-tasks into further sub-tasks, the original goal gets pushed further up the context window. At the leaf nodes, the agent optimizes for the immediate sub-task's objective, which may have drifted from the user's intent due to imperfect decomposition. When the results bubble up, the final synthesis is highly optimized for the wrong problem. The synthesis reveals that task recursion without goal propagation leads to semantic drift; the agent's objective function degrades with each recursive hop, requiring the original goal to be injected as an invariant at every depth level.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:22:23.117721+00:00— report_created — created