Purée the onions, garlic and ginger in a blender or with a stick blender into a coarse paste, adding a spoonful of water only if the blades will not turn.
Heat the oil in a 6-quart heavy pot over medium heat. Add the paste. Hamis the paste: fry it in slow circles with a wooden spoon until it softens, loses its raw edge and turns lightly golden and fragrant, 8 to 12 minutes, or longer if the paste is still wet. Do not rush it. This is where the soup gets its depth.
Stir in the turmeric, cumin and ground coriander and cook until fragrant, 30 to 60 seconds.
Add the chicken and turn the pieces in the paste until coated, a few minutes, without letting them brown. Add the salt, pepper and cardamom.
Add enough water to cover the chicken generously. Bring to a boil, reduce the heat to low, cover and simmer for 20 minutes, skimming off any foam.
Add the tomatoes, potatoes, pumpkin and any other vegetables. Simmer until the chicken and vegetables are tender, 20 to 30 minutes.
Add the koobahs, if using, and simmer gently until cooked through, 20 to 30 minutes. Keep the heat low so they do not break.
Stir in the cilantro. Taste and adjust the salt and pepper. Cover and rest off the heat for 10 minutes.
Serve over rice. The soup should taste warming and ginger-forward, golden with turmeric, warm with cumin and coriander, fresh with cilantro and quietly deep from the hamis.