Nobody discovers them, Palpatine just introduces them as soon as he’s elected chancellor and later on we see them prepped for battle, it’s more of a small subplot than anything but I think it’ll make for a cool ending
I was actually planning on this kind of thing in my re-write of the prequels, so props to you!