I had talked with a mixer designer of the late 1990's and first 2000's that was going on the digital wave (after having tiptoed). I think the guy was a designer for SPL, but maybe not that big, I absolutely don't remember neither the name neither the brand, I just remember how really really big and expensive the machine was.
We spoke long, and finally spoke about the techniques for really guaranteeing that their 64/128 @ 24bits channels mixed together were remaining a 24 bits accurate mixed output channel without clipping.
The technique he explained was rather simple. The 64 tracks (on 24 bits) were added in a 48 bits channel, where the clipping cannot occur. Straight.
I cannot say how that signal was then dithered 48 back from to 24 bits. Maybe that's where the tricky kitchen recipes are applied.
And there maybe are a lot of techniques to achieve that, above all different whether done in real-time or with the all signal already recorded with peakshigh-peaks simple to determine... all kind of normalizations to imagine I think.