codex - 💡(How to fix) Fix Codex should clearly identify stale marketplace repository clones [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#19834Fetched 2026-04-28 06:36:14
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×3renamed ×1unlabeled ×1

Root Cause

The root cause was a stale cloned copy of the marketplace repository on disk. The Codex app detected that stale marketplace state, but there was no obvious way for me to tell this apart from a stale installed plugin cache or a marketplace/plugin upgrade problem.

Code Example

~/.codex/plugins/cache/patinaproject-skills/superteam/1.0.0/skills/superteam/SKILL.md
RAW_BUFFERClick to expand / collapse

What issue are you seeing?

The root cause was a stale cloned copy of the marketplace repository on disk. The Codex app detected that stale marketplace state, but there was no obvious way for me to tell this apart from a stale installed plugin cache or a marketplace/plugin upgrade problem.

That made the failure mode confusing: the marketplace entry and upstream plugin release appeared current, while Codex still exposed an older plugin skill. From the user's point of view, it looked like Codex had a stale cached plugin version that could not be refreshed, when the actual problem was the stale marketplace repository clone that Codex was already able to detect.

Codex should make this state visible and actionable so users can distinguish:

  • a stale marketplace repository checkout,
  • a stale installed plugin cache entry,
  • an enabled plugin resolving from an older installed version,
  • and a marketplace that is genuinely already up to date.

What steps can reproduce the bug?

  1. Add or use a Git marketplace with an enabled plugin.
  2. Have the local cloned marketplace repository become stale relative to the expected marketplace state.
  3. Start or continue a Codex session that loads skills from that marketplace.
  4. Inspect the enabled plugin or referenced skill version.

Observed locally with codex-cli 0.123.0:

  • The marketplace entry and upstream plugin release pointed to superteam v1.2.0.
  • Codex still exposed an installed skill from an older cache path:
~/.codex/plugins/cache/patinaproject-skills/superteam/1.0.0/skills/superteam/SKILL.md
  • The available CLI output did not make it clear that the stale marketplace repository clone was the root cause.
  • Because Codex had detected the stale repository state internally, the missing piece was discoverability and user-facing diagnostics, not merely plugin cache refresh behavior.

What is the expected behavior?

When Codex detects a stale marketplace repository clone, it should clearly surface that fact in the app and/or CLI output, with enough detail to distinguish it from stale plugin cache state.

Ideally, Codex should show:

  • which marketplace repository clone is stale,
  • what version/revision Codex expected,
  • what local revision is currently present,
  • which enabled plugins or skills are affected,
  • and the recommended action to refresh or repair the marketplace checkout.

If the Plugin Directory or app already detects this condition, it should present a visible warning or repair action instead of leaving users to infer the issue from cache paths and marketplace metadata.

Additional information

The original report focused on the installed plugin cache because that was the most visible symptom: Codex was resolving a skill from an older cache directory while the marketplace metadata appeared to point at a newer plugin version.

After further investigation, the confirmed root cause was the stale marketplace repository clone. The issue is that there was no obvious user-facing signal to tell that this was the cause, even though the Codex app detected it.

Relevant public files from the original investigation:

extent analysis

TL;DR

To resolve the issue, Codex should surface the stale marketplace repository clone detection in the app and/or CLI output, providing enough detail to distinguish it from stale plugin cache state.

Guidance

  • Codex should display a clear warning or repair action when detecting a stale marketplace repository clone, including details such as the affected marketplace repository, expected version, local revision, and impacted plugins or skills.
  • The recommended action to refresh or repair the marketplace checkout should be provided to the user.
  • The Codex app and/or CLI output should be updated to differentiate between a stale marketplace repository clone and a stale installed plugin cache entry.
  • The codex-cli output should be enhanced to show the actual root cause of the issue, rather than just the symptoms.

Example

No code snippet is provided as the issue is related to the Codex app's behavior and user-facing diagnostics.

Notes

The issue is specific to the Codex app's handling of stale marketplace repository clones and the need for better user-facing diagnostics to distinguish between different types of stale states.

Recommendation

Apply a workaround to update the Codex app and/or CLI output to provide clear warnings and repair actions for stale marketplace repository clones, as the root cause of the issue is the lack of visible diagnostics rather than a plugin cache refresh problem.

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