In a large pot, combine the chicken thighs, 2 cups of water, onion, garlic, paprika, ginger, cinnamon, turmeric, black pepper, cumin, nutmeg, cayenne pepper, cilantro, and parsley. Bring to a boil over high heat, then reduce the heat to low and let simmer for 45 minutes to an hour, or until the chicken is very tender and falling apart.
Remove the chicken from the pot and set aside to cool slightly. Shred the chicken with a fork or your fingers and set aside.
Strain the cooking liquid into a separate bowl and set aside.
In a large, heavy-bottomed pot or Dutch oven, heat the vegetable oil over medium heat. Gradually whisk in the whole wheat flour, semolina flour, and salt until the mixture forms a smooth paste.
Cook the flour mixture, whisking constantly, for 10-15 minutes, or until it turns a deep golden brown color.
Slowly pour the reserved cooking liquid into the pot, whisking constantly to prevent lumps from forming.
Add the shredded chicken to the pot and stir to combine.
Bring the mixture to a boil over high heat, then reduce the heat to low and let simmer for 20-30 minutes, or until the sauce has thickened to your liking.
Serve hot, garnished with additional chopped cilantro and parsley if desired.