RFC-030: wire codex-app-server into anet CLI - #441
Draft
vansin wants to merge 1 commit into
Draft
Conversation
This was referenced Jul 13, 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.
What changed
codex-app-serveran explicitanet node createchoice in both TTYpicker paths and preserves an explicit
--runtime codex-app-serverflag;anet node startfor every non-Claude-Code runtime throughagent-node, preventingcodex-app-serverprofiles from falling into theClaude CLI launcher;
codex-app-servertoanetandagent-nodehelp;codex-sdk --codex-transport app-serverproposal as superseded;path. Policy Gateway, Wave 2, §8, merge, production and
latestremainlocked.
Root cause
Runtime normalization and
agent-nodealready recognized the canonicalcodex-app-servervalue, but the outeranetCLI had two independentallowlists that omitted it. A TTY create could overwrite the explicit flag,
and start then selected the Claude CLI branch.
Validation
bun test agent-network/src/normalize-runtime.test.ts— 32 pass, 0 fail;anet --helpandagent-node --helpincludecodex-app-server;runtime: codex-app-serverwithout reopening thepicker;
anet node startlaunched real builtagent-node --runtime codex-app-server;lateststate was touched.The smoke proves CLI startup/registration only. It does not exercise or claim
the production Policy Gateway or §8 release gate.