Place walnuts on a sheet tray in the oven and toast for 8 to 10 minutes. Once toasted, remove from the oven and allow walnuts to cool completely.
Heat 1 tablespoon of olive oil in a large skillet over medium-high heat. Add shishito peppers and a pinch of salt. Cook until the peppers are tender and charred all over. Transfer cooked peppers to a bowl.
In the same skillet, add corn. Cook until slightly golden brown. Turn off the heat and set aside.
Bring a large pot of water up to a boil. Season the water with a small handful of salt and cook spaghetti until al dente.
Place toasted walnuts, cooked shishito peppers, ½ teaspoon of kosher salt, grated Parmigiano Reggiano, lemon juice, basil leaves, and garlic in a food processor (see Note) and blend until mostly pulverized.
While continuing to blend, slowly stream in the remaining 3 tablespoons of olive oil. Blend until fully emulsified.
Place cooked spaghetti, ¼ cup of pasta water, corn, and shishito pesto in a large mixing bowl and stir until the spaghetti is coated in pesto and the pasta water is fully absorbed.
Notes:
An immersion blender is a suitable substitution for a food processor if you do not have one. Protein Pairings:
Lemon Salmon (or an alternative fish)
Lemon Butter Shrimp
Pat dry and generously salt 2 servings of shrimp. Heat 1 Tbsp of neutral oil in a pan over high heat. Add shrimp and sear for 1-2 minutes. Flip, add 2 Tbsp of butter and the juice of 1/2 a lemon. Cook for an additional 1-2 minutes, or until shrimp is opaque.