Unless your spouse is also in the military, the UCMJ and the adultery punishments do not apply to her. You can bring this up in civil court during your divorce, but the military can do nothing to her. Unfortunately, they can do something to the active member. Not fair, but true.
As far as I know, there is no SOL for Adultery under the UCMJ.
I read your post, got tired of thinking, came to a conclusion, would explain that conclusion, but I'm afraid your head would explode. Besides, I am a stark raving mad naked lunatic who burns then pillages and could care less if you think you are better than me.