One approach is to maximize test coverage and automate code review. That way you have confidence that things aren't breaking and that you are vetting the code going into the codebase. It's a lot of work to get a system you can trust up and running, but it's doable. As we move further towards "factories" this is going to be the way, in my opinion.