You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The branch changes codex-rs/core-plugins/src/manifest.rs so interface.defaultPrompt arrays are still truncated to three prompts, but an otherwise valid fourth prompt no longer emits:
ignoring interface.defaultPrompt: maximum of 3 prompts is supported
Invalid prompt entries still warn and are ignored.
Reproduction
Failing-before test added on 2026-06-27:
just test -p codex-core-plugins plugin_interface_truncates_default_prompt_array_without_warning
Before the fix, that test failed because the fourth valid prompt caused the warning above.
Verification
just fmt
just fix -p codex-core-plugins
just test -p codex-core-plugins plugin_interface_truncates_default_prompt_array_without_warning
just test -p codex-core-plugins plugin_interface_normalizes_default_prompt_array
just test -p codex-core-plugins does_not_reload_marketplace_per_plugin
HOME=/tmp/lazycodex-clean-home-TfSVLP CODEX_HOME=/tmp/lazycodex-clean-home-TfSVLP/.codex just test -p codex-core-plugins
The clean-home crate run passed all 298 tests.
Note: I attempted to open the PR directly against openai/codex, but GitHub rejected both the GraphQL and REST PR creation paths for this account. The branch is pushed and ready for PR creation from the compare URL above.
I also tried the full crate run locally. It failed in manager::tests::skills_service_reuses_skills_parsed_during_plugin_load because this Codex Desktop session exposes local Foundry/Lottie skills into the test snapshot; the same failure reproduced with clean HOME/CODEX_HOME, so I treated that as ambient to this environment and used the focused tests above for this patch.
SSH validation:
cyberagent-mac-m5max: fetched 36f57494c; DIFF_CHECK_OK; three focused tests passed; CARGO_CHECK_OK.
nicolas2025: fetched 36f57494c; DIFF_CHECK_OK; three focused tests passed; CARGO_CHECK_OK; no lingering cargo/rustc/link processes.
nicolas-macbook-pro: fetched 36f57494c; DIFF_CHECK_OK; Cargo unavailable on that host, so this was diff-only.
rtx5060ti: fetched 36f57494c; DIFF_CHECK_OK; Cargo blocked by the host's known linker setup issue (link: extra operand ..., exit 101) before crate code compiles; no lingering cargo/rustc/link processes.
After validation, upstream main advanced to 6509f3148; git merge-tree --write-tree origin/main HEAD is clean, so I left the SSH-validated commit unchanged.
Activity
Nicolas0315 commentedon Jun 26, 2026
I also put up an equivalent candidate branch from current
main:https://github.com/openai/codex/compare/main...Nicolas0315:codex/default-prompt-quiet-truncate?expand=1
What changed:
interface.defaultPromptarrays still retain only the first three valid prompts.maximum of 3 prompts is supported.Local verification on
rtx4090at commit36f57494c:just fmtgit diff --checkcargo test --manifest-path codex-rs\Cargo.toml -p codex-core-plugins plugin_interface_truncates_default_prompt_array_without_warning -- --nocapturecargo test --manifest-path codex-rs\Cargo.toml -p codex-core-plugins plugin_interface_normalizes_default_prompt_array -- --nocapturecargo test --manifest-path codex-rs\Cargo.toml -p codex-core-plugins does_not_reload_marketplace_per_plugin -- --nocapturecargo check --manifest-path codex-rs\Cargo.toml -p codex-core-pluginsI also tried the full crate run locally. It failed in
manager::tests::skills_service_reuses_skills_parsed_during_plugin_loadbecause this Codex Desktop session exposes local Foundry/Lottie skills into the test snapshot; the same failure reproduced with cleanHOME/CODEX_HOME, so I treated that as ambient to this environment and used the focused tests above for this patch.SSH validation:
cyberagent-mac-m5max: fetched36f57494c;DIFF_CHECK_OK; three focused tests passed;CARGO_CHECK_OK.nicolas2025: fetched36f57494c;DIFF_CHECK_OK; three focused tests passed;CARGO_CHECK_OK; no lingeringcargo/rustc/linkprocesses.nicolas-macbook-pro: fetched36f57494c;DIFF_CHECK_OK; Cargo unavailable on that host, so this was diff-only.rtx5060ti: fetched36f57494c;DIFF_CHECK_OK; Cargo blocked by the host's known linker setup issue (link: extra operand ..., exit 101) before crate code compiles; no lingeringcargo/rustc/linkprocesses.After validation, upstream
mainadvanced to6509f3148;git merge-tree --write-tree origin/main HEADis clean, so I left the SSH-validated commit unchanged.