Brown the butter. Melt the butter in a light-colored saucepan over medium heat. Swirl the pan often. It will foam, crackle, then go quiet, and the bits on the bottom will turn amber and smell like toasted hazelnuts. That's your cue, usually 5 to 7 minutes in. Pour it into a heatproof bowl, scraping in every brown bit, and let it cool for 10 minutes.
Whisk the sugars. Add both sugars to the warm butter and whisk for a full minute, until the mixture looks glossy. Whisk in the eggs one at a time, then the vanilla, until smooth and slightly thickened.
Add the dry ingredients. Sprinkle the flour, cornstarch, baking soda, and fine salt over the top. Fold with a spatula until the last streaks of flour almost disappear. Stop early rather than late; overmixing builds gluten, and gluten builds tough cookies.
Fold in the chocolate. Add the chips and chopped chocolate and fold until evenly scattered. The dough will be soft and a little shiny. That's normal.
Chill. Cover the bowl and refrigerate for at least 1 hour and up to 72 hours. Cold dough is non-negotiable here.
Heat the oven. When you're ready to bake, set the oven to 350°F (175°C) and line two baking sheets with parchment paper.
Scoop. Scoop the dough into balls of about 3 tablespoons each (roughly 55 g if you own a scale). Roll them briefly, then tear each ball in half and press the halves back together with the torn, craggy side facing up. That rough top bakes into the rippled bakery look.
Bake 10 to 12 minutes. Space the balls 2 inches apart and bake until the edges are golden and set but the centers still look slightly underdone and puffy. They will finish cooking on the hot pan.
Finish like a bakery. Right out of the oven, sprinkle each cookie with a pinch of flaky salt. Leave them on the pan for 10 minutes, then move them to a rack. Warm, with milk, is strongly encouraged.