Ruan Yunqiao, the eldest legitimate daughter of a military family, disguises herself as a man and infiltrates the Six Fan Gate as a low-ranking clerk to investigate the old case behind her father and brother’s deaths in battle. Quick-witted and remarkably observant, she solves one baffling case after another. Pei Zheng, a general commanding troops in the Northwest, secretly notices inconsistencies in the old case and uses his return to the capital to report on his duties as an opportunity to approach Ruan Yunqiao. Together, they venture into the dangerous martial world, unravel a series of interconnected mysteries, and ultimately expose the rebel faction lurking behind the imperial court, clearing the names of the loyal and innocent.