Set in the first book, on Agatha's first day at the School for Good, she reminisces on her and Sophie's time together back home in Gavaldon. I also have this story posted on AO3 under the same username. Book: "The School for Good and Evil" by Soman Chainani