or Both?

Question: Am I failing to set correct boundaries when wife actively seeks attention from guys and engages in harmless flirting even in my presence, or I am not pulling enough attraction yet. I understand 1 month of MRP alpha required to undo for every year of Beta behavior, so I have long way to go.

Previous post here. 35M, 34F, together 10 years, no kids. I still do not initiate as much, partly because I am not attracted to her in the same way when I had her on pedestal (most likely it is due to my anger phase); and partly because condoms are only 99% effective and I just don't want to risk even 1% of having a baby right now.

I have been reading since February, but only started lifting seriously a month ago, and boy what a difference it makes in just the mind, and in posture! I am still skinny though not skinny-fat anymore, and far from strong. That said, I am easily the best bod in the my friend circle.

So here is the problem, I pull IOI from girls and married women all alike, in wife's presence and absence both. And I actively shut down all flirting and keep the interactions to formal/semi-formal level as that is what I think is right. I am least perturbed that my wife has shown no apparent change in her attraction to me, or given me any extra attention. But I do find it disrespectful when she allows guys to harmlessly flirt with her and engages them, sometimes at the cost of ignoring me. These are not at bars but at restaurants with friends, and friends of friends. Only after arriving here I realized she has had some major red flags - mainly guy friends, separated parents, never owns her mistakes, doesn't do feminine things at all, tomboyish, attention craving, likes her 'freedom' and considers me old fashioned.

On my front, Physical basis is being improved. Intellectual already pretty good. Emotional basis is where I am struggling I think. And that is why I believe I am failing even the Dread level 1 because my frame appears to be aloof rather than strong and stable. I am leading in my life in every possible manner (work status, social status, financially no debt except home mortgage etc) but failing miserably in personal life. (EDIT: I suck at game. I find it difficult to be casually playful.)

As some advised in previous post, I am considering divorce and put a stop to my losses. But, I want to ensure I am doing that only as a last resort. I want to be in the best condition I can before I give up.

If it is setting boundaries, how do I convey them? I don't want to mateguard but I do want to convey my displeasure at this.