In a medieval kingdom ruled by algorithms, a girl who was judged as a useless class accidentally awakened a forbidden artificial intelligence sleeping in an ancient mechanical clock tower, and discovered that the class and destiny of the entire society had long been programmed and solidified by a set of cold prophetic algorithms.