mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-07-18 05:30:21 +00:00
fba80e6981
Codex re-gate (CORE, reproduced): _reload_dotenv() was guarded, but get_profile_runtime_env() also copies a profile .env into runtime env, which profile_env_for_background_worker()/streaming apply to os.environ -> HERMES_WEBUI_ISOLATED_PROFILE=0 in a profile .env still escaped isolation on that path. Fix: filter _PROTECTED_ENV_KEYS in get_profile_runtime_env's .env loop + add the key to _BLOCKED_RUNTIME_ENV_KEYS (gateway-parity filter). + runtime-path regression test.