Cook the spaghetti: Bring a large pot of salted water to a boil.
Cook spaghetti until just shy of al dente (about 1 minute less than package time). Reserve 1/2 cup pasta water, then drain.
Prep the chicken: Pat chicken dry. Toss with cornstarch, a pinch of salt, and pepper.
This helps brown the meat and keeps it tender.
Sear the chicken: Heat oil in a large skillet or wok over medium-high. Add chicken in a single layer and cook 4–6 minutes, stirring once or twice, until cooked through and lightly browned. Transfer to a plate.
Sauté aromatics and veggies: In the same pan, add a touch more oil if needed.
Add bell pepper, carrot, and the white parts of the green onions. Cook 2–3 minutes until crisp-tender. Stir in garlic and ginger; cook 30 seconds until fragrant.
Build the sauce: Lower heat to medium.
Add sweet chili sauce, soy sauce, rice vinegar, sesame oil, broth (or water), and sriracha if using. Stir in brown sugar or honey if you want extra sweetness. Simmer 1–2 minutes until slightly glossy.
Combine: Return chicken and any juices to the pan.
Add drained spaghetti. Toss well, adding a splash of reserved pasta water as needed to loosen and help the sauce coat the noodles.
Finish and taste: Turn off heat. Stir in the green parts of the onions.
Taste and adjust with more soy for salt, vinegar or lime for brightness, or chili for heat.
Garnish and serve: Top with sesame seeds and herbs. Serve with lime wedges for a fresh squeeze over the top.