Your commander's creature types are checked immediately after you cast a creature spell spending mana from Path of Ancestry's last ability. They aren't set before the game begins, and they may not be the same types your commander had when you activated that ability.
Path of Ancestry
If you have two commanders, the last ability adds one mana of any color in their combined color identities. When you spend that mana on a creature spell that shares a creature type with either of your commanders, you'll scry 1.
If you cast your commander with mana from Path of Ancestry, and your commander hasn't somehow lost all of its creature types while on the stack, you'll scry 1.
Magic: The Gathering · ™ & © Wizards of the Coast · Illus. Wisnu Tan
Card data via Scryfall. Rarix is fan-made; not endorsed by the rights holders.
