Repository navigation
Labels
VDRLinked to VDR findingarea: cliCommand line interface, flags, terminal UX, or outputarea: onboardingOnboarding FSM, provider setup, sandbox launch, or first-run flowplatform: dgx-sparkAffects DGX Spark hardware or workflows
Description
Investigation summary
- Interactive onboarding can complete sandbox-name, web-search, and messaging setup, then be interrupted at the resource-profile prompt.
nemoclaw onboard --resumeskips inference setup but repeats the completed sandbox-name, web-search, and messaging prompts, including validated credentials.- The inference API key is reusable because that provider is registered with OpenShell earlier; web-search and messaging providers are not registered until sandbox creation.
- Reproduced on macOS/Apple M4 with Colima and OpenShell 0.0.72; the affected onboarding state flow is platform-independent and tracks the DGX Spark VDR finding in VDR 5 checklist: DGX Station & DGX Spark golden path #6743.
Description
Validated web-search and messaging setup is lost when onboarding stops after those prompts but before sandbox creation. Resume should continue from the first unfinished prompt without writing raw credentials to ~/.nemoclaw/onboard-session.json.
Reproduction steps
- Run
nemoclaw onboard --freshand select OpenClaw plus an inference provider. - Enter a sandbox name.
- Enable Brave Search and provide a valid API key.
- Select and configure a messaging channel.
- Interrupt onboarding when the resource-profile prompt appears.
- Run
nemoclaw onboard --resume.
Actual result
Resume repeats the sandbox-name, web-search, and messaging prompts and asks for their credentials again. Only inference setup is reused.
Expected result
Resume reuses every completed choice and validated credential-backed configuration and prompts only for the unfinished resource-profile choice.
Acceptance criteria
- Completed sandbox-name, web-search, messaging, and resource-profile choices are checkpointed as non-secret state.
- A validated web-search credential is registered with OpenShell after its choice is checkpointed and before messaging setup.
- Validated messaging credentials are registered with OpenShell after messaging is checkpointed and before resource selection.
- Session state stores only non-secret provider receipts; it never stores raw credentials.
- Resume skips credential prompts only when a same-session receipt matches the exact live OpenShell provider name, type, and credential key.
- A missing provider is created and an exact existing provider is updated with the validated credential; a mismatched provider is left unchanged and receives no receipt.
- Automated coverage interrupts onboarding after completed setup, verifies resume begins at the first incomplete choice, and verifies secrets remain outside session state and command arguments.
Related issues
- Parent VDR checklist: VDR 5 checklist: DGX Station & DGX Spark golden path #6743
- [DGX Spark][Onboard] Interrupted non-interactive onboard cannot resume — re-run with same env vars creates a second sandbox #5961 covers interrupted non-interactive onboarding, not this repeated-prompt path.
- [DGX Spark][Onboard] nemoclaw onboard exits with InvalidOnboardMachineTransitionError after Ollama sandbox creation succeeds #6179 covers an unrelated onboarding state-transition error.
Metadata
Metadata
Assignees
Labels
VDRLinked to VDR findingarea: cliCommand line interface, flags, terminal UX, or outputarea: onboardingOnboarding FSM, provider setup, sandbox launch, or first-run flowplatform: dgx-sparkAffects DGX Spark hardware or workflows
Activity
fix(onboard): avoid repeating completed prompts on resume (NVIDIA#6934)