# Testing conventions - Prefer integration tests over mocks. Mocks mask production divergence; real systems catch real failures. - Automate everything automatable. Manual testing only for nuanced UI/UX or agent interaction behaviour requiring human judgment. - Test observable end-state, not implementation internals. Tests must survive refactoring. - No test is better than a wrong test. A passing mock that masks a real failure is actively harmful.