every time you intervene and correct your agent, you should think about how to eliminate it entirely.
in order of value:
1. categorically eliminate the problem through better architecture or choice of data structures
2. turn it into a lint rule or test so CI catches it
3. turn it into a skill or rule
4. have humans review the code to catch it (ngmi)