Report #48773
[synthesis] Agent goal drift in long sessions without errors
Inject a compressed 'goal state' checksum at fixed token intervals or before every tool call, and monitor the cosine similarity between the current action embedding and the initial goal embedding.
Journey Context:
Teams monitor token count but not attention distribution. As context fills with successful tool outputs, the model suffers from 'Lost in the Middle' and forgets the original constraint. It doesn't error out; it just solves a slightly different, easier problem. Simply truncating history breaks state; dynamic re-injection of the core goal forces attention back to the original intent, catching drift before it manifests as a bad output.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:21:04.248969+00:00— report_created — created