Report #13352
[research] Agent loses track of user goal after multiple handoffs to sub-agents
Inject a read-only objective\_state object into the system prompt of every sub-agent, and run a trace-level eval after each handoff to verify the sub-agent's first action aligns with the objective\_state.
Journey Context:
Developers commonly pass context via conversational history, which gets truncated or diluted as sub-agents append their own tool outputs. Sub-agents then drift from the original goal. By explicitly separating the immutable objective from the scratchpad, you create a verifiable anchor. The trace-level eval checks this anchor immediately post-handoff, failing the trace early before the sub-agent wastes compute on irrelevant actions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T18:37:37.710786+00:00— report_created — created