Turns out any .gz file breaks codex.
For me I was still tracking the .yarn/ directory which contained a .gz file.
I’d suggest looking for any non-code files and make sure you arent committing anything that can mess GPT up.
Added .yarn/ to git ignore, pushed everything to a brand new repo. Reset my codex environments. Perfect after this.