01 - Preheat oven to 400°F for baking the pie.
02 - Heat 2 tablespoons olive oil in a large skillet over medium heat. Add chopped onion and minced garlic, sauté until softened and fragrant, approximately 3 minutes.
03 - Add cubed chicken thighs to the skillet along with dried thyme, smoked paprika, 1 teaspoon salt, and black pepper. Cook until chicken develops a golden-brown exterior on all sides, 5 to 6 minutes.
04 - Stir in tomato paste and cook for 1 minute to develop flavor. Pour in chicken stock and add cubed sweet potatoes. Cover and simmer until sweet potatoes are fork-tender, 10 to 12 minutes. Remove from heat.
05 - Transfer half the cooked sweet potatoes to a bowl and mash until completely smooth. Allow to cool for 5 minutes.
06 - In a mixing bowl, combine mashed sweet potatoes, egg, flour, 1/2 teaspoon salt, and 2 tablespoons olive oil. Mix until a pliable, uniform dough forms.
07 - Transfer the chicken and remaining sweet potato filling to a lightly greased 9-inch pie dish. Spread evenly.
08 - Press or roll the sweet potato dough over the filling, creating an even layer. Smooth the top surface with a spatula or dampened hands.
09 - Bake for 25 to 30 minutes until the crust is set and develops a light golden color. For enhanced browning, brush with beaten egg before baking.
10 - While pie bakes, combine diced tomatoes, chopped olives, red onion, parsley, extra-virgin olive oil, and lemon juice in a bowl. Season with salt and pepper to taste.
11 - Allow pie to rest for 10 minutes before slicing. Serve warm with tomato olive salsa on the side.