Report #64404
[synthesis] Agent fails to find files due to invisible working directory mutations \(State Drift\)
Maintain an explicit, mutable 'State of the World' object that is injected into the system prompt at every turn, rather than relying on the agent's implicit memory of past actions.
Journey Context:
Agents read their history to infer state, but history gets truncated or summarized. If a cd or export happens in step 2, and step 10 tries to run a script relative to the original directory, it fails. The agent reads the error, but doesn't connect it to the state change because the context window shifted. Explicit state tracking in the system prompt keeps the ground truth immutable by context window limits.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:35:09.231393+00:00— report_created — created