Repository navigation
feat(launcher): support managed npx startup and upgrade migration - #220
Merged
Merged
Conversation
abruption
marked this pull request as ready for review
November 24, 2026 01:06
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 99d453cd55
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This was referenced Nov 24, 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.
Changes
npxfor Codex and Claude Code on macOS and Linux. Reuse the verified immutable Aptly snapshot and bundled npm from a trusted Node.js 24+ installation. Start the exact Aptly version offline in a private per-process npm directory. Existing direct and stable launchers retain their behavior.aptly updateruns the freshly installed CLI to migrate each existing unchanged Aptly-owned Codex and Claude Code launcher to managed npx. It reports each host separately, skips unowned, custom and absent registrations, and retains the package update when a migration fails. Windows plain update still updates the package only. The explicit--client codex|claude --launcher npxpair still selects a single host.Verification
49011401730349a5a1c2f86918f0c093147295bb6f215111392f2c074ac7f32a. The final usage wording was refined afterwards.Ubuntu CI follow-up
The runner-provided Node/npm tree is under the shared writable tool cache. Managed launcher qualification rejects that ancestry. The four npx tests now use private copies of the runner's real Node and npm, and the runtime test verifies that writable npm ancestry is rejected. The production trust policy is unchanged. Issue #219 now describes the intentional automatic migration of existing owned registrations on plain update.
Closed #219