To a large bowl, mix together 150 grams flour with sugar and salt.
Cut the cold, unsalted butter into small chunks and add to the flour mixture. Using a pastry cutter, cut the butter into the flour mixture until all of the butter is moistened by the flour and forms a thick paste.
Add the remaining 175 grams of flour and use the pastry cutter to distribute the flour until the mixture looks crumbly.
Pour the chilled sourdough discard on top of the flour/butter mixture and stir to combine. Use your hands to form the dough into a ball. If the dough is too crumbly, add ice cold water a Tablespoon at time until it comes together.
Cut the ball in half and form two balls of dough. Wrap the balls in plastic wrap, press down on them to form a disc shape and stick in the refrigerator to chill for 20 minutes.
While the dough is chilling, make the pie filling. Peel and core the apples. Slice apples into chunks and place in a large mixing bowl. Add fresh lemon juice and ground cinnamon. Toss to coat.
To a small saucepan, melt the unsalted butter over medium heat. Add the flour and whisk constantly until combined. Continue whisking for a couple minutes and then add the apple cider. Whisk together and add the brown sugar, sugar and salt. Continue with the saucepan at a simmer and whisk for 1-2 minutes until thickened and smooth. Pour over the apple mixture and toss to combine.
Pull the chilled dough out of the refrigerator. Lightly flour a pastry mat. Roll out the first disc of dough a little over 10 inches round. Fold the dough into quarters and place it inside a pie plate, unfolding it and fitting it to the pie plate.
Fill the pie with the apple pie filling, mounding it up in the middle. Place the second pie crust on top of the pie filling. Use kitchen scissors to cut the overhang of the pie dough. Gather the edges around, folding the top crust edges under the bottom crust to form a seal for the pie.
Preheat the oven to 375 degrees. Crimp the edges of the pie and decorate the pie crust as desired. Slice two or more slits in the pie crust to allow steam to escape while baking.
Whisk a medium egg with a splash of water and spread the egg wash on top of the pie. Sprinkle the top of the pie with a Tablespoon of granulated sugar. Place a baking sheet in the bottom of the oven to catch any dripping from the pie as it bakes.
Bake the pie for about 90 minutes until bubbly and brown on top. Let the pie cool completely before serving.
