Map each class to the next, pick detentions, preview totals and move every student into the new academic year in one run.
Finish first: Academic years: create, set current, lock
You should see: Header "Promote & session rollover — Move every student to the next class for the new academic year in one go." with cards 1. Years, 2. Class mapping, 3. Detentions (optional), 4. Preview and commit.
You should see: Toast "Academic year 2027-28 ready" and the target is selected.
You should see: Each class moves up by default; the final class is pre-set to pass out.
You should see: Ticked students appear as chips at the top; Clear all detentions removes them.
You should see: Tiles Promote, Pass out, Detain, Skip, Already enrolled and a per-class table From / Students / To.
You should see: Green alert Rollover complete with promoted, passed out (now alumni), detained and skipped counts. If ticked, the target year is now current.
You should see: The target year is current and sections show the promoted students.