Cook the potatoes: Add the chopped potatoes to a large pot and cover completely with filtered water. Add a generous pinch of salt and bring to a boil over high heat. Once boiling, reduce the heat to a gentle simmer and cook for 12–15 minutes, or until the potatoes are fork-tender and easily pierced with a fork. Drain thoroughly and return the potatoes to the pot.
Make the mashed potatoes: Add the vegan butter, dairy-free milk, garlic powder, salt, and pepper to the pot of hot, drained potatoes. Using a potato masher, mash for approximately 1 minute to break down the potatoes and incorporate the ingredients. Next, switch to a hand mixer and whip until the potatoes are smooth, creamy, and light and fluffy. Be careful not to overmix, as this can cause the potatoes to become gummy. Taste and adjust the seasonings with additional salt and pepper as needed. Set aside while you prepare the lentil filling.
Make the lentil filling: Heat the avocado oil in a large skillet over medium heat. Once the oil is warm, add the yellow onion, carrots, and celery. Sauté for 6–10 minutes, stirring occasionally, until the vegetables are tender and the onion becomes soft and translucent.
Preheat your oven to 400°F (200°C) while you finish preparing the lentil filling and assembling the shepherd's pie.
Add the minced garlic, dried thyme, dried rosemary, dried sage, tomato paste, salt, and pepper to the sautéed vegetables. Stir well until everything is evenly combined and the vegetables are coated in the savory sauce. Continue cooking for 1–2 minutes, stirring occasionally, to allow the herbs and seasonings to become fragrant and the flavors to meld together. *Add another teaspoon of avocado oil if needed.
Finish the lentil filling: Add the walnuts, chickpeas, vegetable broth, soy sauce, and brown lentils to the pan. Stir well to combine, allowing all the ingredients to become coated in the savory sauce. Cook for an additional 1–2 minutes, stirring occasionally, until the mixture is rich, thick, and well combined. Season with additional salt and pepper to taste. Finally, gently fold in the frozen peas until evenly distributed throughout the filling.
Assemble the shepherd's pie: Transfer the prepared lentil and chickpea filling into a 9 x 13-inch rectangular baking dish. Using a spatula or the back of a spoon, spread the filling into an even layer, making sure it reaches all four corners of the dish.
Add the mashed potato topping: Spoon the prepared creamy mashed potatoes over the lentil and chickpea filling. Using a spatula or the back of a spoon, gently spread the potatoes into a smooth, even layer, making sure to completely cover the filling from edge to edge. For an optional decorative touch, use the tines of a fork to create rows of textured lines across the top. This also helps create beautiful golden ridges as the shepherd's pie bakes.
Bake the shepherd's pie: Bake for 20–25 minutes, or until the filling is heated through and the mashed potato topping is lightly golden. For an extra golden finish, optionally switch the oven to broil for 1–2 minutes. Keep a close eye on the shepherd's pie, as the potatoes can brown and burn quickly. Remove from the oven and allow it to rest for 10 minutes before serving.