Cook the potatoes in a large pan of boiling salted water until tender, 5-7 minutes. Drain and reserve in the same pot you cooked them inches.
Heat the oil in a large skillet over medium high heat. Add the onions and cook until soft, 5 minutes, then addd the jalapeno, ginger, garlic, coriander, curry powder, cumin, allspice, cinnamon, and salt and pepper. Cook for about 3 minutes more. Stir in the drained potatoes, tomato, and peas. Cook for another minute. Stir in enough of the stock to moisten the mixture, then remove it from the heat and let cool.
On a lightly floured surface, unroll ;the pie dough. Cut each dough round into 8 equal wedges, like a pizza. Spoon 1 tbls. of the potato filling onto the middle of each wedge. Brush the edges of the dough with the egg wash and fold up, bringing the three points together over the filling, then pinching at the seams to form a small pyramid. Transfer to a baking sheet and brush the samosas with the egg wash. Bake 15-20 minutes, until golden brown.
While the samosas bake, make the dipping sauce:
Combine the mint, cilantro, jalapeno, sugar, salt, lime juice, 1 tbls. water, and the oil in the bowl of a food processor. Grate the garlic and ginger directly into the bowl, then puree until smooth. Transfer to a small serving bowl.
Serve the samosas hot out of the oven with the mint cilatro dipping sauce.