Skip to content

Honor explicit plugin disablement without a global default - #63468

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ab9f5a5b36150d7350c2d11a8421f9e14524a1ad
Nov 23, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ab9f5a5b36150d7350c2d11a8421f9e14524a1ad

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Honor explicit plugin disablement without a global default

Why

Without plugins._default, the activation policy ignored a plugin's explicit enabled = false. The CLI also reported remote plugin enablement directly from the marketplace, so its output could disagree with the effective state.

What changed

Apply per-plugin enablement before falling back to plugins._default.enabled. The codex plugin list command now applies that policy to remote plugins, so an installed plugin can appear as disabled while retaining its installation and account settings. Plugins disabled at their source stay disabled.

Testing

Cover explicit disablement without a global default in config and remote plugin loading tests, and check that the CLI reports the plugin as installed and disabled in both JSON and table output.

## Why

Without `plugins._default`, the activation policy ignored a plugin's explicit `enabled = false`. The CLI also reported remote plugin enablement directly from the marketplace, so its output could disagree with the effective state.

## What changed

Apply per-plugin enablement before falling back to `plugins._default.enabled`. The `codex plugin list` command now applies that policy to remote plugins, so an installed plugin can appear as disabled while retaining its installation and account settings. Plugins disabled at their source stay disabled.

## Testing

Cover explicit disablement without a global default in config and remote plugin loading tests, and check that the CLI reports the plugin as installed and disabled in both JSON and table output.

GitOrigin-RevId: ab9f5a5b36150d7350c2d11a8421f9e14524a1ad
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ab9f5a5b36150d7350c2d11a8421f9e14524a1ad branch from e9979e8 to d4af245 Compare November 23, 2026 23:40
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-23T23:40:21.489904Z e9979e8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit d4af245 into main Nov 23, 2026
12 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ab9f5a5b36150d7350c2d11a8421f9e14524a1ad branch November 23, 2026 23:40
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 23, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — d4af2452 Deployed Nov 23, 2026 by pi0n00r via Generate label suggestions #65609
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants