Repository navigation
feat(onboarding): leave tuning and gateway defaults unasked - #13693
Merged
Merged
Conversation
The no-template `nemoclaw onboard` journey asked 19 questions. Seven were optional OpenClaw tuning settings and two were the managed gateway's endpoint and network CIDR, all of which have working defaults. `omit` guidance now means "do not prompt": it keeps a valid supplied value, leaves an absent optional value unset, and still asks an absent required or invalid value. It previously rejected supplied and required fields, so it could not be applied to user templates. `JourneyResolution::kept` reports the template values an omission kept, and review lists them under "From your template". Onboarding owns its built-in defaults in the crate instead of reusing the express example, suggests the name `openclaw`, and omits the active adapter's settings and the gateway endpoint and CIDR. `channel_config`, the engine socket, the image, and the network tier are still asked.
Contributor
This was referenced Oct 24, 2026
Closed
Resolve the conflicts with #13705, which keyed sandboxes by name: - journey_definition.rs keeps v1's sandbox_path() in place of the fixed HARNESS path, and this branch's removal of the refusal to omit a supplied setting. - journey_resolution.rs keeps this branch's assertion that an omitted supplied endpoint is kept. Follow #13703 and #13705 in this branch's additions: defaults.yaml keys nvidia-prod and assistant, and the new tests use keyed sandbox and provider paths. Signed-off-by: Carlos Villela <[email protected]>
kaofelix
added a commit
that referenced
this pull request
Oct 26, 2026
Stacked on #13693. Retarget this pull request to `v1` after that one merges. ## Failure When no engine answered for the chosen runtime (for example Docker is not running), the engine socket question offered no suggestion and no cause. The cause existed, but only in the target block at the bottom of review. Review itself opened at the top with the YAML and an "Enter save" footer. The target status and at most two reasons sat below the fold, so a user could save without seeing them. ## Decision - **Engine question.** `JourneyQuestion::note()` carries the reason. The resolver sets it in the pass that clears the suggestion, so the question and the review assessment share one string. The TUI shows it in the warning colour. - **Review order.** Target status, every reason, credential notes, the YAML, then "From your template". The review scrolls as one document and shows a scrollbar when it exceeds the screen. - **Blocked saving.** A conflict, or an unverified target the journey requires, shows in a new error colour. Review omits the save line and `Enter save` from the footer, and Enter does nothing. An unverified target shows as a warning and still saves. Authoring readiness is unchanged. - **Footer.** The "Cannot save yet" message is removed. The review already lists the reasons. - **Scrolling.** It stops at the last line. Going back and returning opens the review at the top. - **README.** It said review reads the target on entry. The read runs when you press Enter on the review or use Ctrl+D, so the text now says that. - **Copy.** Screen text is unchanged. The existing strings are reused, including the reason on the engine question. ## Validation I ran `nemoclaw onboard` from this branch in tmux on macOS with Docker Desktop running, and read the colours from the terminal's escape codes. - **Docker running.** The engine question suggests Docker Desktop's socket and shows no reason. - **No engine answering.** With `DOCKER_HOST` pointing at a missing socket, the engine question shows the reason and no suggestion at 80×24. Review at 80×24 and 140 columns opens with the unverified status and all four reasons in the warning colour. - **Conflict.** The real binary only reports one for Podman, so I ran a fake rootless Podman engine on a Unix socket that does not report pasta networking. Review showed `Target: Conflict` in the error colour with its reasons, no save line, and no save in the footer. Enter did nothing. - **Scroll.** The view stops at the last line with the thumb at the bottom. After scrolling, going back and returning opened at the top. - **Tests.** Each new behavior was written first and observed failing for its stated reason before the change. The TUI tests render the review at 72, 80, and 140 columns. - **Checks.** `cargo ci` passed against #13693's branch, including bundle and lifecycle, and the documentation check reported no errors. Gaps: - **Docker Desktop stopped.** I did not stop it; `DOCKER_HOST` made the same engine question appear. - **Colours.** I confirmed the values, not how they read in each terminal theme. - **Long reasons.** The real reasons are at most about 94 characters. Wrapping of much longer text is not exercised. - **What review shows.** Review opens with what earlier reads found. The read on Enter then saves in the same keypress, so a user can save without seeing what that read found, unless it finds a conflict. This pull request documents that and does not change it. - **Not run.** `cargo ci live-docker` and `live-kind`, because no image or Kubernetes behavior changed.
This was referenced Oct 26, 2026
cv
pushed a commit
that referenced
this pull request
Oct 28, 2026
…13757) ## Failure For a Fabric schema that requires `api_key` only when `mode` is `remote`, onboarding asked `api_key` first. After omitting it, changing `mode` to `remote` rejected the adapter edit or left the native setting omitted and blocked saving. ## Decision Ask each object's conditional inputs first, including when exact `ask` guidance lists a dependent field earlier. Carry the schema-derived prerequisites through the final question ordering. When an answer makes an omitted adapter, workflow, or model setting required, reopen the question and identify that answer as the cause. Model reopening records belong to the selected route so another route's omission stays intact. Fixes #13694. PRs into v1 do not close issues automatically; this issue can be closed after merge. Prior work: #13693 changed omission guidance and exposed this gap. This fix retains those omission rules. No bundled adapter schema currently uses these conditionals; the regression fixtures exercise the supported schema behavior. ## Validation - Five conditional-settings tests cover controller order, exact guidance, and reopening across adapter, workflow, and model settings. The reported failures were observed before their fixes. - `cargo test --locked -p nemoclaw-authoring -p nemoclaw-onboarding` passed: 299 tests, with 11 existing authoring tests ignored. Route-isolation coverage checks that reopening one model setting leaves another route's omission intact. - `cargo ci` passed: formatting, Clippy, workspace build, 1,660 tests, doctests, schema checks, bundle build, and 156 lifecycle tests. - Independent code review passed after repairing the finding about `ask` ordering. `git diff --check` passed, and the diff contains no secrets or credential values. Live Docker/Kind and other platform checks have not run locally. The change is confined to authoring; no deployment resources or adapter schemas change. Signed-off-by: Deepak Jain <[email protected]> Signed-off-by: Deepak Jain <[email protected]>
cv
added a commit
that referenced
this pull request
Nov 11, 2026
…ms (#14413) The release notes now list every user-visible change on `v1` since the `v0.1.0-rc9` tag, including the breaking ones, and four example pages drop claims that later changes made false. ## Problem `docs/about/release-notes.md` listed three breaking changes and none of the features, fixes, and onboarding changes that reached `v1` after `v0.1.0-rc9`; it didn't name the configuration shapes the parser now rejects or the intent record version `v0.1.0-rc9` writes. Some example claims went stale: - `examples/spark/README.md` said the pinned OpenShell has the Podman TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before OpenShell 0.1.0, and `v1` pins 0.1.7. - `examples/station/README.md` and `examples/gtc-dc/README.md` required exactly one visible GPU on the host; since #13929, `container.gpuDevices` lets a service on a host with more GPUs request one. - `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed that, and the pinned catalog's Deep Agents `reasoning_effort` accepts `none`. - The travel team cited #13313 for the booking key its service doesn't receive, but #13313 closed when `openshell_api` landed. ## Change - `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9", grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a later commit changed an earlier one, the entry describes the current code, and changes added and removed after the tag aren't listed: - Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186, #14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343. - Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912, #13964, #14388, #14390, #14397. - Gateways and Kubernetes: #13909, #13970, #13922 (an existing namespace, refused at plan by #13756, is now bound; cluster-wide reads dropped), #14014, #14169, #13921. - Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135, #13775, #13744, #13701. - Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228, #14233, #14334, #14336. - Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200, #13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813, #14246, and the pins in `versions.json` and `image/fabric/Dockerfile`. - Its breaking changes since the tag: - the intent record moving from 15, which `v0.1.0-rc9` writes, through 16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394); - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705); - a recipe `compatibility.gpu` outside every hardware profile (#13912); - model tuning the adapter doesn't accept (#14111), and Hermes's `max_tokens` losing its default (#14296); - `skills.paths` resolution (#14296); - endpoint and `networkCIDR` validation (#13847, #14081); - the HCL `gateway_values` attribute (#14014), and Kubernetes ownership receipts from before #13922 and #14014. The two earlier items stay, under their own heading. - `examples/spark/README.md` replaces the closed OpenShell#3427 blocker with the Podman and remote-model limits in `docs/resources/limits.md`. - `examples/station/README.md` and `examples/gtc-dc/README.md` require one GPU visible in the model container, and point to `container.gpuDevices` for a host with more. - `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the NeMo-Fabric#433 limitation, and the travel team's booking-key statements link #14417 instead of #13313. Not listed, because both changes landed after the tag: Deep Agents Code (#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the "Creating infrastructure state" progress step (#14169, #14248). Checked and left unchanged: the root `README.md`, `crates/nemoclaw-onboarding/README.md`, `crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the other example READMEs, and every example YAML header comment. The GPU autoscaling README and `load.sh` read the JSON fields `OperationResult` serializes, and ai-openshell/openshell#4287 is fixed only after the pinned 0.1.7. The two pre-tag release-note items still match the schema and SDK. `docs/README.md` is left to #14412, which retires the stale field reference snapshot it describes. Not verified: whether Hermes sends the booking key's placeholder to MCP servers; #14417 tracks the live check. ## Beyond CI Each relative link and anchor in the changed files resolves to an existing file and heading.
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.
Failure
nemoclaw onboardwithout a template (managed Docker gateway, OpenClaw, NVIDIA Endpoints) asked 19 questions. Nine had working defaults:agent_id, the four timeouts,openclaw_command, andport_range;endpointandnetworkCIDR.Two causes kept them in the journey:
ActiveAdapterSettingsscope, and the resolver asks any absent optional adapter setting unless that scope is omitted.omitcouldn't remove these questions because guidance rejected anyomitfor a supplied or required field. Many templates supply the gateway endpoint, and an external gateway requires it.Decision
omitmeans "do not prompt".JourneyResolution::keptlists the template values an omission kept. It reports a value only while it still equals the template's and no answer replaced it. Review shows these under From your template, so a template value that replaced a default stays visible.crates/nemoclaw-onboarding/src/defaults.yaml, with the nameopenclaw.examples/onboarding/openclaw.yamlstays as the express example.channel_config(asked through an exactask), the engine socket, the sandbox image, and the network tier. Those are separate work items.channel_confignow comes right after the inference preset. Exactaskfields are ordered before the scope-discovered API and model questions.Validation
omitbehavior: authoring tests failed under the old rules and now pass. They cover:keptexcluding a value the user answered.startup_timeout_secondsandnetworkCIDRare kept, not asked, and listed under "From your template". It also checks that the built-in defaults show no such section.cargo cipassed, including bundle and lifecycle. The documentation check reported no errors.nemoclaw onboardin a terminal on macOS with Docker Desktop running.Gaps:
channel_configstill leaves an emptyharness.settings: {}in the saved YAML. That predates this change.