Found a way:
The way to complete the mastery is by NOT UPGRADING NEITHER ZHUGE NU OR FIRE LANCER FROM ARCHERY RANGE/STABLE , but through the Spirit Way landmark. Most people get confused by seeing only 3 icos, but the Zhuge Nu is a 2 time upgrade.
It doesn’t matter the building order for the landmark, nor needed to be on the last dinasty. As long as you get these 4 upgrades from the landmark itself, you’re clear.
[Chinese Mastery Path of the Spirit After Update - Age of Empires IV / IV - Report a Bug - Age of Empires Forum]