Add softened butter to a large bowl. Beat with an electric mixer on medium speed until creamy, about 30 seconds.
170 grams unsalted butter, room temperature
To the butter, add the white sugar and tightly packed light brown sugar. Cream on medium speed for an additional 30 seconds until combined.
75 grams white sugar, 75 grams light brown sugar
Then, add the egg yolk, sourdough starter discard, and vanilla extract and mix until combined.
1 egg yolk, 50 grams sourdough discard, 4 grams vanilla extract
In a separate bowl, whisk together the flour, cornstarch, and salt.
280 grams all-purpose flour, 6 grams cornstarch, 3 grams salt
With your mixer on low speed, gradually add the dry ingredients to the butter mixture. Occasionally you will need to stop and scrape the sides of the bowl. The cookie dough will look dry and crumbly, but keep mixing through this, everything will come together.
With a cookie scoop or hand, scoop about 1 Tablespoon worth of cookie dough and roll it into a tight and smooth ball. It is important that there are no air pockets in the dough, otherwise, this can lead to cracks in the exterior of the cookie dough.