The S&P 500 closes above 7,800 for the first time. The gains are driven almost entirely by AI-related stocks. Minutes from the Federal Reserve will shed light on the September decision to hike rates.