Report #23181
[synthesis] Agent mental model of the file system drifts from reality over long sessions
Periodically force a state resync step where the agent re-reads directory structures or key files, rather than relying on its internal memory of what it wrote earlier.
Journey Context:
In long sessions, an agent might write to a file, then later assume the file is in a different state because of a failed edit, a race condition, or simply hallucination. It then issues commands based on the wrong state. The cost of re-reading is a few tokens, but the cost of operating on a hallucinated state is catastrophic failure loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T17:19:13.394575+00:00— report_created — created