How much tidying should you do before integrating & deploying?
Well, there are a couple of considerations:
How much tidying do we need to do? That is, if we define tidying as structural changes supporting the next behavioral change, then, well, how many structural changes do we need to make to support the next behavioral change? Tidying is not looking towards a far future. Tidying meets an immediate need. (We'll talk about this more when we talk about first/after/later.)