In the bowl of a stand mixer fitted with the paddle attachment, add the cold, cubed butter, dark brown sugar, and granulated sugar. Mix on low speed until the butter breaks into small, pebble-like pieces. Do not cream until fluffy.
Add the whole egg, extra egg yolk, and vanilla extract. Mix until combined.
In a separate bowl, whisk together the flour, baking soda, baking powder, cornstarch, and salt.
Gradually add the dry ingredients to the butter mixture, mixing on low speed until just combined. Fold in the semi-sweet chocolate chips and chopped milk chocolate.
Cover and refrigerate the dough for at least 2 hours or overnight. If using gluten-free 1:1 flour, let the dough rest for 15 minutes before refrigerating.
Preheat oven to 375°F. Line baking sheets with parchment paper.
Use a large cookie scoop to portion the dough. Gently shape each portion into a tall, uneven ball, pinching the sides rather than rolling smooth. Place about 2 inches apart on the baking sheets. Sprinkle with flaky sea salt if desired.
Bake for 9–11 minutes, until the edges are lightly golden and set but the centers still look slightly soft.
Let cookies cool on the baking sheet for 10 minutes before transferring to a wire rack. The centers will continue to set as they cool.