Repository navigation
Remove the ChatGPT extension route, the vendor browser service and cua login (#79) - #152
Merged
Merged
Conversation
…ion and cua login (#79) The cua extension and host are the only Chrome route: cua chrome register|unregister lose --vendor and the vendor registration code; cua install no longer places OpenAI's Chrome host (pins lose chromePlugin); cua login, doctor's codex.login, chrome.host.config and browser.service rows go. The browser surface always runs cua's own service on either REPL host: CUA_BROWSER_SERVICE and CUA_BROWSER_VENDOR_SERVICE are gone, and every launch passes BROWSER_USE_BACKEND_PATHS, so no service scans OpenAI's socket directory. A home registered on the removed route, or not at all, gets chromeMigration (src/chrome/route.mjs): doctor's new chrome.route row and a note from cua profiles and cua chrome register naming cua chrome register, the profiles to bind again and the exact cleanup of the old manifests. CODEX_CLI_PATH, CodexCLI.app and CODEX_HOME stay for #115.
…est-only oracle The ChatGPT route's acceptance variants (scripts/accept/chrome-all*, accept-chrome --route/--all/--c6-slots, the probe's login-bound --with-tabs) are removed; the cua-route runners and the Linux runners need cua's registration. The parity lanes keep comparing against OpenAI's service through test/browser-parity/vendor-oracle.mjs, which swaps the browser trusted service for the pinned runtime's module on the vendor REPL host (serve-production.mjs, and serve-vendor-oracle.mjs for the capability host); the harness keeps its CUA_BROWSER_SERVICE lane name, which the committed evidence records. The REPL-host selection harness follows the collapsed rules.
…s off the ChatGPT route README names one route and adds the migration subsection; Decision Log entries (2026-10-17) in the own-extension, standalone, own-browser-service and own-REPL-host specs record the owner's ruling (internal distribution, so the Store listing is no longer a precondition) and what was removed; CLAUDE.md, the onboarding note, the cua-remote skill and the tech-debt tracker follow.
Codex Review SummaryThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…deleted while a manifest is unresolved (#79 review)
… no home defaults a listing to it (#79) Before #79 a home with no Chrome registration was the ChatGPT route, so a browser-only connection or profile listing chose the vendor REPL host (vendor_browser_route), which the fake release fakes. Without that reason, a Node 24 or later runs cua's own host there. The serve-cli listing and bind tests, serve-lazy's profiles_list test (whose recorded handshake is the vendor host's) and linux-sandbox-refusal's disabled-connection listing now set CUA_REPL_HOST=vendor. serve-cli also stops any server a failed test left running when the file ends, so a failure no longer holds the run open until the job's timeout.
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.
Removes the ChatGPT ("OpenAI") Chrome extension route now, per the owner's ruling of 2026-10-17: distribution stays internal, so the Chrome Web Store listing (#78) is no longer a precondition. No production path reaches the vendor extension or its host,
@oai/browser-desktop,codex loginor anything that startscodex app-server.Removed
cua chrome register --vendor/unregister --vendorand the whole vendor registration (com.openai.codexextension manifests, its record writes and backups).cua install's placement of OpenAI's Chrome host in a release (the chrome-plugin component and its config naming the codex CLI and CODEX_HOME); the pins losechromePlugin.cua login(src/runtime/login.mjs) and doctor'scodex.loginrow; doctor'schrome.host.config,browser.serviceand OpenAI-extension rows.CUA_BROWSER_SERVICE,CUA_BROWSER_VENDOR_SERVICE, thechatgpt_extension_routeandvendor_browser_routereasons, and the browser-relatedrepl_host_refusedcases. The browser surface always runs cua's own service, on either REPL host.BROWSER_USE_BACKEND_PATHS, empty when there are no sockets.scripts/accept/chrome-all*.mjsand the ChatGPT-route options ofaccept-chrome(--route,--all,--c6-slots), plus the probe's login-bound--with-tabsmode.Stays for #115
CODEX_CLI_PATHand the CodexCLI.app relocation (still node_repl's sandbox launcher) andCODEX_HOME. The pin'sbrowserVendorServicelayout key stays, read only by the test-only oracle below.How a vendor-route home migrates
A home's route is
cuawhilechrome/cua-registration.jsonexists. The old record (chrome/registration.json) is only read, bychromeMigrationinsrc/chrome/route.mjs, which feeds doctor's newchrome.routerow, anote:on stderr from everycua profilescommand, and anote:(jsonleftover) fromcua chrome register:chrome.routechrome_not_registeredchatgpt_route_removedchatgpt_route_leftoverrebind_requiredThe message names the steps in order, with this home's paths:
cua chrome register, install or load the cua extension,cua profiles bind <key>for each profile bound on the ChatGPT extension (those readrebind_required), then the cleanup of each com.openai.codexextension manifest the old record lists that still names a host in the home (cpthe backup back where cua had replaced the desktop app's, elserm), and finallyrm -rfthe record and its backups. Bindings withoutroute: 'cua'stay readable; any otherroutevalue is invalid.Test-only vendor oracle
The browser-route benchmark and the repl-parity browser lanes keep comparing against OpenAI's service through
test/browser-parity/vendor-oracle.mjs. On the vendor REPL host it swaps the browser trusted service for the pinned runtime's module; it is wired intotest/repl-parity/serve-production.mjsand the newtest/browser-parity/serve-vendor-oracle.mjs. The harness keeps the lane nameCUA_BROWSER_SERVICE, which committed evidence records. Production never reads it.Tests
test/chrome-migration.test.mjs: all four codes, mtime ordering, rebind naming, and the cleanup steps (rm, cp, a missing backup, a gone or foreign or unparsable or unreadable manifest).test/doctor-cua-route.test.mjs: thechrome.routerow in each state, and the removed rows are absent.test/chrome-cli.test.mjsandtest/chrome-cua-cli.test.mjs:--vendoris a usage error,cua loginis unknown, the profile commands print the note, andchrome register --jsoncarriesleftoverandrebindRequired.test/runtime-launch.test.mjs: the collapsed selection on homes with no record, the old record, cua's record or both. There is no browser service variable in the launch,src/browser-serviceis trusted on both hosts,BROWSER_USE_BACKEND_PATHSis always set, an ambientCUA_BROWSER_SERVICEis ignored, and the REPL host defaults arebrowser_onlyandmacos_native_peer_requires_vendor.test/services-browser.test.mjs: the wrapper always delegates to cua's service.test/browser-service/backend.test.mjs: an unsetBROWSER_USE_BACKEND_PATHSmeans none.test/browser-parity/vendor-oracle.test.mjscovers the oracle.Locally I ran every touched test file (about 2,000 tests in small batches,
--test-concurrency=1). They pass apart from one failure intest/deploy-cloud-vm.test.mjs("create-hetzner.sh … space", a broken pipe in itshcloudstub), which also fails on main. I also ranclaude plugin validate ., which passed with warnings. The full suite runs here in CI.Docs: README (one route, plus a "Moving a home off the ChatGPT extension route (#79)" subsection); dated Decision Log entries (2026-10-17) in the own-chrome-extension, standalone, own-browser-service and own-REPL-host specs; CLAUDE.md; onboarding; the cua-remote skill; the tech-debt tracker. Plugin 0.12.1 → 0.13.0.
Closes #79