Yes, the trick is to keep overview and control over the unit/integration tests. These are the deterministic expectations that you can run as many times as you want. When you do this part well and include linter rulesets combined with skills describing code patterns preferred in the repo, the rest is relatively easy.