Sauté onions in olive oil for 8 minutes; add pinch of salt.
Add garlic and cook another 3 minutes. Add tomato purée, fresh tomatoes, and pinch of salt.
Bring to a boil, then bubble and simmer for 5 - 6 minutes.
Add beans and their juices (pour a little out first), and add the basil, reserving some for garnish. Bubble an additional 5 minutes.
Scoop out two spoonfuls and blend with the firm tofu, nooch, and miso. Add water as needed and blend to a smooth consistency.
Tip the creamy mixture back into the beans and blend. Serve with black pepper, olive oil, and yogurt. Eat with sourdough bread.