I am also curious as to whether RUSADA has the power to sanction Valieva for events outside of Russia. Despite their "no fault" finding, they did strip her of her gold medal for the 2022 Russian national championships and that's a big deal. The only time I remember a national skating title being stripped in the USA is 1994 when the USFSA vacated Tonya Harding's gold medal even though there was no evidence that she knew about the planned attack on Kerrigan in advance. So perhaps it's up to the ISU to punish Valieva for the European Championships (where she tested negative) and the Olympics (again, negative).
I simply don't know what's the fairest actions regarding the team medals at the Olympics. In my former regulatory life, sometimes we needed to try to place all parties so they would be similarly situated to where they would have been in when fixing a prior regulatory failure. To me, if RUSADA had acted timely on the test at Russian Nationals then Valieva likely would not have appeared at the Olympics (and possibly not at Europeans) in the first place. In that situation, Elizaveta Tuktamysheva likely would have been selected to skate at both events--so she's the first injured party (like Michelle Kwan missing the 1994 Olympics due to the Harding situation not being concluded until afterwards). For the team event, Russia would likely have had Shcherbakova and/or Trusova skate instead of Valieva. Given the dominance of Russian women, I don't think anyone on FSU believes Russia would not have won team gold in that situation.
Ultimately I think the following may be the fairest resolution for all parties: award Russia gold, USA silver, and Japan bronze. However, I would seriously consider stripping ONLY Valieva of her team gold while awarding them to her teammates. But if the entire Russian team is stripped of the team gold, I would vacate the gold medal similar to what happened to Harding at 1994 US Nationals. To me, it would be a complete joke to bump the USA up to gold, Japan to silver, and Canada to bronze given that would NOT have happened if Valieva's situation had been handled in a timely manner where Russia could have substituted another top five woman for her and easily won the gold. Of course these Olympic team medals should be awarded ASAP, hopefully at Worlds (for USA and Japan, at least). Finally, Valieva could be stripped of her 4th place Olympics finish with everyone else moving up a slot.
Net-net, no one would be entirely happy with these results and maybe that's an indication of a fair compromise. In my proposal, Valieva not only would lose her Russian title but also her European title and Olympics team gold. She would be disqualified from the women's event and all skaters who finished behind her would move up one position. However, the rest of the Russian skaters would keep their team gold medal and no Russian woman would receive Valieva's team gold medal. The USA and Japan team would receive their long-delayed silver and bronze medals ASAP, consistent with the almost certain results if Valieva had been replaced.