Enemy At The Gates is utter propagandistic and asinine bullcrap - you’ll get more historical accuracy from Mel Gibson’s crappy “historical” movies than that one.
Order No. 227 mostly only applied to high-level officers - in reality, the vast majority of retreating soldiers caught by barrier troops were merely returned to their units. There are records of these things - no matter what western historians assume.
You say there are records, but even right now Russia is intentionally keeping a lot of its dead soldiers go unrecorded (ie MIA instead of KIA) just so they can keep payouts lower and more easily downplay losses. Doesn’t mean the same happened in WW2, but how do we know it didn’t either?
It’s really simple… it’s difficult to keep things secret when an entire country is suddenly involved in a war that’s literally on it’s doorstep. It’s the same reason so many people in the US still don’t have the foggiest clue what the US actually did in Vietnam, Laos and Cambodia - it’s much easier to keep secrets when the war is happening somewhere else. So yes… despite what western historians will have you believe, the Soviet Union of 1942 did have typewriters - lots and lots of them, as well as people to operate them. The massive losses the USSR suffered couldn’t be kept a secret - by 1942, the Soviet Union was literally filled with millions of first-hand witnesses. Stalin also didn’t have to lie to keep people in the Soviet Union fighting - the true nature of the genocidal Nazi colonialist program (Operation Barbarossa was no mere military operation) was pretty damn self-evident by that stage, too. If you read actual accounts of people who witnessed it all you get a far better understanding of it than the hot garbage alt-history Enemy At The Gates is based on - I recommend The Unwomanly Face of War.
it’s difficult to keep things secret when an entire country is suddenly involved in a war that’s literally on it’s doorstep
This description applies to the war with Ukraine as well. Weird that you think this is a point in your favor.