Cook the pasta according to package instructions in a large pot of salted boiling water. Drain and set aside.
In a skillet, heat olive oil over medium heat. Add diced onion and sauté for about 3-4 minutes until softened.
Add minced garlic and carrots to the skillet. Cook for an additional 5-6 minutes until the carrots are tender.
Stir in the chickpeas, vegetable broth, plant milk, thyme, rosemary, and paprika. Bring to a gentle simmer.
If using corn, add it now along with the frozen peas. Cook for about 5 minutes, stirring occasionally.
For a thicker sauce, mix the cornstarch with a little water to create a slurry, then stir it into the pot. Cook for an additional 2-3 minutes until the sauce thickens.
Combine the cooked pasta with the chickpea mixture. Stir well to coat the pasta with the sauce. Season with salt and pepper to taste.
Serve warm, garnishing with fresh herbs if desired.