I can only image how clean code looks & works that is full of feature flags. Glad that I don't need to do that to often :)
The actual approach is to maintain a million fucking feature flags, ensuring that almost all possible combinations are essentially untested… better hope you did a good job separating concerns!
Then after a while they graduate to feature flags as a service (of which there are a bunch of cloud services trying to have a go at)