fix: open project starters in Codex mode - #2
Draft
CheeseGrinder231 wants to merge 1 commit into
Draft
Conversation
Activate Codex Desktop’s app-scoped mode command through its effective shortcut before opening the selected project deep link. Honor Codex keybinding overrides, revalidate the frozen process after the mode transition, and keep the task uncreated until first submission.
CheeseGrinder231
force-pushed
the
agent/session-start-navigation
branch
from
July 22, 2026 17:01
c0ca777 to
7e09901
Compare
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
switchToMode2shortcut, including user overridesthread/startpath that could create an empty task before Codex Desktop loaded itRoot cause
The project inventory and controller selector worked. Two post-release assumptions did not:
codex://new?path=...selects the project but inherits the product mode that Codex Desktop last used, so Chat stayed Chat.Codex Desktop now owns page creation through its native project route. Before opening that route, Agent Controller invokes Codex's app-scoped
switchToMode2command through its configured shortcut (macOS defaultControl+2).Safety and configuration
~/.codex/keybindings.jsononly when L3 commitsProof
swift test --disable-sandbox: 101 tests passed; four opt-in live tests skipped by designswift build --disable-sandbox: passedgit diff --check, credential, model-identifier, added machine-path, and sensitive-file audits: passedRemaining acceptance