Report #29531
[frontier] Autonomous agent gradually expands task scope beyond the original mission in long loops
Maintain an immutable mission state object — a structured record of the original goal, explicit scope boundaries, and completion criteria — separate from conversation history. Inject this object into every planning step. At each planning iteration, force the agent to explicitly compare proposed actions against the mission state before executing.
Journey Context:
In autonomous agent loops \(ReAct, Plan-and-Execute\), each step generates new context that slightly shifts the agent's understanding of its task. After 10\+ autonomous steps, the agent's implicit goal has often drifted from the original request. This happens because the agent's planning is conditioned primarily on recent context, not the original instruction. Re-reading the system prompt is insufficient because the prompt may already be attention-attenuated, and the agent may reinterpret it in light of the accumulated context. The mission state pattern works because it is \(1\) structured, reducing interpretive ambiguity; \(2\) separate from conversation history, so it is never summarized away; \(3\) injected at the planning step specifically, where the agent is deciding what to do next; and \(4\) explicit about scope boundaries, not just the goal. Production teams in 2025-2026 use a JSON mission object with fields like goal, scope\_included, scope\_excluded, and done\_criteria that the orchestration layer prepends to every planning prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:57:34.265956+00:00— report_created — created