(Semi pro jazz guitarist here). The heuristic I was taught: the accompanist owns the 3rd and the 7th, which allows the SOLOIST to choose #4, 5th or the #5 as the muse dictates in the moment. The 5th is an semi-avoid note, until I hear the soloist commit to a choice of 5th.