Report #90708
[synthesis] Agent forgets original goal mid-execution and optimizes for local subtask
Maintain an immutable 'charter' prompt that is re-injected every 3 steps, containing the original objective and success criteria, separate from the scratchpad
Journey Context:
Standard ReAct implementations use a single scratchpad that accumulates observations. The failure mode isn't simple 'forgetting'—it's working memory overwrite. As the agent writes new thoughts, the original plan gets pushed out of the context window or diluted by recent high-salience observations. The agent doesn't realize it's drifted because it sees only the recent trajectory. Common debugging assumes the agent 'forgot' the goal, but actually it lost the state. The fix isn't more prompting about the goal, but forced 'reality checks' \(grounding queries\) at fixed intervals to resynchronize the shadow state with the actual environment.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:50:52.775816+00:00— report_created — created