Bring a large pot of salted water to a boil and cook the whole wheat spaghetti according to package directions until al dente.
While the pasta cooks, whisk together the whole egg, egg whites, grated parmesan cheese, and black pepper in a small bowl until well combined.
In a large skillet over medium heat, sauté the diced pancetta until it becomes crispy and golden brown.
Add the minced garlic to the skillet with the pancetta and cook for 1 minute until fragrant, being careful not to burn it.
Reserve about 1/4 cup of the starchy pasta water, then drain the spaghetti and add it directly to the skillet with the pancetta.
Stir in the frozen peas and the reserved pasta water, tossing for 1 minute to warm the peas through.
Remove the skillet from the heat entirely to prevent the eggs from scrambling.
Quickly pour the egg and cheese mixture over the pasta, tossing constantly with tongs until the sauce thickens into a silky, creamy coating.
Season with sea salt to taste and serve immediately while hot.