fix(coding-agent): allow Luna children on empty Codex catalogs - #1012
Closed
cskwork wants to merge 1 commit into
Closed
fix(coding-agent): allow Luna children on empty Codex catalogs#1012cskwork wants to merge 1 commit into
cskwork wants to merge 1 commit into
Conversation
cskwork
force-pushed
the
fix/1011-luna-subagent-selector
branch
from
August 8, 2026 17:06
e3627fb to
b72703c
Compare
This was referenced Aug 10, 2026
Contributor
This was referenced Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Allow a Sol parent to discover and explicitly spawn a GPT-5.6 Luna RLM child without pinning Prime Agent to an unrelated Codex CLI version.
The
/codex/modelsendpoint currently returns an empty successful catalog when Prime Agent sends its ownclient_version. An empty catalog is not proof that the authenticated account has no usable models: direct Luna requests work with the same credentials.This change:
Fixes #1011. This overlaps the empty-catalog policy in #696/#717 but adds the exact Sol-to-Luna RLM regression.
Verification
npm run check: passedrlm.find_models("luna")returnedopenai-codex/gpt-5.6-lunaopenai-codex/gpt-5.6-lunaNO_PIN_LUNA_OKPlease merge this fix (or fold its Sol-to-Luna regression into #717) so explicit Luna children work without maintaining a hard-coded external CLI version.
Note
Fix Luna child model discovery when Codex model catalog returns empty
model-registry.ts, introduces afilterByCataloghelper that treats an empty catalog as non-authoritative, leaving all local openai-codex models available instead of filtering them all out.1011-luna-subagent-selector.test.tsthat stubs an empty catalog fetch and asserts Luna is discoverable and executes successfully.Macroscope summarized b72703c.