01 - Preheat oven to 400°F.
02 - In a large baking dish, arrange the cherry tomatoes and smashed garlic cloves. Drizzle with olive oil, then season with salt, black pepper, rosemary, sage, thyme, and red pepper flakes. Toss to coat the tomatoes evenly.
03 - Nestle the block of feta cheese in the center of the baking dish among the tomatoes. Drizzle the cheese with a little additional olive oil.
04 - Roast in the preheated oven for 30 to 35 minutes, or until the tomatoes are bursting and the feta is golden and softened.
05 - While the tomato mixture roasts, cook the pasta in a large pot of boiling salted water according to package instructions until al dente. Reserve 1/2 cup of pasta cooking water, then drain.
06 - Remove the baking dish from the oven. Using a fork or spoon, mash the feta and tomatoes together until creamy and well combined.
07 - Add the cooked pasta to the baking dish and toss to coat thoroughly, incorporating reserved pasta water as needed to achieve a silky sauce.
08 - Stir in the lemon zest and half of the chopped parsley for brightness.
09 - Serve immediately, garnished with remaining parsley, toasted walnuts or pecans if desired, and additional black pepper.