Whisk the flour, cocoa, and salt.
Beat butter and sugar until fluffy, about 2 minutes. Add the egg yolk, milk, and vanilla.
Mix in the dry ingredients on low. Cover and chill for 1 hour.
Heat the oven to 350°F and lightly grease baking sheets.
Whisk both egg whites until frothy. Shape 1-inch dough balls, dip in whites, and coat in chopped pecans.
Space 2 inches apart. Press a well into each ball with a 1/2-teaspoon measure. Bake for 8 to 10 minutes, until just set.
Microwave the caramels and cream for 1 minute. Stir and continue in 20- to 30-second intervals until smooth.
Gently deepen each warm well and fill with about 1/2 teaspoon caramel.
Cool for 10 minutes on the pan and transfer to a rack.
Optional: Melt chocolate, drizzle over the cooled cookies, and let it set.