Heat olive oil in a wide skillet over medium-high heat, then add minced mushrooms and cook for 10 to 12 minutes until all released liquids evaporate and mushrooms turn deep golden brown.
Add shallots, garlic, thyme, rosemary, salt, and black pepper, cooking for 3 minutes until fragrant.
Stir in chopped spinach and cook for 2 minutes until wilted, then remove the pan from heat.
Fold cooked brown lentils, chopped toasted pecans, and Dijon mustard into the mushroom mixture, then let cool completely.
Roll thawed puff pastry sheet onto a sheet of parchment paper into a 10x14-inch rectangle.
Mound the cooled mushroom-lentil mixture lengthwise down the center third of the pastry sheet, shaping into a compact log.
Fold the long pastry sides over the filling to overlap, crimp ends securely, and flip seam-side down onto the parchment-lined baking sheet.
Brush the surface evenly with egg wash, cut gentle diagonal steam vents with a paring knife, and chill in the refrigerator for 20 minutes.
Preheat the oven to 400°F (200°C) and bake the chilled Wellington for 30 to 35 minutes until the pastry rises into a crisp, deep golden shell.
Rest for 10 minutes before slicing gently with a serrated bread knife.