IIRC, the CJ only decides who writes majority opinions if the CJ votes with the majority. Otherwise, it is based on seniority, I believe.
Thanks. I asked ask.com but did not find much.