Rendering is completely broken when git is detected
Resolved 💬 6 comments Opened May 20, 2026 by runfence Closed May 20, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
0.131.0
What subscription do you have?
Pro
Which model were you using?
_No response_
What platform is your computer?
Windows
What terminal emulator and version are you using (if applicable)?
Windows Terminal (PowerShell)
Codex doctor report
{
"schemaVersion": 1,
"generatedAt": "1779254714s since unix epoch",
"overallStatus": "ok",
"codexVersion": "0.132.0",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is not running",
"details": {
"control socket": "C:\\Users\\username\\.codex\\app-server-control\\app-server-control.sock",
"daemon state dir": "C:\\Users\\username\\.codex\\app-server-daemon",
"mode": "ephemeral",
"pid file": "C:\\Users\\username\\.codex\\app-server-daemon\\app-server.pid (missing)",
"settings": "C:\\Users\\username\\.codex\\app-server-daemon\\settings.json (missing)",
"status": "not running",
"update-loop pid file": "C:\\Users\\username\\.codex\\app-server-daemon\\app-server-updater.pid (missing)"
},
"remediation": null,
"durationMs": 0
},
"auth.credentials": {
"id": "auth.credentials",
"category": "auth",
"status": "ok",
"summary": "auth is configured",
"details": {
"auth file": "C:\\Users\\username\\.codex\\auth.json",
"auth storage mode": "File",
"stored API key": "false",
"stored ChatGPT tokens": "true",
"stored agent identity": "false",
"stored auth mode": "chatgpt"
},
"remediation": null,
"durationMs": 0
},
"config.load": {
"id": "config.load",
"category": "config",
"status": "ok",
"summary": "config loaded",
"details": {
"CODEX_HOME": "C:\\Users\\username\\.codex",
"config.toml": "C:\\Users\\username\\.codex\\config.toml",
"config.toml parse": "ok",
"cwd": "O:\\Dropbox\\CodeProjects\\ProjectName",
"enabled feature flags": "shell_tool, shell_snapshot, terminal_resize_reflow, sqlite, hooks, enable_request_compression, multi_agent, apps, tool_search, tool_suggest, plugins, plugin_hooks, in_app_browser, browser_use, browser_use_external, computer_use, plugin_sharing, image_generation, skill_mcp_dependency_install, steer, guardian_approval, collaboration_modes, tool_call_mcp_elicitation, personality, fast_mode, tui_app_server, prevent_idle_sleep, workspace_dependencies",
"feature flag overrides": "prevent_idle_sleep=true",
"feature flags enabled": "28",
"log dir": "C:\\Users\\username\\.codex\\log",
"mcp servers": "0",
"model": "gpt-5.4",
"model provider": "openai",
"sqlite home": "C:\\Users\\username\\.codex"
},
"remediation": null,
"durationMs": 0
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "c:\\Users\\username\\AppData\\Roaming\\npm\\codex",
"PATH codex #2": "c:\\Users\\username\\AppData\\Roaming\\npm\\codex.cmd",
"PATH codex entries": "2",
"current executable": "c:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex\\codex.exe",
"install context": "npm",
"managed by bun": "false",
"managed by npm": "true",
"managed package root": "c:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex",
"npm update target": "C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex"
},
"remediation": null,
"durationMs": 399
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "no MCP servers configured",
"details": {},
"remediation": null,
"durationMs": 0
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"proxy env vars": "none"
},
"remediation": null,
"durationMs": 0
},
"network.provider_reachability": {
"id": "network.provider_reachability",
"category": "reachability",
"status": "ok",
"summary": "active provider endpoints are reachable over HTTP",
"details": {
"ChatGPT base URL": "https://chatgpt.com/backend-api/ reachable (HTTP 403)",
"reachability mode": "ChatGPT auth"
},
"remediation": null,
"durationMs": 93
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket handshake succeeded",
"details": {
"DNS": "2 IPv4, 0 IPv6, first IPv4",
"auth mode": "chatgpt",
"connect timeout": "15000 ms",
"endpoint": "wss://chatgpt.com/backend-api/<redacted>",
"handshake result": "HTTP 101 Switching Protocols",
"model provider": "openai",
"models etag present": "true",
"provider name": "OpenAI",
"proxy env vars": "none",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 566
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running npm on windows-x86_64",
"details": {
"commit": "unknown",
"current executable": "c:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex\\codex.exe",
"install method": "npm",
"platform": "windows-x86_64",
"version": "0.132.0"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search is OK (system)",
"details": {
"search command": "rg.exe",
"search command readiness": "ripgrep 15.1.0 (rev af60c2de9d)",
"search provider": "system"
},
"remediation": null,
"durationMs": 213
},
"sandbox.helpers": {
"id": "sandbox.helpers",
"category": "sandbox",
"status": "ok",
"summary": "sandbox configuration is readable",
"details": {
"approval policy": "Granular(GranularApprovalConfig { sandbox_approval: false, rules: true, skill_approval: false, request_permissions: false, mcp_elicitations: false })",
"codex-linux-sandbox helper": "none",
"execve wrapper helper": "none",
"filesystem sandbox": "restricted",
"network sandbox": "restricted"
},
"remediation": null,
"durationMs": 0
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "C:\\Users\\username\\.codex (dir)",
"active rollout files": "1517 files, 1608617363 total bytes, 1060393 average bytes",
"archived rollout files": "0 files, 0 total bytes, 0 average bytes",
"log DB": "C:\\Users\\username\\.codex\\logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "C:\\Users\\username\\.codex\\log (dir)",
"sqlite home": "C:\\Users\\username\\.codex (dir)",
"state DB": "C:\\Users\\username\\.codex\\state_5.sqlite (file)",
"state DB integrity": "ok"
},
"remediation": null,
"durationMs": 54428
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "ok",
"summary": "terminal metadata was detected",
"details": {
"WT_SESSION": "present",
"color output": "enabled",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout is terminal": "true",
"terminal": "Windows Terminal",
"terminal size": "156x47"
},
"remediation": null,
"durationMs": 0
},
"updates.status": {
"id": "updates.status",
"category": "updates",
"status": "ok",
"summary": "update configuration is locally consistent",
"details": {
"cached latest version": "0.132.0",
"check for update on startup": "true",
"dismissed version": "0.131.0",
"last checked at": "2026-05-20T05:20:18.455407400Z",
"latest version": "0.132.0",
"latest version status": "current version is not older",
"npm update target": "C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex",
"update action": "npm install -g @openai/codex",
"version cache": "C:\\Users\\username\\.codex\\version.json"
},
"remediation": null,
"durationMs": 922
}
}
}
What issue are you seeing?
<img width="1891" height="902" alt="Image" src="https://github.com/user-attachments/assets/1dafa0d2-c2dc-4c1f-bb4d-1fd101f23fda" />
What steps can reproduce the bug?
Have a git repository.
Open codex.
What is the expected behavior?
Normal rending.
Additional information
It started in 0.131.0 so I specified that version even though my logs show 132. Rolling back to 130 fixes the issue.
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
What Windows version are you running? Can you click this little chevron here and select About and send me your Windows Terminal version?
<img width="589" height="369" alt="Image" src="https://github.com/user-attachments/assets/2788adde-1518-4075-bc8a-cbb41f84e86f" />
Also, can you start codex on a folder that's not a git repository, like
O:\\Dropboxfor instance and send me a screenshot?@fcoury-oai
Windows Terminal 1.24.11321.0
Windows 25H2 26200.8117
I can only send you v.0.130.0 screenshot now cause I downgraded it and now it's busy. But removing .git/HEAD fixes the issue (it shows commit hash instead of branch name).
This issue is not related to Dropbox - I reproduced it in home folder too.
<img width="1310" height="536" alt="Image" src="https://github.com/user-attachments/assets/96fdaafc-b7d7-4e69-870b-43f5eea33e0e" />
@fcoury-oai my statusline setup is:
gpt-5.5 high · O:\Dropbox\... · develop · Context 47% used · 5h 64% · weekly 65% · 22.8M in · 148K out · Main [default]
Maybe it's the cause.
@fcoury-oai I reinstalled cleanly codex 0.132.0 under a separate account and made screenshots for you. No statusline this time. This is on default settings.
Without GIT
<img width="1437" height="442" alt="Image" src="https://github.com/user-attachments/assets/0bd402c6-472d-49c6-b633-ae547a234fe9" />
---
With GIT
<img width="1463" height="687" alt="Image" src="https://github.com/user-attachments/assets/fe107b96-cce1-44a3-b41e-26e4b58f02bb" />
--
Update: same without yolo.