-
Notifications
You must be signed in to change notification settings - Fork 56
fix(codex): route app-server through the canonical home (#659) #660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
possibilities
wants to merge
5
commits into
ndycode:main
from
possibilities:fix/app-server-canonical-home
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
0ef6638
fix(codex): route app-server through the canonical home
possibilities 5c8fee5
docs: correct the app-server transport in the user-facing docs
possibilities 79f492d
fix(codex): stop the detach grace from stranding an app-server helper
possibilities 07d0162
fix(codex): assert helper shutdown by liveness, not by graceful close
possibilities a6b4c7f
docs: cover the app-server help flags and add an upgrade note
possibilities File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
update the transport count and system diagram.
This branch adds a fourth runtime transport, but line 165 still says “one of three transports,” and the system diagram omits
app-server. Readers can follow the old shadow-home path for this command. Add the canonical-home app-server branch to the diagram and change the count to four.scripts/codex.js:4574-4660is the routing contract.As per path instructions, development documentation must prefer the current architecture and verify feature matrices against implemented features.
🤖 Prompt for AI Agents
Source: Path instructions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping three, and flagging this as the one open disagreement on the PR so a human can settle it.
The count was already mechanism-based before this branch: the same sentence said "one of three transports" over four branch rows — TUI,
resume/fork,app, everything else. So rows and transports were never 1:1 here, and reading a new row as a new transport contradicts the file's own established usage.app-serverreuses the canonical-home app helper the interactive commands already use.detachOnExitis lifecycle andproxyAppServerAccountReadis a wrapper-side protocol rewrite; neither changes home placement nor how traffic reaches the proxy. The three mechanisms are unchanged: canonical-home helper, shadow-home helper forcodex app, inline shadow home for everything else.What was genuinely wrong is that the convention was implicit, so the sentence now states it ("more branches than transports"), and the diagram — which was stale in a way that predates this PR, missing
resume/forksince #648 — now lists every branch under the transport it takes, includingapp-serverand the no-transport help path.@ndycode if you count rows rather than mechanisms in this document, say so and I'll change it to four in one commit.