1. Make the enchilada sauce: Heat the olive oil in a large saucepan over medium heat. Add the garlic and sauté until it is soft and fragrant. Stir in the coconut flour until completely combined. Mix in the spices, salt, tomato sauce, tomato paste, vinegar, and stock.

2. Bring the enchilada sauce to a boil over medium heat, then reduce the heat to low and simmer for 30 minutes, stirring occasionally, to allow the flavors time to come together. (Use the sauce immediately or store in an airtight container in the refrigerator for up to two weeks.)

3. Preheat the oven to 400°F. Line a rimmed baking sheet with parchment paper or a silicone baking mat.

4. Cut the spaghetti squash in half lengthwise and, using a large spoon, scrape out the seeds. Place the squash halves cut side up on the lined baking sheet. Drizzle the squash with the olive oil and sprinkle with a little salt and pepper. Roast for 45 minutes, until the squash is tender and shreds easily. When the squash is done, rake a fork over the shreds to loosen them.

5. While the spaghetti squash is roasting, prepare the filling: Heat the butter in a large skillet over medium heat. Add the onion and garlic and sauté until the onion is translucent and the garlic is fragrant.

6. Add the ground beef to the skillet and cook until it is browned all the way through. Drain the excess grease from the pan. Pour one cup of the enchilada sauce into the skillet and stir to combine with the meat mixture.

7. Pour a half cup of the remaining enchilada sauce over each of the spaghetti squash halves. Using two forks, mix it in with the shreds. Top each squash half with one-fourth cup of the cheese.

8. Divide the meat mixture evenly between the spaghetti squash halves. Divide the remaining one cup of cheese between the squash halves.

9. Lower the oven temperature to 350°F and return the stuffed squash to the oven for an additional 15 minutes.

10. Remove the squash halves from the oven and top with the olives, chilies, sour cream, green onions, and cilantro.

11. Cut each squash half into thirds before serving. Store leftovers in the refrigerator for up to one week.