Heat a comal (tortilla griddle) or skillet over medium heat. Add the guajillo and ancho peppers; toast them for about 15 seconds per side, until they become more pliable, lightly toasted and fragrant and their inner skin turns opaque. Transfer to a medium saucepan and cover with at least 2 cups of hot water. Cook over medium-low heat for about 15 minutes, or until the peppers have rehydrated, plumped up and softened.
Transfer the peppers and 2 cups of the liquid to a blender and add the oregano, cloves, cinnamon and cumin. Remove the center knob from the blender lid and cover the opening with a dish towel to contain splash-ups. Puree to form a smooth sauce. The yield is 2 1/2 to 2 3/4 cups.
Heat the oil in a large, deep skillet over medium-high heat. Add the onions and cook for 4 to 5 minutes, stirring continuously, until the onions are cooked through and beginning to brown at the edges. Add the garlic and cook until fragrant, less than a minute, then add the ground meat, salt and black pepper. Cook for 12 to 15 minutes, stirring occasionally and using a spoon to break up the meat, until it has lightly browned. Add the sauce, the broth, raisins, almonds and olives, stirring to combine; reduce the heat to medium-low, cover the skillet and cook for 20 minutes. Uncover, stir and cook uncovered for 5 minutes.
Preheat the oven to 400°F. Use a little vegetable oil to grease a 9-by-13-inch baking dish or the equivalent.
Spoon half of the prepared masa dough into the dish, forming a bit of a lip on the sides and gently leveling it out; don't press hard. Spoon all of the meat filling on top. Cover evenly with the remaining dough. Cover the dish tightly with aluminum foil and bake for 1 hour or until the masa is completely cooked and the top appears to be firm. Remove from the oven and let it sit, covered, for 10 to 15 minutes before serving.