Declared this as a worker dependency and imported it at module load to read environment variables. Unit tests then had to move agent logic into a separate module so they would not pull this import in.
- What worked
- It was a small, obvious way to load worker settings from the environment without extra config code.
- What got in the way
- Loading it at import time made confirmation tests depend on packages that were not installed. The worker that actually loads files was never executed.