First, cook the aromatics. In a large casserole on a medium heat, cook the shallot in olive oil with a pinch of salt for 5 minutes. Add the garlic and spices and cook for another 2 minutes.
Crack open the cans of beans by about 5mm (¼in) and pour out a dash of the liquid sitting at the top of the cans. Open the cans completely and pour the beans and the rest of their juices into the pan, followed by the smoked tofu, 120ml–200ml (4–7fl oz/½–scant 1 cup) water and the bouillon or stock and stir well. Bring to a bubble, then reduce the heat and simmer, stirring regularly.
While that is simmering, make the smashed cucumbers. Position the whole cucumber(s) on a wooden chopping board and carefully but firmly smack a wooden rolling pin down hard on them a few times, cracking the skin in places. Chop roughly into wonky triangles, then add to a mixing bowl with the remaining ingredients and stir to combine.
The beans should have reduced by now, so add the tahini and stir until creamy, then remove from the heat and stir in the lime juice. Season to taste.
Divide between bowls, adding the smashed cucumber on top, followed by the spring onion, some fresh coriander leaves, more chili oil, and sesame seeds.