Im replying without the ability to place this in context as rn that button does not function fir me, so yes I believe I am confusing DPRK and PRC.
In Xi’s case laws needed to be changed to give him the ability to run a third time. IMO moving towards a more authoritarian state is never going to result in a move towards socialism as it further entrenches power in an elite.
The fact is DPRK has a hereditary leadership and the state seems to work to perpetuate that. The fact that there were historical justifications made for Kim Il Sung to pass it to his son is meaningless. DPRK has electoral turnouts that almost assure that the results are fake and it is hard to see an authoritarian state whose leadership has been inherited along family lines as anything other than the autocratic monarchy it is.