Skip to content

Copy the multi-head build prompt instead of single-head swaps before the first build - #208

Merged
vycdev merged 1 commit into
developfrom
fix/multi-head-copy-pending
Nov 19, 2026
Merged

vycdev merged 1 commit into
developfrom
fix/multi-head-copy-pending

Conversation

@vycdev

@vycdev vycdev commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

From the v4.3.0 release review: with Multi-head turned on before the first build, Print Instructions shows "Click Build 3D Model to generate the multi-head model and Head Schedule", but Copy put the single-head swap plan on the clipboard. That plan is not what will print.

Copy now uses the same rule as the panel. ThreeDControls passes its existing instructionMultiHeadMode flag to useSwapPlan. When that flag is on and no Head Schedule exists, the copied text contains the build prompt (with its markup removed) instead of swaps. A real fallback build has multiHeadMode: false in its snapshot, so it still copies its single-head plan, which is what will print. The note is folded into the existing Multi-head changelog bullet.

Proof: a new step in the multi-head e2e smoke spec clicks Copy before the build and again after the fallback (both worker-error and no-layout). It fails without the fix (the copied text was the single-head plan) and passes with it. The unit test now checks the pending copy and panel in all 12 languages; it also fails without the fix. npm test (0 failures), lint, build, and every test:e2e:all suite pass. Three area suites hit port collisions with another checkout and one kromacut-flow smoke case failed on a switch toggle; all four passed on rerun.

Reviewed with sol-loop: 1 round with gpt-6.2-sol. Sol verdict: approved

Council review

Rounds: 1

Delegate Round 1
Claude Opus 5.5 9/10
GPT-6.2 Sol 9/10

Both approved. Only optional nits came back; they were declined to keep scope tight (more locale assertions in the unit test, a docs line for the pending Copy state).

Created with Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

With Multi-head on and no Head Schedule built yet, the panel asks the user to
build the model, but Copy still produced the single-head swap plan. Copy now
gives the same prompt. A single-head fallback build still copies its swaps.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vycdev
vycdev merged commit 2cda430 into develop Nov 19, 2026
11 checks passed
vycdev added a commit that referenced this pull request Nov 20, 2026
Merge the four Open in Slicer bullets into one entry for the shipped
flow, fold Multi-head filament requirements into Multi-head printing,
and move the decode-once image work into its own Changed entry. Move
touch-up history fixes that predate v4.3 into Fixed, add the missing
diagnostics folder fix, and reduce the cats benchmark entry to one
Fixed line. Fold in the notes from PRs merged since (#203, #205, #206,
#208, #209, #210, #212, #213) and trim test-only and maintenance
details that do not help users.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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