Toast walnuts in a dry pan until fragrant.
Sauté onion, celery, and carrots in olive oil until softened.
Add garlic and cook until fragrant.
Deglaze with red wine or vegetable broth, scraping up any browned bits.
Add crushed tomatoes, tomato paste, and vegetable broth.
Season with bay leaves, oregano, thyme, salt, and pepper.
Simmer gently for 20–25 minutes, stirring occasionally.
Stir in nutritional yeast and dark chocolate, rest 10 minutes, then serve with pasta.