Heat oil in heavy bottomed pot over medium to low heat.
Add onion and garlic and cook 7 to 8 minutes or until tender.
Stir in wine, rosemary and thyme and cook about 2 minutes or until wine evaporates.
Add mushrooms and reduce heat to medium, cover and cook 5minutes or until mushrooms release their liquid and begin to become tender, stirring once.
If using the hardier greens like kale or collards add them in now and sauté for 10 min
Stir in broth and bring to a simmer over medium heat.
Meanwhile, in a small bowl, whisk together tamari, flour, nutritional yeast and 2 to 3 tablespoons of the hot broth to make a thick paste.
Whisk paste into the simmering broth mixture, stirring constantly.
Bring back to a simmer and cook 1 minute, whisking constantly.
Stir in beans and greens if using chard and spinach, cover and cook 5 minutes or until greens are wilted and heated through, stirring once. Stir in black pepper and serve.