The city’s public schools retained a former education official nicknamed the “shadow chancellor,” Dan Weisberg, as a consultant on the matter.