Need to leave at least 1/2” between metal building and wood frame. the metal will move and you don’t want it moving your living space. I left 3/4 on this one. I am going to use R30 in the walls where i have ~10” of space (6” purlin, 3/4 gap, 3.5” 2x4 wall).