What would you have done differently since you support the idea?
First, you don't splash something into a system requiring major changes, which in turn requires major funding the way this was done. The way this was foisted onto schools was "do it now" with no regard for the fact that school budgets had already been obligated; thus cost to schools was a set-up for them to fail.
Do it on a graduated scale; and because it's a requirement, make sure there is funding that goes with it, so that it's set up to succeed.
Second, you're forcing kids to eat stuff that they're not getting at home. Stuff that's made to be flashier, tastier, and more appealing. Some type of education and reward system is needed to encourage students to make the choices for themselves, rather than send their systems--both mentally and physiologically--into shock. "Eat this, and you can have that."
Third, extend it to the homes, to help enforce it in the school. Send some of the good stuff home with kids each week, and come up with a system for the family that rewards them for having their kids eat the good stuff at home AND at school.
The biggest failure piece was implementing the change in the middle of a school year, when education fiscal years typically run 1 July through 30 June; and their cafeteria budgets had already been obligated for the year. Now they were required to change their ingredients, meal plans, and food sources; and because it came without funding, the schools were told to make it happen within their own budgets, and that they faced penalties if they didn't.
The second biggest failure was the expectation that children would somehow make healthy eating choices when they'd already spent most of their lives immersed in alternatives. You don't make addicts go cold turkey; they have to want to get off the substance. You don't make people eat differently; they have to want to eat differently.
I could go on, but I think I've made my point. If you see anything erroneous about it, please feel free to comment. Otherwise, would you agree that it might have been well-intentioned, but was fatally flawed from the get-go?