codex - 💡(How to fix) Fix OpenAI-curated plugin manifests are repeatedly validated during normal turn/subagent setup [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19382Fetched 2026-04-25 06:10:19
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×3unlabeled ×1

Fix Action

Fix / Workaround

Codex should not repeatedly deep-validate every available marketplace plugin manifest during normal turn dispatch or subagent setup.

Code Example

codex_core_plugins::manifest: ignoring interface.defaultPrompt: prompt must be at most 128 characters path=~/.codex/.tmp/plugins/plugins/build-ios-apps/.codex-plugin/plugin.json
codex_core_plugins::manifest: ignoring interface.defaultPrompt: maximum of 3 prompts is supported path=~/.codex/.tmp/plugins/plugins/plugin-eval/.codex-plugin/plugin.json

---

[plugins."github@openai-curated"]
enabled = false
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex-cli 0.124.0

What subscription do you have?

No response

Which model were you using?

gpt-5.5

What platform is your computer?

Linux

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

Codex appears to repeatedly scan/validate manifests from the local openai-curated plugin marketplace cache during normal turn/subagent setup, even for plugins that are not enabled or installed by the user.

The visible symptom is repeated manifest warnings for cached marketplace plugins such as build-ios-apps and plugin-eval:

codex_core_plugins::manifest: ignoring interface.defaultPrompt: prompt must be at most 128 characters path=~/.codex/.tmp/plugins/plugins/build-ios-apps/.codex-plugin/plugin.json
codex_core_plugins::manifest: ignoring interface.defaultPrompt: maximum of 3 prompts is supported path=~/.codex/.tmp/plugins/plugins/plugin-eval/.codex-plugin/plugin.json

This looks related to, but distinct from, #19372. In this case the problematic manifests are from the local openai-curated marketplace cache, not an auto-mirrored Claude marketplace.

It also appears related to #17638, which merged a fix for repeated curated-marketplace loading in list_tool_suggest_discoverable_plugins(). The warning pattern from #17638 is still reproducible in another path on 0.124.0.

What steps can reproduce the bug?

  1. Use Codex CLI 0.124.0 with the default/openai-curated plugin marketplace cache present under ~/.codex/.tmp/plugins.
  2. Do not enable the affected plugins in ~/.codex/config.toml.
  3. Start normal Codex work and/or spawn subagents.
  4. Inspect ~/.codex/log/codex-tui.log.
  5. Observe repeated manifest validation warnings for cached marketplace plugins that were not requested.

In my local config, the only explicitly configured MCP server is a remote open-brain server. The GitHub plugin had been enabled initially, then was changed to:

[plugins."github@openai-curated"]
enabled = false

The repeated warnings still show that unrelated cached marketplace manifests are being parsed/validated during ordinary turn handling. Example timestamps from one run include repeated pairs from 14:41:39 through 14:46:24 UTC on 2026-04-24, across multiple session_loop thread IDs.

What is the expected behavior?

Codex should not repeatedly deep-validate every available marketplace plugin manifest during normal turn dispatch or subagent setup.

Preferably:

  • Installed/enabled plugins are loaded during startup/session setup.
  • Available marketplace plugins are indexed once, with validation results cached.
  • Full manifest validation for unavailable/uninstalled plugins happens only when listing/searching/installing plugins, or when a plugin is explicitly referenced.
  • Invalid manifests in available-but-unused plugins should not produce repeated warnings in ordinary session logs.

Additional information

Related findings:

  • #17638 already addressed one repeated curated-marketplace loading path and included the same build-ios-apps interface.defaultPrompt warning pattern.
  • #19372 reports overly broad marketplace auto-discovery for Claude marketplaces.
  • #18333 reports repeated full MCP stacks for sessions/subagents; this issue is narrower and specifically about plugin manifest scanning/validation noise and possible setup overhead.

Local timing while investigating subagent startup:

  • session_init.mcp_manager_init: about 3 ms
  • session_init.auth_mcp: about 650-880 ms
  • The full minimal subagent round trip was several seconds, with plugin manifest warnings appearing during the subagent turn setup.

This suggests actual MCP manager initialization was not the main cost in this setup, but the plugin/app/auth/setup path is doing more work than expected for plugins that were not used.

extent analysis

TL;DR

The issue can be mitigated by disabling the openai-curated plugin marketplace cache or by implementing a fix similar to #17638 to prevent repeated loading of curated marketplace plugins.

Guidance

  • Investigate the list_tool_suggest_discoverable_plugins() function to see if it's causing the repeated loading of curated marketplace plugins, as mentioned in #17638.
  • Check the ~/.codex/config.toml file to ensure that only the necessary plugins are enabled, and consider disabling the openai-curated plugin marketplace cache if not needed.
  • Review the session_init and auth_mcp timing to identify potential bottlenecks in the plugin loading process.
  • Consider implementing a caching mechanism to store validation results for available marketplace plugins to prevent repeated validation.

Example

No code snippet is provided as the issue is more related to the plugin loading and validation process, and the necessary code changes are not explicitly mentioned in the issue.

Notes

The issue seems to be related to the repeated loading and validation of curated marketplace plugins, which can cause performance issues and unnecessary warnings. The provided information suggests that the issue is specific to the openai-curated plugin marketplace cache and the gpt-5.5 model.

Recommendation

Apply a workaround by disabling the openai-curated plugin marketplace cache or by implementing a fix similar to #17638 to prevent repeated loading of curated marketplace plugins, as this seems to be the most likely cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix OpenAI-curated plugin manifests are repeatedly validated during normal turn/subagent setup [1 participants]