Set a dry wok over medium-low heat and toast the Sichuan peppercorns for a couple of minutes. When they smell citrusy and leave tiny specks of oil on the wok, take them out and grind them with a mortar and pestle or a coffee grinder.
Cut the tofu into half-inch cubes and lower them into a small pot of water seasoned with 2 teaspoons of salt. Keep the water barely bubbling for 2 to 3 minutes to help the surfaces hold together, then take the pot off the heat and leave the cubes in the water until needed.
Heat the wok over medium-high, swirl in the cool caiziyou, and add the pork. Work the mince with the edge of your spatula for a couple of minutes, breaking up the clumps until you have small, separate crumbs.
Lower the heat to medium and work the minced doubanjiang through the pork and oil for about 2 to 3 minutes. Look for a glossy red sheen in the wok and a little red oil gathering around the edges of the mince.
Mix in the minced garlic and your chosen amount of chili powder, and fry for about 1 minute. The sharp smell of raw garlic should soften without the pieces browning.
Pour in the stock, then add the light soy sauce, Shaoxing rice wine, and sugar. Check that the broth tastes a touch less salty than you want the finished sauce, then let it simmer for a couple of minutes.
Drain the tofu well before sliding it into the wok. Let the water stop dripping so the liquid you just seasoned doesn’t get diluted.
Bring the heat back to medium-high and simmer for about 3 to 3½ minutes, sliding the back of your spatula along the bottom of the wok to nudge the cubes back and forth. The liquid should reduce to a thin sauce that still flows freely between the cubes, with the corners of the tofu intact.
Add the ground toasted peppercorns and dark Chinese vinegar, cook for 30 seconds, then mix 1 teaspoon cornstarch with 1 tablespoon water and pour in the slurry. Turn off the heat as soon as the sauce lightly coats the tofu instead of running straight off.
With the heat off, gently work in the toasted sesame oil and slide the tofu onto a plate. Spoon the red oil from the bottom of the wok over the cubes for an even sheen, then finish with sliced green onions or cilantro.