[All Platforms][Onboard][GitHub Issue #6005] nemoclaw onboard wizard has no back-navigation — users cannot correct a previous step without Ctrl+C
Description
The nemoclaw onboard wizard is strictly forward-only. Once a user advances past a step (e.g., Brave Search API setup, provider selection, sandbox name entry), there is no way to go back and change it without pressing Ctrl+C — which users interpret as aborting the entire install rather than navigating back.
Request: add a back-navigation key (b or Backspace) at each wizard prompt that returns the user to the previous step and allows re-entry, without discarding progress made on later steps already completed.
Affects all platforms. Observed and reported across: DGX Station, macOS (Brev/Cursor), and DGX Station installer sub-flows.
Environment
- Device: All Platforms
- OS: All Platforms
- NemoClaw: v0.0.67+
Steps to Reproduce
- Run
nemoclaw onboardon any platform. - Advance past any wizard prompt (e.g., enter a sandbox name or provider selection).
- At the next prompt, attempt to go back and change the previous answer.
- Observe that no back-navigation option exists.
Expected Result
Each wizard prompt offers a visible back-navigation option (e.g., [b] Back). Pressing b or Backspace returns the user to the previous prompt with their prior answer pre-filled, allowing correction without restarting.
Actual Result
No back option exists. The only escape is Ctrl+C, which terminates the wizard entirely. Users who mistype a sandbox name or select the wrong provider must re-run the full onboard flow.
✨ Related open issues:
Current-main design audit at 70d7d287:
The request should not be implemented as arbitrary backward FSM edges. The coarse onboarding graph in machine/transitions.ts is intentionally forward-only except for inference -> provider_selection retry, while prompt handling, provider registration, gateway work, checkpoint writes, and sandbox materialization are currently interleaved. Rewinding that graph after effects have started would create stale checkpoints and partial rollback semantics.
A safe design is a two-boundary wizard:
- Draft intent collection (reversible): collect secret-free choices in a typed draft graph before external mutation. Every prompt returns
answer | back | exit; do not overload ordinary strings. - Review/commit boundary: show a summary with an explicit “Edit previous choice” menu, validate the complete dependency graph, then atomically project the accepted intent into the onboarding context/session.
- Materialization (forward-only): provider/gateway mutation, downloads, sandbox create/recreate, policy application, and finalization remain non-rewindable. Corrections after this boundary use existing repair/rebuild/config commands rather than a fictional rollback.
Dependency invalidation must be explicit. Preserve later answers only when still compatible; otherwise mark them unset and re-prompt. At minimum:
- agent change invalidates provider/model compatibility, messaging availability, tool disclosure, and policy choices;
- provider/endpoint/auth change invalidates model validation, credential binding, route proof, and derived API family;
- sandbox-name change invalidates live identity/reuse decisions;
- messaging or web-search changes invalidate the compiled policy/create plan;
- GPU/resource changes invalidate image/create planning.
The repository already has useful pieces: getNavigationChoice and BACK_TO_SELECTION cover selected provider/model/credential subflows, and the versioned checkpoint represents several secret-free sandbox choices. They are not yet a general navigation contract. Also, Backspace is already text editing in the readline-based prompts; use visible b/back or a real TUI key-event layer, not both under one name.
Acceptance evidence should include:
- a prompt-transition table defining every legal back edge and invalidated field set;
- unit tests for
answer/back/exitwithoutprocess.exitinside prompt helpers; - table-driven dependency-invalidation tests;
- proof that no gateway/provider/Docker/filesystem mutation occurs before the review/commit boundary;
- resume tests for a partially collected draft, with no raw credential persisted;
- PTY tests showing defaults are prefilled,
backreturns to the correct prompt, and incompatible later answers are re-prompted; - a post-boundary test proving navigation is refused with a clear repair command rather than attempting rollback.
This narrows the unresolved product decision: should v0.0.89 deliver back-navigation only inside the pre-materialization intent wizard, or also fund transactional compensation for already-applied effects? The latter is a separate recovery project wearing a small UX hat.
Closing as not planned for now. PR #9037 already adds a review screen where users can change the provider/model or sandbox name before selecting Apply configuration. After configuration begins applying, onboarding remains forward-only by design because those steps can make changes that cannot be safely reversed.