from_env merges os.environ, and importing the .env-loading consumers populates TRADING_MIN_ENTRY_GAP_PCT — so the "bare shell disables the gap gate" assertion must delenv the key first. Test-only fix; the module behaviour is unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>