Before resuming a long session, ask for a short recap of goals and forbidden paths.

Drop chatty history; keep failing tests, allowed directories, and the last good commit.

If the last turn made a bad edit, revert or reject it before continuing.

Start the resumed turn with one small verification task, not a large refactor.

Pin the recap in AGENTS.md when the same constraints will last all day.

Change one variable at a time and confirm what actually helped.

If a company policy is involved, rule that out before chasing client settings.

Write the working steps into a short checklist for next time.

Export or screenshot a good setup so reinstalls are faster.

If it still flakes, retest on a clean network such as phone hotspot.