Environment
- Surface: CLI
- Codex version:
codex-cli 0.163.0 - OS and IDE/browser, if relevant: macOS Terminal, Node.js
v22.23.1through NVM - Model and plan or API-key authentication:
gpt-6.1-sol, ChatGPT Plus authentication
Bug
Running the interactive codex command fails during TUI startup with an account/read error.
I expected the interactive Codex TUI to open normally. Instead, it exits immediately before showing the interface.
Authentication appears valid, and headless execution works successfully.
Reproduction
- Install or update Codex:
npm install -g @openai/codex@latest
hash -r
- Confirm the version and login:
codex --version
codex login status
Output:
codex-cli 0.163.0
Logged in using ChatGPT
- Run the interactive TUI:
codex
The error occurs immediately.
I reproduced it from both my project directory and /tmp. Logging out and back in did not fix it. Upgrading from 0.162.1 to 0.163.0 also did not fix it.
However, this works:
codex exec "Reply only with READY"
It successfully starts Codex and returns READY, so the problem appears specific to interactive TUI bootstrap.
Diagnostics
Exact error:
Error: account/read failed during TUI bootstrap: account/read failed: failed to load workspace requirements (code -32603)
When it happened: October 17, 2026, around 12:20 a.m. EDT.
Frequency: Every interactive launch attempt. It occurs from multiple directories, including /tmp.
I can provide additional sanitized diagnostics if there is a recommended command for collecting them.