I would say that they oversee the Pentagon and ensure that the military stays in civilian control. In the past, theories from war games percolate through the Joint Chiefs, who meet with SECDEF before presenting options to the President.
I was surprised Hegseth even desired a side channel that had the potential downside that he could accidentally text the coordinates of a carrier. Stuff like that gets Generals relieved immediately.