Had a long coding session this weekend and noticed something.
The more context I give the agent, the harder it gets to keep it focused.
It starts repeating mistakes, ignoring earlier decisions, and sometimes changes things that weren't even part of the task.
I've started keeping a short project summary and updating the key constraints after every major change.
Way fewer random edits so far.
How do you keep your agent on track during longer sessions?