Make the crust: Whisk together flour and salt in a large bowl. Using a pastry blender, cut butter into flour mixture until butter chunks are the size of small peas. Drop egg yolk into a liquid measuring cup, and add milk, adding more if needed to reach exactly ⅔ cup. Whisk together until combined. Measure out 2 tablespoons egg-milk mixture, and set aside. Add remaining egg-milk mixture to flour mixture, stirring until just combined. (Dough should clump when squeezed. If dough is too dry, add remaining 2 tablespoons egg-milk mixture.) Divide dough into 1 (13-ounce) portion and 1 (9-ounce) portion. Pat each portion into a 1-inch-thick disk. Wrap each disk in plastic wrap; refrigerate 1 hour or up to 2 days.
Make the mushroom duxelles: Bring a medium pot of salted water to a boil over high. Add lentils; cook, undisturbed, until just tender, about 15 minutes. Drain; set lentils aside. Combine 1 cup boiling water and raisins in a small dish; let stand until cool, about 30 minutes. Drain and discard water. Roughly chop raisins, and set aside.
Working in six batches, pulse button mushrooms in a food processor until mushroom pieces are the size of small peas, 6 to 8 pulses. (Alternatively, chop mushrooms by hand.) Set aside. Melt butter in an extra-large (14-inch) skillet over medium-high. Add leek, ½ teaspoon salt, and ¼ teaspoon pepper; cook, stirring often, until leeks are bright green and soft, about 5 minutes. Add chopped button mushrooms, flour, thyme, ¼ teaspoon salt, and ¼ teaspoon pepper; cook, stirring often, until mushrooms wilt and liquid is released, about 5 minutes. Reduce heat to medium. Add wine, brandy, nutmeg, and ginger; cook, stirring often, until liquid reduces, thickens, and clings to mushrooms, 15 to 18 minutes. Remove from heat. Stir in cooked lentils, chopped raisins, remaining 1 teaspoon salt, and remaining ¼ teaspoon pepper. Let mixture cool to room temperature, about 30 minutes.
Make the roasted mushrooms: Place a large baking sheet in oven, and preheat oven to 425°F. Toss together shallots, shiitakes, ¼ cup oil, ¼ teaspoon salt, and ¼ teaspoon pepper in a large heatproof bowl. Remove hot baking sheet from oven, and scatter shiitake mixture evenly across pan. Return pan to preheated oven; roast until mushrooms are darkened and frizzled to a crisp at the edges, 15 to 20 minutes. Remove from oven (do not turn oven off); return shiitake mixture to bowl. Add kale to baking sheet; sprinkle with ¼ teaspoon salt, ¼ teaspoon pepper, and remaining 1 tablespoon oil. Massage kale to evenly coat with oil. Roast until crispy and dry, 8 to 10 minutes. Add kale to bowl with shiitake mixture; stir in chestnuts, remaining 1 teaspoon salt, and remaining ¼ teaspoon pepper. Reduce oven temperature to 350°F.
Remove dough from refrigerator; let stand at room temperature 20 minutes. Roll larger disk of dough into a 15-inch circle on a lightly floured surface; press into bottom and up sides of an 8-inch springform pan, leaving any overhang intact. Refrigerate, uncovered, until chilled, about 10 minutes. Roll out smaller disk to a 9-inch circle, and transfer to a baking sheet; place, uncovered, in refrigerator until ready to use.
Spoon cooled mushroom duxelles into bottom of chilled piecrust; smooth top flat. Top evenly with roasted mushroom mixture. Cover filling with 9-inch dough circle; trim overhang to ¼ inch. Press dough edges together to seal; roll edges under and crimp. Cut 8 (2-inch) slits into top of pie. Stir together beaten egg and 1 tablespoon water in a small bowl, and brush over crust.
Place pie on a rimmed baking sheet, and bake at 350°F until crust is deep golden brown, about 1 hour and 15 minutes. (Tent pie edges with aluminum foil to prevent overbrowning, if needed.) Remove pie from oven; let cool at least 20 minutes or up to 4 hours. Remove springform ring, and transfer pie to a cake plate. Slice using a serrated knife.
