Skip to content

fix(studio): adapt Composer across Codex 26.715 builds - #6

Merged
Wangnov merged 4 commits into
mainfrom
fix/codex-26-715-31925-compat
Jul 18, 2026
Merged

fix(studio): adapt Composer across Codex 26.715 builds#6
Wangnov merged 4 commits into
mainfrom
fix/codex-26-715-31925-compat

Conversation

@Wangnov

@Wangnov Wangnov commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • add audited compatibility profiles for Codex 26.715.31251 (build 5538) and 26.715.31925 (build 5551)
  • detect the live primary Composer and its single-line/two-layer/three-layer layout instead of assuming one nesting shape
  • keep only the finite-height editor scrollable, and clear stale roles when React reuses nodes
  • document the per-version audit policy and add executable regressions

Root cause

Codex 26.715.31925 can omit the intermediate Composer lane and both audited builds can reuse the same nodes while switching between single-line and multiline layouts. The previous validation assumed one fixed hierarchy, while theme-local overflow rules could also make the decorated shell scroll. PR comment cards also reuse the surface class and could be mistaken for the primary Composer.

Validation

  • npm run check --prefix studio
  • npm test --prefix studio (28 passed)
  • packed all 27 skins through the delivery gate
  • real app injection and verification on 26.715.31925 / build 5551
  • audited official app fixtures for 26.715.31251 / build 5538 and 26.715.31925 / build 5551
  • codex review --base origin/main (no reproducible functional defects found)

@Wangnov
Wangnov marked this pull request as ready for review July 18, 2026 10:39

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d765f86525

ℹ️ 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".

Comment thread studio/src/composer-overflow.mjs Outdated
const overflowY = nativeOverflow.has(node)
? nativeOverflow.get(node)
: readStyle(node).overflowY;
if (/^(auto|scroll)$/.test(overflowY)) roles.set(node, "lane");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Annotate every intermediate Composer lane

For a three-layer Composer where the intermediate lane is already visible or has been clipped with hidden/clip by a skin rule, this condition never assigns the lane role because it only matches auto|scroll. That leaves data-cts-composer-overflow="lane" absent, so audited 26.715.31251 scrolling layouts can fail lanePolicyValid, and hidden/clip lanes are not reset to visible by the hardening CSS. Mark the intermediate ancestors, or at least non-visible ones, as lanes once an editor scroll root is found.

Useful? React with 👍 / 👎.

@Wangnov
Wangnov merged commit f408dc1 into main Jul 18, 2026
2 checks passed
@Wangnov
Wangnov deleted the fix/codex-26-715-31925-compat branch July 18, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant