This is actually a question about trip planning.

I agree with this. However, I tend to go out for long trips and it isn't always possible to plan equipment from a weather forecast, so I've had to improvise responses to wet weather.

Like wandering daisy, I do not ever cook in my tent or vestibule. I wait for a break in the weather. If that doesn't work, I seek a sheltered spot under tree cover. If that doesn't work, I will consider substituting a non-cooked meal for a cooked one and adjust my future meals accordingly.

As for eating in my tent, I avoid it, too. Eating a Clif bar or handful of trail mix in my tent as I wait out a rain shower seems admissible to me. Eating a steaming supper full of delicious aromas is over the line and I don't ever do that.