Skip to content

Plan variable-less selection inputs without collapsing pipes - #13645

Draft
pierremtb wants to merge 8 commits into
codex/preserve-edit-selection-argumentsfrom
codex/selection-input-planning
Draft

Plan variable-less selection inputs without collapsing pipes#13645
pierremtb wants to merge 8 commits into
codex/preserve-edit-selection-argumentsfrom
codex/selection-input-planning

Conversation

@pierremtb

@pierremtb pierremtb commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Stacked on #13662.

Introduces a shared selection-input plan that keeps each selected source pipe distinct until the codemod decides whether it can stay inline or must be materialized.

Migrates Translate, Rotate, Scale, Appearance, Mirror 3D, Hide, and Delete to the shared planner. A single variable-less input still stays in its source pipe; multiple source pipes are assigned stable names so every selected body remains represented.

Edit calls still reconstruct selections for dialogs and future true selection edits, but the planner returns before materializing or rerouting those inputs. This layer changes creation behavior only.

This is intentionally the narrow foundation for the stack. Clone, Boolean, Sweep, and plane selection migrations are left to the next PR so reviewers can evaluate the representation and materialization rules before the broader adoption.

Supersedes the overlapping one-off fixes in #13408 and #13417.

Fixes #13407.
Fixes #13416.
Fixes #13418.

Risk: converting multiple bare source expressions into declarations changes formatting and introduces generated names. Comments are carried onto the replacement declarations.

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modeling-app Ready Ready Preview Sep 5, 2026 11:21am UTC

Request Review

@pierremtb
pierremtb force-pushed the codex/selection-input-planning branch from f210ca5 to b7434a9 Compare September 4, 2026 20:08
@pierremtb
pierremtb changed the base branch from pierremtb/codex-preserve-codemod-selections to codex/skip-edit-selection-reconstruction September 4, 2026 20:09
@pierremtb
pierremtb force-pushed the codex/selection-input-planning branch from b7434a9 to 38f8f03 Compare September 4, 2026 21:31
@pierremtb
pierremtb changed the base branch from codex/skip-edit-selection-reconstruction to codex/preserve-edit-selection-arguments September 4, 2026 21:31
@pierremtb
pierremtb force-pushed the codex/selection-input-planning branch 2 times, most recently from 757a1eb to e7a7d53 Compare September 5, 2026 10:39
@pierremtb
pierremtb force-pushed the codex/preserve-edit-selection-arguments branch from d91c367 to ca465c3 Compare September 5, 2026 11:03
@pierremtb
pierremtb force-pushed the codex/selection-input-planning branch from e7a7d53 to 5d3b287 Compare September 5, 2026 11:03
@pierremtb
pierremtb force-pushed the codex/preserve-edit-selection-arguments branch from ca465c3 to 81b0ca8 Compare September 5, 2026 11:06
@pierremtb
pierremtb force-pushed the codex/selection-input-planning branch from 5d3b287 to e67bca2 Compare September 5, 2026 11:06
@pierremtb
pierremtb force-pushed the codex/preserve-edit-selection-arguments branch from 81b0ca8 to 87bd927 Compare September 5, 2026 11:12
@pierremtb
pierremtb force-pushed the codex/selection-input-planning branch from e67bca2 to c5b979a Compare September 5, 2026 11:12
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.

2 participants