Put the potatoes and cauliflower in a pot of salted water and bring
to a boil. Cook until fully tender, 15–20 minutes. Drain and return
to the hot, empty pan and let cool slightly.
Meanwhile, put the garlic and olive oil in a small baking dish or
foil packet and bake until golden, about 30 minutes.
Mash the roasted garlic and olive oil with one chunk of the potato,
then run all of the potatoes, cauliflower and tofu through a ricer,
if you have one, or pulse it all in a food processor until
smooth. Season to taste with salt and pepper and set aside.
For the mushroom filling
Put dried mushrooms in a large bowl and cover with 2 cups boiling
water; set aside.
Separate the stems and caps of the fresh mushrooms; mince the stems
and chop the caps.
Heat a large frying pan over medium-high heat. Add olive oil and
fresh mushrooms. Cook, stirring frequently until they’ve released
their liquid and that liquid has cooked off, about 10 minutes.
While the fresh mushrooms cook, lift the dried mushrooms from their
soaking liquid, squeeze to drain and mince. Reserve the soaking
liquid.
Add carrots, celery, onion and chard stalks. Cook, stirring, until
the onions are translucent, about 5 minutes. Add garlic and minced,
dried mushrooms; stir to combine. Add the chard leaves and cook,
stirring, until wilted, about 2 minutes. Add the mushroom soaking
liquid and lentils, bring to a simmer and remove from the
heat. Stir in thyme. Season to taste with salt and pepper.
For a thicker, more gravy-like filling whisk the cornstarch in a small
bowl with a bit of cold water to create a smooth paste. Whisk in about
½ cup (120ml) of the liquid from the mushroom mixture to create a
slurry. Stir the slurry into the mushroom mixture. Transfer mushroom
mixture into a baking dish (a 9-by-13 pan works well); top with the
mashed potatoes. Bake until the mushroom mixture bubbles along the
edges and the potatoes are golden brown, about 35 minutes. Let cool
10–15 minutes before scooping to serve.