Skip to content

[codex] Remove hardcoded app ID filters#28947

Merged
ericning-o merged 5 commits into
mainfrom
codex/remove-hardcoded-app-id-filters
Jun 18, 2026
Merged

[codex] Remove hardcoded app ID filters#28947
ericning-o merged 5 commits into
mainfrom
codex/remove-hardcoded-app-id-filters

Conversation

@ericning-o

Copy link
Copy Markdown
Contributor

Summary

  • remove the duplicated originator-specific connector ID denylists
  • stop filtering connector directory/accessibility results and live/cached Codex Apps MCP tools by hardcoded connector ID
  • remove the now-unused codex-login dependency from codex-utils-plugins
  • update regression coverage so formerly blocked connector IDs are preserved

Why

The client-side policy was duplicated across crates, used opaque IDs without ownership or expiry information, and could drift between app listing and MCP tool behavior. Server-provided visibility, authorization, plugin discoverability, accessibility, enabled-state handling, and consequential-tool approval templates remain unchanged.

Validation

  • just fmt
  • just bazel-lock-update
  • just bazel-lock-check
  • git diff --check
  • confirmed the final diff contains no hardcoded denylist symbols

A targeted codex-mcp test build spent an unusually long time in local compilation/linking. Its first attempt exposed a test-only PartialEq assertion issue, which was corrected. A follow-up non-linking cargo check -p codex-mcp --tests was still running when this draft was opened; CI should provide the complete Rust validation.

@ericning-o ericning-o marked this pull request as ready for review June 18, 2026 18:04
@ericning-o ericning-o requested a review from a team as a code owner June 18, 2026 18:04

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 64d94c5571

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/codex-mcp/src/codex_apps.rs
if server_name == CODEX_APPS_MCP_SERVER_NAME {
return Ok(filter_disallowed_codex_apps_tools(tools));
}
Ok(tools)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add integration coverage for agent-visible app tools

This removal changes which Codex Apps MCP tools can reach an agent turn, but the diff only updates codex-mcp cache coverage and app-server list coverage; without a core/suite test that drives a turn with one of the formerly filtered connector IDs, the model-visible behavior can regress while these tests still pass. The repository requires integration tests for agent-logic changes.

AGENTS.md reference: AGENTS.md:L114-L118

Useful? React with 👍 / 👎.

@ericning-o ericning-o enabled auto-merge (squash) June 18, 2026 18:50
@ericning-o ericning-o merged commit 29eb434 into main Jun 18, 2026
31 checks passed
@ericning-o ericning-o deleted the codex/remove-hardcoded-app-id-filters branch June 18, 2026 20:29
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2026
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