VS Code extension crashes on startup with "interface.defaultPrompt: maximum of 3 prompts is supported"
What version of the IDE extension are you using?
26.623.42026
What subscription do you have?
ChatGPT Plus
Which IDE are you using?
Visual Studio Code
What platform is your computer?
uname -mprs
What issue are you seeing?
The VS Code Codex extension crashes immediately after startup.
Error:
Codex process errored:
Codex app-server process exited unexpectedly (code=unknown, signal=SIGTRAP)
Last CLI error:
codex_core_plugins::manifest:
ignoring interface.defaultPrompt:
maximum of 3 prompts is supported
The crash occurs while loading:
.../plugins/openai-primary-runtime/plugins/template-creator/.codex-plugin/plugin.json
The Codex panel never becomes usable.
I tested multiple extension versions (including versions from one week ago), but the same error occurs every time.
Troubleshooting already attempted:
- Deleted ~/.cache/codex
- Deleted ~/.codex/tmp
- Deleted ~/.codex/runtimes
- Verified config.toml is valid
- Reinstalled multiple extension versions
- Restarted VS Code
- Temporarily removed Codex.app from /Applications
None of these steps resolved the issue.
<img width="314" height="731" alt="Image" src="https://github.com/user-attachments/assets/19450b16-2cc2-4747-b196-a02fe4259657" />
What steps can reproduce the bug?
- Install the Codex VS Code extension.
- Sign in with a ChatGPT Plus account.
- Open the Codex panel.
- Wait for the extension to start.
Result:
The extension crashes immediately with:
interface.defaultPrompt: maximum of 3 prompts is supported
Expected behavior:
The Codex panel should start normally.
What is the expected behavior?
The Codex extension should start normally without crashing, and the Codex panel should be usable.
Additional information
I spent several hours troubleshooting this issue with ChatGPT, and we were unable to resolve it.
I tested multiple extension versions, including versions from one week ago that had worked previously, but the same crash still occurs.
This appears to be caused by the extension or the runtime plugin rather than by my local configuration.
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Couple notes:
This happens based on things that I am assuming ship with Codex itself it seems so users seem very likely to hit it without generating or using any invalid plugins of their own fault:
<img width="1185" height="372" alt="Image" src="https://github.com/user-attachments/assets/b6da82b3-120e-41fc-9d93-13abf8b92dac" />
And I have found there seems to be a related MR to potentially gracefully handle this that seems not mentioned / connected to this issue yet : https://github.com/openai/codex/issues/30262 . However it seems to be stalled at this point.
Additional confirmation from Codex Desktop on Windows.
Environment:
OpenAI.Codex_26.623.19656.0_x64template-creatorversion26.630.12135C:\Users\Administrator\.cache\codex-runtimes\codex-primary-runtime\plugins\openai-primary-runtime\plugins\template-creator\.codex-plugin\plugin.jsonObserved crash/error overlay:
Local verification:
template-creatormanifest contains 4interface.defaultPromptentries.documents,pdf,presentations,spreadsheets) have 3 entries each.C:\Users\Administrator\.codex\logs_2.sqliteshow the warning while loading discoverable tools:built_tools.load_discoverable_tools:list_tool_suggest_discoverable_tools_with_auth:list_tool_suggest_discoverable_pluginsDiagnostic self-corrections / caveats:
Application Error/Windows Error ReportingCodex crash event in the inspected window.3221225786is0xC000013A, which usually means the process was interrupted/terminated, so the manifest warning may be the last surfaced error rather than the only process-exit cause.Sort-Objectcommand syntax; rerunning with a simpler command confirmed the manifest count correctly. That failed check was an agent command error, not evidence of a broken Windows/PowerShell environment.Current assessment:
This still looks like a real bundled runtime manifest defect:
template-creator@openai-primary-runtimeships 4 default prompts while the current Codex runtime supports a maximum of 3. Even if it is not the sole cause of every crash overlay, the bad manifest is reproducible locally and is being repeatedly validated during tool discovery.Expected behavior:
Duplicate/noise cleanup from my side.
I accidentally posted a second near-duplicate Windows data point a couple of minutes after my previous comment. To avoid adding noise to the issue thread, please treat the previous comment as the consolidated diagnostic report:
https://github.com/openai/codex/issues/30360#issuecomment-4908358414
The only extra emphasis from this duplicate was:
code=3221225786, signal=null;3221225786maps to0xC000013A, so this case should be described as an interrupted/terminated app-server/Codex process rather than a proven classic crash from Event Viewer alone;Codex.exeApplication Error / WER event and no Codex dump were found in the checked window;template-creator 26.630.12135manifest still reproducibly contains 4interface.defaultPromptentries while the runtime supports a maximum of 3;Sorry for the duplicate. The actionable product-side request remains: the bundled
template-creatormanifest should either be reduced to 3 default prompts, the supported limit should be raised, or the plugin loader should ignore extra prompts without surfacing a crash/error overlay.I am not sure the proper way to get this more visibility but if anyone knows who should be tagged please do - in short I believe that right now the codex vs-code extension is basically completely broken/unusable (unless someone knows a workaround do please share).
@fcoury-oai I came across you as a reviewer of some previous vs-code extension related MRs in this repo - any chance you would please have tips on what should be done to get this issue visibility?