Additional finding: the same environment-discovery bug also prevented Codex v0.167.0 from authenticating inside T3 Code.
- Codex CLI and standalone
codex app-serverworked correctly. - T3's
account/readrequests failed immediately withworkspace routing discovery failed. - Diagnostic logging confirmed that T3 passed malformed
XDG_DATA_HOMEandXDG_CONFIG_HOMEvalues containing terminal escape sequences. - My Bash configuration has
trap -- 'preexec' DEBUG. - Workaround confirmed: Completely quit T3 and launch it with:
| 1 | SHELL=/bin/sh \ |
| 2 | XDG_CONFIG_HOME="$HOME/.config" \ |
| 3 | XDG_DATA_HOME="$HOME/.local/share" \ |
| 4 | /usr/bin/t3code |
Codex then immediately showed Authenticated · ChatGPT Plus Subscription in T3.
This provides additional evidence for PR #32646. I have not tested the PR build itself, but the environment-probe fix appears likely to address both failures.