Repository navigation
Configure boolean and choice program parameters in the Studio HUD - #47
Merged
Merged
Conversation
…HUD (B.02)
The Programs view of the Parametric HUD treated every parameter as a number.
A text choice was read-only ("configure it with an agent"), and a boolean or
numeric choice was stepped as a free number that the tool then rejected.
Rows now follow inspect's parameter_kinds:
- a boolean shows On/Off; the value box switches it, - turns it off, + on;
- a numeric or text choice shows its position and the declared list; -/+ move
through the declared order without wrapping and the value box opens the list;
- numbers keep typed entry, stepping, rounding and clamping.
Staged values are stored as configure sends them (a number, or the text of a
text choice), so one Apply publishes mixed kinds as one candidate. The choice
list shares the typed editor's check: a choice picked while another writer
changed the model is not staged. A staged choice that updated source no longer
lists is marked "not a declared choice" and Apply rejects with PROGRAM_VALUES.
studio-program-hud-ui installs a second program with a text choice, a numeric
choice and a boolean, stages all three from their controls and publishes them
as one revision (generated objects and the plate's exact 7200 mm3 volume match
the choices). It also covers stepping past the last choice, unstaging by
returning to the committed value, the concurrent-configure race and the
dropped choice, with the document unchanged on rejection. Five new captures
were inspected at 1280x800 and 1100x700.
Local: studio-program-hud-ui, -parametric-hud-ui, -design-variants-ui,
-parametric-graph-ui, -parametric-role-ui, -parametric-authoring-ui and
-team-blockers-ui pass, with release-evidence and release-metadata. Hosted CI
runs no Studio UI checks. The Design variants window still stages numbers
only. release.json is unchanged: this is not a new distributable iteration.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
CenturyMesh
enabled auto-merge
November 17, 2026 22:53
The branch now sits on 078B after merging main, and the controls are not part of an identified iteration yet. Co-Authored-By: Claude Fable 5.2 <[email protected]>
….03, A.05) The Windows CI jobs stopped at "Prepare pinned local semantic model on Windows": the ONNX Runtime 1.23.2 release archive, and the upstream repository page itself, return HTTP 404 from GitHub. The script had no second source, so every pull request failed before building anything. prepare-memory-embeddings.ps1 now tries the pinned release archive first and, only when it cannot be downloaded, the official Microsoft.ML.OnnxRuntime 1.23.2 NuGet package, pinned by SHA-256. A package whose digest differs still fails; only a failed download moves to the next source. Downloads are written to a .partial name and renamed, so an interrupted transfer is not mistaken for the pinned package on the next run. The license and third-party notices are now pinned per file, as the two runtime libraries already were, so the prepared assets do not depend on which package was reachable. Evidence, Windows PowerShell 5.1, local: - the NuGet package's SHA-512 equals the hash in NuGet's catalog entry; - its win-x64 onnxruntime.dll, onnxruntime_providers_shared.dll, LICENSE and ThirdPartyNotices.txt are byte-identical to the entries of a cached copy of the release archive whose SHA-256 equals the existing pin; - empty cache with the real network: the release archive returned 404, the NuGet package was used and manifest.json is byte-identical to the one prepared from the release archive; - cached release archive: used without any download, same manifest.json; - both sources unreachable (a copy of the script with dead URLs): explicit failure naming both, exit code 1, no partial or runtime files left; - dev-build-069d, release-metadata and release-evidence pass. Not run locally: PowerShell 7, which hosted CI uses. third_party/onnxruntime/ SOURCE.json and THIRD_PARTY_NOTICES.md record the alternate source. No runtime byte, document format or release identity changes. Co-Authored-By: Claude Fable 5.2 <[email protected]>
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.
Problem and resulting behavior
In Studio, the Programs view of the Parametric HUD treated every program parameter as a number. A text choice was read-only ("Not a number / configure it with an agent"), and a boolean or numeric choice was stepped as a free number, so + could stage a value the tool then rejected.
Rows now follow the parameter kind reported by
parametric_program{action:"inspect"}:One Apply publishes mixed kinds as a single configure candidate.
Scope and contracts
src/view/program_hud.inland its self-test changed; the CI unblock below changes one build script.not a declared choice; Apply rejects withPROGRAM_VALUESand the document and revision are unchanged.release.jsonis unchanged; this is not a new distributable iteration.Verification
Local, MSVC Release with OCCT and
-DARK_TEST_STUDIO_LIVE=ON:studio-program-hud-uipasses. Its new section installs a second program with a text choice, a numeric choice and a boolean, stages all three from their controls and publishes them as one revision. Generated objects match the choices and the plate's native volume is 7200 mm3, as expected.PROGRAM_VALUES, document unchanged).studio-parametric-hud-ui,studio-design-variants-ui,studio-parametric-graph-ui,studio-parametric-role-ui,studio-parametric-authoring-uiandstudio-team-blockers-uipass.release-evidenceandrelease-metadatapass.-choices-staged,-choice-dialog,-choices-applied,-choice-dropped(1280x800) and-choices-narrow(1100x700).Not run: the full native and Studio suites, and any live provider. Hosted CI runs no Studio UI checks, so the UI evidence above is local only.
CI unblock in this pull request
The Windows jobs failed before building anything: the pinned ONNX Runtime 1.23.2 release archive, and the upstream repository page, return HTTP 404 from GitHub.
scripts/prepare-memory-embeddings.ps1now falls back to the officialMicrosoft.ML.OnnxRuntime1.23.2 NuGet package, pinned by SHA-256, only when the release archive cannot be downloaded.manifest.jsonis byte-identical to the one prepared from the release archive.manifest.json.dev-build-069d,release-metadataandrelease-evidencepass.Review checklist
🤖 Generated with Claude Code