Put the peeled, halved potatoes in a pot of cold water, then bring the water to a boil. Cook for about 10 minutes, until a fork slides through the potatoes without resistance.
Lift the potatoes onto a plate and break them up with a fork. Stop while there are still some large pieces surrounded by softer mash.
Set a large skillet over medium heat, warm the oil, and stir in the cumin, black mustard, and coriander seeds. Give the seeds about 30 seconds to release their aroma without letting them scorch.
Stir the ginger, green chili, and peas into the skillet. Keep everything moving for about a minute, until the chopped chili softens.
Scatter the garam masala, amchur, asafoetida, ground cumin, turmeric, and salt over the peas and stir. Cook for another 30 seconds, just until the spices smell fragrant.
Fold the potatoes into the spiced peas and stir gently for about 1 minute. Look for an even coating of spices while the larger pieces of potato are still intact.
Take the skillet off the heat, mix in the cilantro, and spread the filling across a plate. Wait until the center as well as the edges have cooled completely before filling the pastry.