Great pic but don’t know what it is? Maybe a tree wasp cousin?
Shot this pic 3 days ago in our backyard. A friend said it is kind of a tree wasp that uses its orange feelers to locate bugs under tree bark, then drills into the bark and inserts an egg into the bug via the black feeler. Pretty fancy work! Don’t know its name.
What a truly spectacular photo of a Giant Ichneumon, Megarhyssa atrata. The explanation your friend gave you is essentially correct.