Roast Aromatics for Deep Flavor: Preheat your oven to 425°F (220°C). Line a small baking tray with parchment paper. Arrange the quartered onion and peeled garlic cloves on the tray, sprinkle with crushed red pepper flakes, and drizzle with olive oil. Toss gently to coat everything evenly. Roast in the oven for about 25-30 minutes, or until the onions become soft and develop a golden, caramelized appearance. This slow roasting step is key to unlocking sweet, smoky flavors.
Cook Pasta to Al Dente Perfection: While the vegetables roast, bring a large pot of heavily salted water to a rolling boil. Add the spaghetti and cook according to the package directions until just tender but still firm to the bite (al dente). Before draining, scoop out and save about one cup of the starchy pasta water to help loosen the sauce later. Drain the pasta and return it to the pot, covering to keep warm.
Blend Roasted Vegetables into Creamy Sauce: Once the onions and garlic have roasted, transfer them to a blender or food processor. Add the drained roasted red peppers and pour in the plant-based milk. Blend on high speed until the mixture is smooth and creamy, with no visible chunks. The result should be a luscious, velvety sauce that coats the pasta perfectly.
Combine Sauce and Pasta: Pour the creamy roasted pepper sauce over the cooked pasta in the pot. Toss thoroughly to ensure every strand is coated. Gradually add the reserved pasta water, a little at a time, to achieve your preferred sauce consistency — silky but not too runny. Taste and adjust salt if needed.
Garnish and Serve Immediately: Serve the pasta hot, topped with torn fresh basil leaves for a fragrant, herbal note. Enjoy as is or pair with a side salad or your favorite roasted vegetables for a complete meal.