1 (3 pound) spaghetti squash
1 tablespoon vegetable oil
1 onion, chopped
2 cloves garlic, minced
1 bok choy, white stems diced and leaves cut into strips
salt
1 tablespoon soy sauce
2 teaspoons sesame oil
2 teaspoons red wine vinegar
1 pinch white sugar
Preheat oven to 400 degrees F (200 degrees C). Poke about 10 holes into spaghetti squash with a fork; place on a baking sheet.
Bake in the preheated oven until easily pierced with a knife, 45 to 60 minutes. Remove from oven; cool until easily handled.
Cut spaghetti squash in half and seed. Pull the squash flesh from the peel with a fork and place in a large bowl; let cool.
Heat oil in a skillet over medium heat and cook onion until soft and translucent, about 5 minutes. Add garlic and cook until fragrant, about 1 minute. Add bok choy stems and cook until softened, stirring occasionally, 3 to 5 minutes. Add green leaves and sprinkle with salt. Cover and cook over low heat until vegetables are soft, about 10 minutes. Add bok choy and cooking liquid to spaghetti squash and combine.
Whisk soy sauce, sesame oil, red wine vinegar, and sugar together in a small bowl. Pour over salad and mix well.