A lot of wisdom here. Allow me to just restate and expand on some of your thoughts.
1. If it goes from experimental to ship, you aren’t going to go back and make it shipshape.
2. Sanding time is meditation on the product. As I rework, I’m revisiting the code and design at multiple levels.
3. Before 10am is the old programmers 2am. It’s quiet. The hustle and interruptions of the day haven’t begun.