The right time to address this was probably a bit at a time after the 1st, 2nd and 3rd pages. Certainly not before the 1st and definitely not after the 5th.
>All of that could have been avoided by spending 1 day thinking a little harder and planning for the future.
The reason why you try as hard as possible to avoid planning for the future is because it's really hard to predict the future. Moreover humans have an inbuilt bias towards thinking we are better than we are at it (hence the gambling industry).
Refactoring as soon as possible after the fact will always produce better designs than up front planning for this reason.
>there are regular ways that programs grow based on how the business is growing and you can predict certain places
This is the kind of phrase that makes alarm bells go off in my head that somebody SHOULD be following YAGNI and isnt.
If it's defaults in a well worn framework that doesnt railroad you then fine but anything more than that - red flags all around.