Skip to content

docs: explain onboard fresh flag#4433

Merged
cv merged 3 commits into
NVIDIA:mainfrom
omribz156:codex/onboard-fresh-doc
May 30, 2026
Merged

docs: explain onboard fresh flag#4433
cv merged 3 commits into
NVIDIA:mainfrom
omribz156:codex/onboard-fresh-doc

Conversation

@omribz156

@omribz156 omribz156 commented May 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Add the missing --fresh explanation to the nemoclaw onboard reference docs so the synopsis flag has matching prose.

Related Issue

Fixes #4418

Changes

  • Document that --fresh restarts onboarding from scratch and discards saved onboarding state instead of resuming it.

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Verification

  • npx prek run --all-files passes
  • npm test passes
  • Tests added or updated for new or changed behavior
  • No secrets, API keys, or credentials committed
  • Docs updated for user-facing behavior changes
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Additional local checks:

  • git diff --check
  • rg -n -- "Use --fresh|--fresh|--resume" docs/reference/commands.mdx

Not run: full docs build/test suite; this is a one-line prose-only docs update.

This was implemented with Codex assistance, with the patch kept focused and manually reviewed.


Signed-off-by: Omri SirComp omribz156@gmail.com

Summary by CodeRabbit

  • Documentation
    • Clarified CLI reference: the --fresh flag for the nemoclaw onboard command discards any saved onboarding session state and restarts the interactive onboarding wizard from the beginning after an interrupted run, ensuring a clean onboarding session when used.

Review Change Stack

Signed-off-by: Omri SirComp <omribz156@gmail.com>
@copy-pr-bot

copy-pr-bot Bot commented May 28, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: db272a51-421b-40e2-895e-c1ff0dd66ada

📥 Commits

Reviewing files that changed from the base of the PR and between c4c00c4 and 2467df5.

📒 Files selected for processing (1)
  • docs/reference/commands.mdx
✅ Files skipped from review due to trivial changes (1)
  • docs/reference/commands.mdx

📝 Walkthrough

Walkthrough

This PR adds a documentation note to the nemoclaw onboard CLI reference in commands.mdx explaining that the --fresh flag discards any saved onboarding session state and restarts the interactive wizard from the beginning (not resuming).

Changes

CLI Documentation

Layer / File(s) Summary
nemoclaw onboard --fresh flag documentation
docs/reference/commands.mdx
Documentation added explaining the --fresh flag behavior: it ignores saved onboarding session state and restarts the wizard from the beginning, distinct from --resume.

Sequence Diagram(s)

sequenceDiagram
  participant Reader
  participant commands_mdx as docs/reference/commands.mdx
  participant CLIHelp as "nemoclaw onboard --help"
  Reader->>commands_mdx: reads `--fresh` explanation
  CLIHelp->>Reader: provides same `--fresh` synopsis
  commands_mdx->>Reader: clarifies `--fresh` restarts wizard (not resume)
Loading

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • NVIDIA/NemoClaw#4451: Updates docs/reference/commands.mdx for nemoclaw onboard --fresh behavior and related wizard/resume documentation.

Poem

🐰 A --fresh note hops into view,
It clears the past and starts anew.
No resumed traces left to see,
The onboarding wizard runs fresh and free.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: explain onboard fresh flag' clearly and concisely describes the main change: adding documentation explanation for the --fresh flag in the onboard command reference.
Linked Issues check ✅ Passed The PR fully addresses issue #4418 by adding explanatory prose for the --fresh flag under the nemoclaw onboard section, clarifying that it restarts onboarding from scratch and discards saved state.
Out of Scope Changes check ✅ Passed All changes are scoped to the stated objective: adding documentation for the --fresh flag with no additional modifications or feature changes introduced.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
docs/reference/commands.mdx (1)

74-74: ⚡ Quick win

Split the two sentences into separate source lines.

Line 74 has two sentences on the same line; keep one sentence per line for docs diffs/readability.

As per coding guidelines, "One sentence per line in source (makes diffs readable). Flag paragraphs where multiple sentences appear on the same line."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/reference/commands.mdx` at line 74, The documentation sentence on the
same line should be split into two source lines: put "Use `--fresh` to ignore
any saved onboarding session and restart the wizard from scratch." on its own
line and then place "This is useful after an interrupted `nemoclaw onboard` run
when you want to discard saved state instead of continuing it with `--resume`."
on the next line so each sentence is on a separate source line.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@docs/reference/commands.mdx`:
- Line 74: The documentation sentence on the same line should be split into two
source lines: put "Use `--fresh` to ignore any saved onboarding session and
restart the wizard from scratch." on its own line and then place "This is useful
after an interrupted `nemoclaw onboard` run when you want to discard saved state
instead of continuing it with `--resume`." on the next line so each sentence is
on a separate source line.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: b8ebe71b-60fe-456f-beeb-deee92b670e0

📥 Commits

Reviewing files that changed from the base of the PR and between 0c108ae and 1363a1d.

📒 Files selected for processing (1)
  • docs/reference/commands.mdx

@wscurran

Copy link
Copy Markdown
Contributor

✨ Thanks for submitting this detailed PR that explains the onboard fresh flag in the reference docs, which proposes a way to improve documentation clarity by adding a missing explanation for the --fresh synopsis flag. This update adds prose to the onboard command documentation to match the existing synopsis flag.


Related open issues:

@wscurran wscurran added the v0.0.54 Release target label May 28, 2026
@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Actionable comments posted: 0

@cv cv added v0.0.55 and removed v0.0.54 Release target labels May 28, 2026
@miyoungc miyoungc enabled auto-merge (squash) May 29, 2026 18:59
@jyaunches jyaunches added R3 v0.0.56 Release target and removed v0.0.55 labels May 29, 2026
@cv cv disabled auto-merge May 30, 2026 18:21
@cv cv merged commit a598f0c into NVIDIA:main May 30, 2026
19 of 21 checks passed
@wscurran wscurran added bug-fix PR fixes a bug or regression area: docs Documentation, examples, guides, or docs build and removed fix labels Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build bug-fix PR fixes a bug or regression v0.0.56 Release target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[All Platforms][Docs] commands.mdx nemoclaw onboard --fresh has synopsis entry but no explanation block (follow-up of NVB 6157307)

5 participants