Preheat the oven to 350°F
Cut a clean pumkin in half and dust the fleshy side with cinnamon
Bake halved pumpkins upside down in a pan until soft
Brown butter in a saucepan while adding cinnamon, fine cloves, nutmeg and all spice. Watch so the butter doesn't burn
Once butter is browned and spices well combined, take pan off stove and allow to cool to room temperature. Pour the mix into another bowl to cool faster if necessary
Mix the flour, baking soda, baking powder and salt
In another bowl, mix the sugar, brown sugar, vanilla, sourdough discard and cooked pumpkin flesh
Add in the cooled butter mixture
Once the wet ingredients are well combined, mix in with the dry ingredients
Add the chocolate chips
Place dough in refrigerator for 45 minutes
Preheat the oven to 350°F
Scoop dough into small balls onto a cookie sheet
Bake cookies for 15 minutes
Remove cookies from oven and let them cool for 5 minutes
Transfer cookies to a cookie sheet to cool completely