Step 1:Preheat the oven to 400 degrees F.
Step 2:In a medium bowl, toss the cherry tomatoes with olive oil, ¼ teaspoon of salt , and severalgrinds of black pepper until well combined. Transfer the mixture to a 2 ½ to 3 quart bakingdish, placing the block of feta in the center of the tomatoes. Sprinkle a pinch of black pepperover the feta. Bake at 400 degrees F for about 30 minutes, until the tomatoes are burstingand the feta has softened. Increase the oven temperature to 450 degrees F and bake for anadditional 10 to 15 minutes, or until the tomatoes and feta are golden brown andcaramelized.
Step 3:Meanwhile, bring a large pot of well-salted water to a rolling boil over high heat. Add thepasta and cook until it reaches an al dente texture, approximately 13 minutes. Reserve ½cup of the pasta cooking water before draining the pasta thoroughly.
Step 4:As soon as the tomatoes and feta come out of the oven, mix in the garlic and red pepperflakes (if desired). Use the back of a spoon to mash the tomatoes and feta into a smooth,creamy sauce (it’s fine if some oil remains separate). Add the pasta and half of the basil,tossing until evenly coated. If the sauce is too thick, stir in some pasta water a fewtablespoons at a time.Taste and adjust the seasoning with salt and pepper. Serve garnishedwith the remaining basil and a sprinkle of sea salt.