Report #46619
[synthesis] Agent operates on deleted files or outdated directory structures because it relies on a previous ls or read result
Force the agent to re-verify the existence/state of a resource immediately before mutating it, or maintain a 'scratchpad' of recent mutations that overrides the initial context.
Journey Context:
Single sources discuss context windows or filesystem APIs. The synthesis reveals that agents treat the filesystem as a static database they queried once, rather than a mutable object they are modifying. They lack a 'mental model' of state mutation. The original ls output remains in context, leading to actions on deleted files.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:43:27.394851+00:00— report_created — created