Boil the pasta. Bring a large pot of salted water to a boil and cook the pasta until just shy of al dente, about 2 minutes less than the packet says. Before draining, save a mug of the starchy pasta water.
Start the sauce. While the pasta cooks, warm the olive oil in a large pan over medium heat. Add the sliced garlic and chili flakes and cook for 1 minute until golden and fragrant, not brown.
Add the tomatoes. Tip in the cherry tomatoes and tomato paste with a pinch of salt. Cook for 5 to 6 minutes, pressing the tomatoes gently with a spoon, until they burst and turn into a loose, glossy sauce.
Combine. Drain the pasta and add it straight to the pan with a splash of the reserved pasta water. Toss everything together over medium heat for 1 to 2 minutes so the sauce clings to every strand.
Finish. Take the pan off the heat and stir in the torn basil and half the parmesan. Taste and adjust the salt and pepper, adding a pinch of sugar if the tomatoes taste sharp.
Serve. Twirl into warm bowls, scatter with the remaining parmesan and a few extra basil leaves, and serve straight away.