When running in "dev" mode (i.e. writing the code) only packages imported directly are registered under "installed packages" , then when the agent is executing the experiment, it will update back the entire environment (including derivative packages etc.)
That said you can set
detect_with_pip_freeze to true (in trains.conf) and it will basically store the entire pip freeze.
great, will try this