I've recently started working on a rather insane project which has had a lot of organic growth over the years and includes over 20 deeply integrated managed packages.
We are currently trying to tame our processes and wish to get some CI/CD going and expect SFDX will play a key role in our solution.
In order for our developers and Jenkins (or maybe Travis) to be able to create scratch orgs which correctly, appropriately, or at least adequately mimic our production environment, I expect we will need to include many features and/or preferences/settings within our config file (or at least in some config files, if it turns out we need multiple files).
Is there any tool/method to automate discovery of which features/settings/preferences.