Stocktake at the end of a momentous year shows that the ruling party holds all the cards but has little room for manoeuvre