Codex CLI reads config from %USERPROFILE%\.codex\config.toml but PowerShell fallback was writing to %APPDATA%\codex\config.toml. Old broken config remained in ~/.codex/ causing TOML parse errors. - Fix config path: $env:APPDATA\codex → $env:USERPROFILE\.codex - Add cleanup step to remove broken config before patching - Remove old config before writing new one Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7.3 KiB
7.3 KiB