The coalition that elected Mamdani is a complex and sometimes fragile one that requires careful maintenance.