1
Brown the beef. Toss the diced beef in the flour and shake off the excess. Heat 2 tbsp of the oil in a heavy casserole over medium-high heat and brown the beef in batches, leaving room around each piece, about 4 to 5 minutes a batch. Set it aside on a plate as it colours. Do not let loose flour sit and blacken in the base of the pot.
2
Soften the vegetables. Add the last tablespoon of oil, then the onions, carrots and celery. Cook over medium heat for 8 to 10 minutes, until soft and translucent, adding the mushrooms for the last few minutes if you are using them. Turn the heat down, add the garlic and give it 1 minute only.
3
Fry the tomato puree. Stir the tomato puree through the vegetables and fry it for 2 minutes, until it darkens from bright red to a dull brick rust and smells sweet rather than sharp. Raw puree stirred straight into the liquid is a common cause of a sour, bitter gravy.
4
Guinness and stock. Pour in the Guinness and the beef stock and bring to a boil, scraping every browned bit off the base of the pot with a wooden spoon as it heats.
5
Return the beef. Add the beef and any juices that have collected under it, then the thyme, black pepper and salt. Stir once so the beef is sitting under the liquid rather than on top of it.
6
Simmer, covered. Drop the heat until the surface is barely moving, cover, and cook for 1 hour. Keep the lid on throughout: boiling an ale braise down hard concentrates the bitterness rather than cooking it off, and the gravy gets thickened at the end instead.
7
Add the potatoes. Add the diced potatoes, put the lid back on and simmer for another 30 minutes to 1 hour. It is ready when a piece of beef pulls apart under light pressure from a fork, not when the timer says so, and chuck will often want the full hour.
8
Taste and thicken. Taste it. If it is sharper than you want, stir in the redcurrant jelly, or a teaspoon of soft brown sugar, and taste again. If the gravy is loose, stir in a tablespoon of flour slaked in 2 tbsp of cold water and simmer for 2 minutes. Take it off the heat.
9
Cool the filling. Let it cool for at least 30 minutes, or overnight in the fridge, which is better again. Pastry laid on a steaming filling is steamed from underneath: it sinks into the gravy and bakes pale instead of rising crisp.
10
Assemble. Heat the oven to 180C (356F). Move the filling into a pie dish, leaving about a centimetre of headroom. Lay the puff pastry over the top, press it onto the rim and crimp, trim the overhang, cut a slit in the centre for the steam and brush the lid with beaten egg, right to the edges.
11
Bake. Bake for 30 minutes, until the pastry is deep gold and crisp rather than pale. Rest it for 5 minutes before cutting so the filling settles.