In a large bowl or stand mixer, cream together the softened butter and white sugar until light and fluffy. This takes about 2-3 minutes. Scrape down the sides and make sure everything is mixed evenly.
3/4 (170g) cup unsalted butter, softened, 1 1/4 (250g) cups granulated white sugar
Mix in the sourdough discard, egg, egg yolk, vanilla, and almond extract until smooth and creamy. Continue to scrape down the sides and make sure everything is well incorporated before proceeding to the next step.
1/3 (80g) cup sourdough starter discard, 1 large egg, 1 egg yolk, 1 1 /2 tsp vanilla extract, 1/4 tsp almond extract
In a separate bowl, whisk together the flour, cornstarch, baking powder, baking soda, and salt.
2 3/4 (345g) cups all-purpose flour, 1/4 (30g) cup cornstarch , 3/4 teaspoon baking powder, 1/4 teaspoon baking soda, 3/4 teaspoon sea salt
Add dry ingredients gradually to the wet mixture, mixing until just combined. Don't overmix your cookie dough batter at this point!
Cover the mixing bowl with plastic wrap or a lid and refrigerate the dough for at least 2 hours. For optimal fermentation, chill the dough overnight.
If chilling overnight, allow the dough to rest at room temperature for about 30 mins before shaping to make scooping easier.