Repository navigation
Description
What version of Codex CLI is running?
0.157.1
What subscription do you have?
PRO 20x
Which model were you using?
GPT-6-Astra xhigh
What platform is your computer?
Window 11 x64
What terminal emulator and version are you using (if applicable)?
WSL / PowerShell
Codex doctor report
{
"schemaVersion": 1,
"generatedAt": "1790522386s since unix epoch",
"overallStatus": "warning",
"codexVersion": "0.157.1",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is running",
"details": {
"app-server version": "0.157.1",
"control socket": "C:\\Users\\McVaxius\\.codex\\app-server-control\\app-server-control.sock",
"daemon state dir": "C:\\Users\\McVaxius\\.codex\\app-server-daemon",
"dedicated pid file": "C:\\Users\\McVaxius\\.codex\\app-server-daemon\\daemon.pid (file)",
"dedicated update-loop pid file": "C:\\Users\\McVaxius\\.codex\\app-server-daemon\\daemon-updater.pid (file)",
"mode": "ephemeral",
"pid file": "C:\\Users\\McVaxius\\.codex\\app-server-daemon\\app-server.pid (missing)",
"settings": "C:\\Users\\McVaxius\\.codex\\app-server-daemon\\settings.json (missing)",
"status": "running",
"update-loop pid file": "C:\\Users\\McVaxius\\.codex\\app-server-daemon\\app-server-updater.pid (missing)"
},
"remediation": null,
"durationMs": 49
},
"auth.credentials": {
"id": "auth.credentials",
"category": "auth",
"status": "ok",
"summary": "auth is configured",
"details": {
"auth file": "C:\\Users\\McVaxius\\.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": "warning",
"summary": "config loaded",
"details": {
"CODEX_HOME": "C:\\Users\\McVaxius\\.codex",
"active thread overrides": "not inspected",
"config.toml": "C:\\Users\\McVaxius\\.codex\\config.toml",
"config.toml parse": "ok",
"configuration load ms": "77",
"configuration scope": "invocation config, including cloud-managed policy",
"cwd": "Z:\\",
"enabled feature flags": "<redacted>",
"feature flag overrides": "none",
"feature flags enabled": "53",
"log dir": "C:\\Users\\McVaxius\\.codex\\log",
"mcp servers": "0",
"model": "gpt-6-astra",
"model provider": "codex-lb",
"sqlite home": "C:\\Users\\McVaxius\\.codex",
"startup warning": "Codex is ignoring 1 unrecognized configuration setting. Check for typos or deprecated settings.\n user (C:\\Users\\McVaxius\\.codex\\config.toml): `windows.sandbox_mode` is ignored.",
"startup warning MCP": "0",
"startup warning deprecated": "1",
"startup warning hooks": "0",
"startup warning plugins": "0",
"startup warning skills": "0",
"startup warnings": "1"
},
"remediation": null,
"durationMs": 1
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git executable found; execution not verified",
"details": {
"PATH git #1": "C:\\Program Files\\Git\\cmd\\git.exe",
"PATH git entries": "1",
"git execution": "not inspected (PATH helpers are not executed)",
"repo detected": "false",
"selected git": "C:\\Program Files\\Git\\cmd\\git.exe"
},
"remediation": null,
"durationMs": 60
},
"git.worktree.dev_drive": {
"id": "git.worktree.dev_drive",
"category": "git",
"status": "ok",
"summary": "no Git worktree is active",
"details": {},
"remediation": null,
"durationMs": 2
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\codex.cmd",
"current executable": "C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
"install context": "npm (package C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
"managed by Vite+": "false",
"managed by bun": "false",
"managed by npm": "true",
"managed by pnpm": "false",
"managed package root": "C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex",
"npm update target": "not inspected (PATH helpers are not executed)"
},
"remediation": null,
"durationMs": 33
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "no MCP servers configured",
"details": {},
"remediation": null,
"durationMs": 1
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"managed proxy": "not configured",
"proxy env vars": "none",
"respect system proxy": "disabled"
},
"remediation": null,
"durationMs": 0
},
"network.provider_reachability": {
"id": "network.provider_reachability",
"category": "reachability",
"status": "ok",
"summary": "active provider endpoints are reachable over HTTP",
"details": {
"codex-lb API inference URL": "http://127.0.0.1:2455/backend-api/<redacted> reachable (HTTP 405)",
"codex-lb API route probe": "http://127.0.0.1:2455/backend-api/<redacted> route exists (HTTP 200)",
"reachability mode": "ChatGPT auth"
},
"remediation": null,
"durationMs": 144
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket handshake succeeded",
"details": {
"DNS": "1 IPv4, 0 IPv6, first IPv4",
"auth mode": "chatgpt",
"connect timeout": "15000 ms",
"endpoint": "ws://127.0.0.1:2455/backend-api/<redacted>",
"handshake result": "HTTP 101 Switching Protocols",
"model provider": "codex-lb",
"provider name": "openai",
"proxy env vars": "none",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 514
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running npm on windows-x86_64",
"details": {
"commit": "unknown",
"current executable": "C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
"install method": "npm (package C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
"platform": "windows-x86_64",
"version": "0.157.1"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search command found (bundled); execution not verified",
"details": {
"search command": "C:\\Users\\McVaxius\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path\\rg.exe",
"search command readiness": "file exists",
"search provider": "bundled"
},
"remediation": null,
"durationMs": 0
},
"sandbox.filesystem_paths": {
"id": "sandbox.filesystem_paths",
"category": "sandbox",
"status": "ok",
"summary": "no explicit filesystem paths to probe",
"details": {},
"remediation": null,
"durationMs": 2
},
"sandbox.helpers": {
"id": "sandbox.helpers",
"category": "sandbox",
"status": "ok",
"summary": "sandbox configuration is readable",
"details": {
"approval policy": "OnRequest",
"codex-linux-sandbox helper": "none",
"denied-read glob rules": "0",
"denied-read restrictions": "false",
"denied-read rules": "0",
"execve wrapper helper": "none",
"filesystem sandbox": "restricted",
"glob scan max depth": "unbounded",
"managed filesystem source": "none",
"network sandbox": "restricted",
"sandbox backend": "elevated",
"sandbox provisioning": "complete"
},
"remediation": null,
"durationMs": 56
},
"security.endpoint": {
"id": "security.endpoint",
"category": "security",
"status": "warning",
"summary": "endpoint protection detected; Codex exclusions are unverified",
"details": {
"Codex exclusions": "not verified",
"endpoint products": "Microsoft Defender",
"exclusion targets": "signed Codex app; codex.exe; codex-windows-sandbox-setup.exe; codex-command-runner.exe; codex-code-mode-host.exe"
},
"issues": [
{
"severity": "warning",
"cause": "Microsoft Defender can interfere with Codex. Verify Codex exclusions.",
"measured": "not verified",
"expected": "Codex application and helper exclusions",
"remedy": "Microsoft Defender: Add a certificate or executable-path exclusion for Codex and its helpers. If Attack Surface Reduction blocks Codex, add a rule exclusion. If Controlled Folder Access blocks Codex, allow the app.",
"fields": [
"Codex exclusions"
]
}
],
"remediation": "ask your security administrator to verify Codex exclusions and required helper allowances",
"durationMs": 84
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "C:\\Users\\McVaxius\\.codex (dir)",
"active rollout files": "2805 files, 10192051528 total bytes, 3633529 average bytes",
"archived rollout files": "0 files, 0 total bytes, 0 average bytes",
"goals DB": "C:\\Users\\McVaxius\\.codex\\goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "C:\\Users\\McVaxius\\.codex\\logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "C:\\Users\\McVaxius\\.codex\\log (dir)",
"memories DB": "C:\\Users\\McVaxius\\.codex\\memories_1.sqlite (file)",
"memories DB integrity": "ok",
"memories v2 DB": "C:\\Users\\McVaxius\\.codex\\memories_v2_1.sqlite (missing)",
"memories v2 DB integrity": "skipped (missing)",
"queue DB": "C:\\Users\\McVaxius\\.codex\\queue_1.sqlite (file)",
"queue DB integrity": "ok",
"sqlite home": "C:\\Users\\McVaxius\\.codex (dir)",
"state DB": "C:\\Users\\McVaxius\\.codex\\state_5.sqlite (file)",
"state DB integrity": "ok",
"thread history DB": "C:\\Users\\McVaxius\\.codex\\thread_history_1.sqlite (file)",
"thread history DB integrity": "ok"
},
"remediation": null,
"durationMs": 119322
},
"state.rollout_db_parity": {
"id": "state.rollout_db_parity",
"category": "threads",
"status": "ok",
"summary": "rollout files and state DB thread inventory agree",
"details": {
"default model provider": "codex-lb",
"rollout DB active files": "2805",
"rollout DB active rows": "2805",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "0",
"rollout DB archived rows": "0",
"rollout DB duplicate DB paths": "0",
"rollout DB duplicate rollout thread ids": "0",
"rollout DB malformed file names": "0",
"rollout DB missing active rows": "0",
"rollout DB missing archived rows": "0",
"rollout DB model providers": "openai=1571, codex-lb=1234",
"rollout DB rows": "2805",
"rollout DB scan cap reached": "false",
"rollout DB scan errors": "0",
"rollout DB sources": "cli=2301, subagent:thread_spawn=479, vscode=25",
"rollout DB stale rows": "0"
},
"remediation": null,
"durationMs": 100470
},
"system.disk": {
"id": "system.disk",
"category": "disk",
"status": "ok",
"summary": "sufficient free disk space (41.0 GiB)",
"details": {
"CODEX_HOME available": "41.0 GiB",
"failure threshold": "1.0 GiB",
"warning threshold": "5.0 GiB",
"worktree available": "186.1 GiB"
},
"remediation": null,
"durationMs": 4
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language en-US",
"details": {
"EDITOR": "not set",
"VISUAL": "not set",
"os": "Windows 10.0.26100 (Windows 11 Professional) [64-bit]",
"os language": "en-US",
"os type": "Windows",
"os version": "10.0.26100"
},
"remediation": null,
"durationMs": 5
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "ok",
"summary": "terminal metadata was detected",
"details": {
"WT_SESSION": "present",
"color output": "enabled",
"console input code page": "437",
"console output code page": "65001",
"stderr console mode": "0x00000007 (VT processing: true)",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout console mode": "0x00000007 (VT processing: true)",
"stdout is terminal": "true",
"terminal": "Windows Terminal",
"terminal size": "148x35"
},
"remediation": null,
"durationMs": 3
},
"terminal.title": {
"id": "terminal.title",
"category": "title",
"status": "ok",
"summary": "terminal title default",
"details": {
"terminal title activity": "true",
"terminal title items": "activity, project-name",
"terminal title project source": "project config",
"terminal title project value": "Z:\\",
"terminal title source": "default"
},
"remediation": null,
"durationMs": 5
},
"updates.status": {
"id": "updates.status",
"category": "updates",
"status": "ok",
"summary": "update configuration is locally consistent",
"details": {
"cached latest version": "0.157.1",
"check for update on startup": "true",
"last checked at": "2026-09-27T01:46:38.257134800Z",
"latest version": "0.157.1",
"latest version status": "current version is not older",
"npm update target": "not inspected (PATH helpers are not executed)",
"update action": "npm install -g @openai/codex",
"version cache": "C:\\Users\\McVaxius\\.codex\\version.json"
},
"remediation": null,
"durationMs": 703
}
}
}What issue are you seeing?
- I can't scroll when plan mode presents a menu
- nonstop windows spawning and interrupting my typing
What steps can reproduce the bug?
read the additional information
What is the expected behavior?
read the additional information
Additional information
Title: Windows: scrolling blocked by Plan mode implementation menu and repeated flashing console windows in 0.157.1
Summary
After updating to Codex CLI 0.157.1, two problems are disrupting normal use on Windows:
- I cannot scroll back through the conversation while a menu is displayed, particularly the Plan mode prompt asking whether to implement the plan.
- Console windows repeatedly appear briefly and disappear during Codex use.
These are reported together because they appeared around the same update; a shared root cause has not been established.
Environment
- Codex CLI:
0.157.1 - Installation: npm package
@openai/codex - OS: Windows 11 Pro, 64-bit, build
26100 - Installed Windows Terminal:
1.24.11911.0 - Previous working version: not recorded
Scrolling problem
Steps:
- Use Codex CLI in a conversation long enough to require scrolling.
- Request a plan and wait for the implementation-choice menu.
- Attempt to scroll upward while that menu remains open.
Actual: I cannot scroll back to review the preceding conversation and plan.
Expected: Conversation history remains scrollable while the implementation choice is pending.
Impact: The interface obstructs reviewing the information needed to make the decision it is requesting.
Flashing console windows
During normal Codex CLI use, console windows repeatedly appear and immediately disappear, disrupting the desktop.
Expected: Background execution should not create visible console windows unless an interactive window is explicitly needed.
A deterministic trigger for every occurrence has not yet been isolated.
Diagnostic observations
Local inspection confirmed a Codex 0.157.1 shared background server running and launching PowerShell children with separate console hosts. This supports investigating process-window handling but does not prove which processes produced the visible flashes.
The official 0.157.0 release notes list fullscreen transcripts and automatic background-server startup as newly enabled defaults. These are possible investigation leads, not confirmed causes.
Requested outcome
Restore scrolling while menus are open and eliminate unintended flashing console windows while retaining the default feature set.
Launch options disabling alternate-screen mode and the shared daemon were suggested but have not been tested. Requiring users to disable features is not the requested resolution.
Activity
github-actions commentedon Sep 27, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Sep 27, 2026
Thanks for the bug report. We have fixes in place for both of these issues, and they'll be in the next release (which should be published within the next 24 hours).
etraut-openai commentedon Sep 29, 2026
We found additional code paths that we missed in our previous fix. We're working on a follow-on fix. We're using #48074 to track.