Skip to content

Default explorer sidecars to Luna - #865

Merged
GraciousGazelles merged 7 commits into
mainfrom
fix/w14067-explorer-luna-default
Sep 19, 2026
Merged

GraciousGazelles merged 7 commits into
mainfrom
fix/w14067-explorer-luna-default

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • give the built-in explorer role a soft gpt-5.6-luna default
  • preserve supported explicit and configured model choices instead of hard-locking the role
  • keep catalog, backend, reasoning, expected-model, and effective-model validation truthful
  • prevent user-defined roles named explorer from inheriting the built-in default
  • add V1/V2 regression coverage and wire it into the hosted model-pinning lane

Validation

  • independent semantic review completed clean for the exact candidate
  • the exact GitHub-hosted model-pinning lane will run before promotion
  • local compilation and tests were intentionally not used on the coordination workstation

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-19T01:14:22.453918Z 8bb5d1a 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.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces soft model defaults for agent roles, specifically defaulting the builtin 'explorer' role to 'gpt-5.6-luna' when no explicit or configured model is specified. It updates the spawn agent handlers and common resolution logic to incorporate this fallback, alongside adding corresponding unit tests and updating the test suite in the justfile. Feedback on these changes suggests simplifying the implementation in role.rs by removing the RoleDefaults struct and replacing the complex combinator chain with a more readable, idiomatic helper function.

Comment thread codex-rs/core/src/agent/role.rs Resolved
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 19, 2026
Merged via the queue into main with commit ea926c4 Sep 19, 2026
98 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/w14067-explorer-luna-default branch September 19, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant