Preheat the oven to 375°F. Line 2 cupcake tins with liners.
To make the batter: In a large mixing bowl, add the flour, cinnamon, baking powder, ginger, sea salt, and cloves. Whisk together to combine completely and set aside.
In the bowl of a stand mixer fitted with the paddle attachment, add the butter and light brown sugar. Cream together until light and fluffy. Mix in the egg yolks, pumpkin puree, and sourdough discard until the starter has fully dissolved into the mixture.
Using a spatula (or with your mixer on the low setting), slowly add in the flour mixture and mix until combined.
Using a large spoon or cookie scoop, fill the cupcakes three-quarters full.
Bake for 19 to 21 minutes or until a toothpick inserted in the center comes out clean.
To make the frosting: In the bowl of a stand mixer fitted with the paddle attachment (or using a hand mixer) add the butter, cream cheese, maple syrup, and powdered sugar. Mix on low until combined, then speed mixer up to high and whip for 1 to 2 minutes or until light and fluffy. Be sure to scrape down the sides of the bowl and paddle to mix thoroughly so you have a smooth texture.
Transfer the frosting to a piping bag with Ateco tip #827.
To make the topping: In a small bowl, add the cane sugar and cinnamon and stir to combine completely. Be sure to have this ready before frosting the cupcakes so when you sprinkle this on top, it sticks and the frosting hasn’t began to set yet.
Pipe frosting onto each cupcake and sprinkle with the cinnamon and sugar mixture. Stick with a cinnamon stick (optional).
Store in an airtight container in the fridge for up to 3 days.