Wash the brinjal well and cut it into small pieces. Keep the cut pieces immersed in water until you are ready to cook them. This prevents them from discoloring.
Heat the gingelly oil in a kadai. Drain the brinjal well and add it to the hot oil. Fry until the pieces are nicely cooked and tender, about 5–10 minutes. Remove the brinjal and set aside, leaving the remaining oil in the kadai.
In the same kadai, add mustard seeds. Once they begin to splutter, add the urad dal, asafoetida, curry leaves, and broken red chilies.
Add the chopped shallots and sauté until they turn a beautiful golden brown. The temple-style version does not include onions.
Add turmeric, Kashmiri chili powder, and salt. Mix well. Pour in the tamarind water and add a little more water. Bring it to a good boil.
Add the fried brinjal, and the Gosthu podi and simmer for a few minutes until the flavors come together. Using a potato masher, gently mash the brinjal into the mixture so it blends well with the tamarind gravy while still leaving some small pieces for texture.
Continue simmering until the gosthu thickens slightly and the raw tamarind taste disappears. Turn off the heat and add fresh coriander leaves, if using.
Serve hot with soft idlis, dosa, or uttapam. The combination of tender brinjal, tangy tamarind, shallots, and fragrant gingelly oil makes this an especially delicious gosthu.