6c3545d9e9
Migrating the scheduler-reload seam from a single dotenv.load_dotenv patch to two patches (load_hermes_dotenv + reset_secret_source_cache) lengthened the positional list _make_run_job_patches returns, so the 4 callers that applied patches[0..4] silently dropped the resolve_runtime_provider patch (now at [5]). Under CI's hermetic env (all API keys blanked) auth then failed and AIAgent was never constructed → 'NoneType has no attribute kwargs'. Callers now apply patches[0..5]. Passed locally (keys present) but failed on CI shard 5/8.