[codex] fix 26.727 shell selector without broad target fallback - #325
Open
alucard210319 wants to merge 2 commits into
Open
[codex] fix 26.727 shell selector without broad target fallback#325alucard210319 wants to merge 2 commits into
alucard210319 wants to merge 2 commits into
Conversation
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
Root cause
The signed macOS Codex 26.727.40816 bundle no longer gives the main surface the literal main-surface class. It uses a CSS-module class and exposes data-app-shell-main-surface="default" instead. The v1.5.9 probe therefore fails before injection even though the sidebar and other Codex identity anchors are still present.
This patch keeps one composable selector:
Using a single selector also preserves existing CSS :has() composition. The target identity boundary remains shell plus native sidebar; this intentionally does not add a generic main/input or text-branding fallback, which could attach to an auxiliary app renderer.
Validation
The local full macOS runner reaches an unrelated native Swift build and stops because this machine has a Swift 6.3.2 SDK with a Swift 6.3.3 compiler. The isolated Codex launch also exited at the single-instance boundary before the main UI loaded, so the upstream macOS CI and a maintainer smoke test remain authoritative for native/full-UI verification.
This is a focused alternative for #322 only; it does not include the #318 or #320 changes currently grouped in #324.
Fixes #322