Combine 1 cup (240 ml) of water and the cornmeal in a small saucepan. Cook over low heat for about 5 minutes, stirring frequently, until the mixture thickens.
Remove the saucepan from the heat. Stir in the molasses, butter, salt, sugar, caraway seeds, and cocoa powder until well combined. Set aside to cool until lukewarm.
In a large mixing bowl or the bowl of a stand mixer, combine the remaining 1/2 cup (120 ml) warm water and the active dry yeast. Let it sit for 5 minutes to dissolve.
Add the cooled cornmeal mixture and the mashed potatoes to the yeast. Stir to combine.
Add the pumpernickel flour and whole wheat flour. Knead the dough on medium speed with a dough hook for 10 minutes. The dough will be quite sticky.
Transfer the dough to a greased bowl, cover it with a clean towel, and let it rise in a warm spot for about 1 hour, or until it has expanded but not quite doubled in size.
Preheat your oven to 375°F (190°C). Grease an 8.5 by 4.5-inch loaf pan.
Shape the dough into a loaf and place it in the prepared pan. Dust the top lightly with flour and use a sharp knife to score the top.
Bake for 55 to 65 minutes, until the center of the loaf reaches 200°F (93°C) on an instant-read thermometer. Remove the bread from the pan immediately and let it cool completely on a wire rack before slicing.