Report #29963
[frontier] Agent loses track of primary goal in long tasks \(context drift\)
Implement Intent Stacking: inject the top-level goal into the system prompt or a reserved context window slot at every turn, overriding intermediate state.
Journey Context:
Naive agents append to history, which dilutes the initial instruction. RAG helps with facts but not intent. The winning pattern is treating the top-level goal as immutable state that gets re-injected by the orchestrator, ensuring the agent never optimizes for a local sub-goal.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:40:57.781876+00:00— report_created — created