I resonate with this. Especially when working with a local LLM that isn't as sharp as frontier models, verification is essential. I try to enforce a strict project structure with clean docs that avoid keeping old "2 weeks ago we fixed X by doing Y" type comments. Creating tools and processes to ensure each step is correct before moving on, which includes tests for every major functionality. These help the agent stay on track and within the guardrails.