feat(release): add managed updates and Codex sharing checks for v4.0.1 - #47
Conversation
- Add stable release discovery, checked downloads and local role selection. - Reuse immutable installers with update locking and compatibility guards. - Register the management CLI and preserve macOS Wrapper environment settings. - Document the upgrade path and cover failure and interruption handling. - Validate the full local gate: 4855 pytest passes, 4 skips and Node 24 Web checks.
- Prepare account-scoped native daemons without restarting active clients. - Verify CLI and Wrapper transports and report activation-bound readiness. - Preserve disabled sharing and surface unavailable or mismatched connections.
- Align runtime, Web metadata and installer defaults with v4.0.1. - Document managed updates, shared Codex checks and the v4.0.0 transition. - Preserve protocol v72 and existing v4.0.0 release artifacts.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dd96596cd5
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
- Share an exclusive installation lock across both role entrypoints. - Verify inherited descriptors and retain locks through activation and rollback. - Cover concurrent installers and updater handoff with process-level tests.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9bbf3cbeba
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
- Select the standard role directory before reading installation state. - Keep unrelated damaged installations from blocking role-scoped updates. - Reject mismatched role metadata and cover both roles with regression tests.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7acec89102
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
- Route Linux role-scoped updates to that role's installed Python entrypoint. - Preserve option forms and ordering while refusing an unrelated fallback. - Exercise the real launcher against broken and missing role runtimes.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bc0753662d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
- Include management command registration in the Relay activation transaction. - Validate managed bundles before registering their command and metadata. - Verify registration failure rolls back release, Caddy and service state.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ffe4804fe4
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
- Keep management registration after the interruptible Codex readiness check. - Preserve committed activation when post-install output fails. - Verify first-install and upgrade behavior with real TERM and output faults.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e3afd9d052
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
- Acquire the install lock before comparing the active and selected versions. - Refresh the release under the lock and preserve read-only update checks. - Cover concurrent activation and version changes before lock acquisition.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a56f11ead6
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Installer-managed deployments currently require rerunning a role installer for every upgrade, and Codex daemon startup does not establish whether the daily CLI and Wrapper can share the same account endpoint. This adds
cc-remote updateand installation-time shared-connection checks, packaged as v4.0.1.Changes
Upgrade behavior
v4.0.0 does not install the new command: users run the verified v4.0.1 installer once, then use
cc-remote updatefor subsequent releases. Updates affect only the selected local role. Source, custom and Docker deployments retain their existing procedures; the independent Claude service is not restarted.Codex checks establish transport readiness, not an already-open terminal's route or shell aliases. An existing private terminal finishes its task and is reopened normally. Codex App attachment remains separately opt-in. DSH, Electron and MCP computer use are outside this release.
Validation
git diff --check.run()initialization is idempotent.codex resume, without endpoint overrides, connected to the isolated account's daemon; temporary processes were cleaned up. No model prompts were sent.