Preheat oven to 400ºF.: You will notice a steady dry heat build in the oven that encourages caramelization, which is essential for flavor. Preheating ensures the moment you place the tray inside the vegetables begin to char at the edges rather than slowly steaming, giving you those nutty browned notes. A common misstep is sliding a cold pan into an oven that is still warming, which leads to uneven roasting. If you have a thermometer, confirm the oven reads 400ºF before you begin.
Cook pasta according to package instructions. Drain, rinse with cool water, and set aside.: After cooking the pasta you should hear a slight tender bite when you test it, with no chalky center. Rinsing with cool water stops carryover cooking and cools the noodles so they do not wilt the roasted vegetables when combined, helping maintain texture. Be careful not to overcook, which makes the bowl mushy, and drain thoroughly so excess water does not dilute the dressing.
Arrange zucchini, squash, eggplant, asparagus, red onion, red pepper, cherry tomatoes, and garlic cloves (unpeeled) on a large sheet pan. Drizzle with olive oil and season with salt and pepper. Toss everything to coat and create a small well in the center for the garlic cloves.: As you toss, you'll feel the oil slick the surfaces, which helps the vegetables form golden edges in the oven. The visual cue is shiny, evenly oiled pieces and a concentration of garlic tucked into the well so it roasts gently instead of burning. Avoid crowding the pan, because overcrowding causes steaming rather than roasting, leaving you with pale, limp vegetables.
Roast for 30 minutes, or until vegetables are tender and starting to brown. Let cool slightly.: During roasting you will hear a soft crackle and notice the vegetables shrivel slightly, developing browned, sweet edges. The smell will deepen into caramelized notes with a hint of toasted garlic. If pieces are unevenly sized, some will brown faster, so rotate the pan halfway through if needed. Do not over roast to the point of mushiness, aim for tender with golden spots.
Once garlic cloves are cool enough to handle, peel them and mash into a paste with a fork. Add to a small bowl or jar along with olive oil, lemon juice, Dijon mustard, oregano, salt, and pepper. Whisk or shake to combine.: The roasted garlic will have softened into a sweet paste that perfumes the dressing; mashing it releases those mellowed sugars. When you whisk with olive oil and lemon, notice the dressing turning glossy, and the aroma becomes bright and savory. A frequent error is adding all salt at once without tasting, so season gradually and adjust balance between acid and oil.
In a large mixing bowl, combine the cooked pasta, roasted vegetables, mozzarella balls, diced shallot, parsley, and basil. Pour dressing over the top and toss until everything is well coated.: As you fold ingredients together, you'll see ribbons of dressing cling to the pasta and vegetables, glinting under the herbs. The sound is a soft swish as forks and spoons move through the bowl, and the aroma is a layered mix of roasted sweetness and bright citrus. Toss gently to avoid breaking tender eggplant pieces; over vigorous tossing can turn creamy vegetables into a paste, so be gentle while ensuring every bite is seasoned.
Serve and enjoy!: Serve the salad warm, at room temperature, or chilled, and notice how flavors shift with temperature; warm makes the mozzarella slightly softer, chilled tightens the herbs' freshness. A common oversight is serving it too cold straight from the fridge, which mutes flavors, so allow it to sit at room temperature for 10 to 15 minutes if time allows.
Tastes great warm, at room temperature, or chilled.: This finishing note means you can adapt the salad to the moment; warm is comforting, room temperature is picnic friendly, and chilled is refreshing on hot days. Keep leftovers refrigerated in a sealed container to preserve texture and freshness. Avoid freezing, which damages the delicate textures of roasted vegetables and mozzarella .