Cookie Dough: In a large bowl, whisk together melted butter and both sugars. Add the egg and vanilla and mix until smooth.
Combine: Gently fold in the flour, cornstarch, baking soda, salt, and baking powder. Stir in the chocolate chips until just combined.
Filling: In a separate bowl, mix together the softened butter, cocoa powder, flour, sugar, vanilla, and milk until you have a smooth, lump-free paste.
Assemble: Roll the cookie dough into large balls (about 80g each). Flatten them slightly in your hand, add a tablespoon of the brownie filling to the center, and pinch the dough shut to seal it completely.
Bake: Place on a parchment-lined baking sheet and bake at 350°F (175°C) for 12–14 minutes until the edges are golden.
Rest: Let the cookies rest on the pan for 10 minutes to firm up before moving them to a cooling rack.