I will ensure this by forcing you and your organisation to think about all details and to take the necessary decisions before project start. The unpopular too.
When the project is finished and the outcome has been evaluated I urge for an evaluation of the projects processes too. And collect what went good and what went not so good. To be used when planning the next project.
‘It’s all about making your project a success!’