Skip to content

docs(reference): document remote-deploy env vars (closes #3059)#4166

Merged
cv merged 2 commits into
NVIDIA:mainfrom
latenighthackathon:docs/3349-remote-deploy-env-vars-v2
Jun 3, 2026
Merged

docs(reference): document remote-deploy env vars (closes #3059)#4166
cv merged 2 commits into
NVIDIA:mainfrom
latenighthackathon:docs/3349-remote-deploy-env-vars-v2

Conversation

@latenighthackathon

@latenighthackathon latenighthackathon commented May 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Add a "Remote Deployment" subsection under Environment Variables in docs/reference/commands.mdx covering the four env vars that seed defaults for nemoclaw deploy and nemoclaw onboard --remote.

Related Issue

Closes #3059.

Problem

The env-var reference table lists NEMOCLAW_* flag defaults for many existing commands but omits the remote-deploy path. Discovering the seed-value env vars for a non-interactive Brev deployment currently requires reading source, since the docs say nothing about them.

Changes

  • Add a ### Remote Deployment subsection just before ## NemoHermes Alias documenting NEMOCLAW_BREV_PROVIDER (default gcp), NEMOCLAW_GPU (default a2-highgpu-1g:nvidia-tesla-a100:1), NEMOCLAW_DEPLOY_NO_CONNECT (unset; 1 skips post-deploy connect), and NEMOCLAW_DEPLOY_NO_START_SERVICES (unset; 1 skips service start).
  • Each entry covers the default, the effect, and notes that flag equivalents on deploy take precedence so non-interactive runs can skip prompts.
  • Cross-link the provider/GPU pair to the existing Deploy to Remote GPU narrative for full how-to coverage.
  • Regenerate the mirror at .agents/skills/nemoclaw-user-reference/references/commands.md via scripts/docs-to-skills.py so the skill stays in sync with the user-facing docs.

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)

Ran: python3 scripts/docs-to-skills.py docs/ .agents/skills/ --prefix nemoclaw-user --doc-platform fern-mdx --dry-run clean; markdownlint-cli2 clean on both files. All pre-commit hooks pass except the pre-existing tsc-plugin infra failure in nemoclaw/src/onboard/config.ts that is also present on stock upstream/main.

Note: this is a fresh recreation of the closed #3349. The original branch was opened against the legacy .md docs layout before the Fern MDX migration (#3837) and accumulated 10 commits of upstream churn on commands.mdx. Rather than rebasing across that conflict surface, this rebuilds cleanly on top of current upstream/main (8be998680) as a single signed commit.


Signed-off-by: latenighthackathon latenighthackathon@users.noreply.github.com

Summary by CodeRabbit

  • Documentation
    • Added a Remote Deployment environment-variables section describing Brev/GPU provisioning defaults (NEMOCLAW_BREV_PROVIDER, NEMOCLAW_GPU).
    • Documented non-interactive deploy/onboard options and flags to skip the post-deploy automatic connect and automatic service startup (NEMOCLAW_DEPLOY_NO_CONNECT, NEMOCLAW_DEPLOY_NO_START_SERVICES).
    • Linked to the Deploy to Remote GPU guide for usage details.

@copy-pr-bot

copy-pr-bot Bot commented May 25, 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 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

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: 280aed45-315b-40df-a6c4-fbec07b50a3d

📥 Commits

Reviewing files that changed from the base of the PR and between f6ae703 and c8ac762.

📒 Files selected for processing (2)
  • .agents/skills/nemoclaw-user-reference/references/commands.md
  • docs/reference/commands.mdx
✅ Files skipped from review due to trivial changes (1)
  • .agents/skills/nemoclaw-user-reference/references/commands.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/reference/commands.mdx

📝 Walkthrough

Walkthrough

Adds a "Remote Deployment" Environment Variables subsection (mirrored to the generated CLI skill reference) documenting NEMOCLAW_BREV_PROVIDER, NEMOCLAW_GPU, NEMOCLAW_DEPLOY_NO_CONNECT, and NEMOCLAW_DEPLOY_NO_START_SERVICES used by remote deploy/onboard flows.

Changes

NemoClaw CLI Reference & Generated Skill Reference

Layer / File(s) Summary
Remote Deployment environment variables
docs/reference/commands.mdx, .agents/skills/nemoclaw-user-reference/references/commands.md
Adds a Remote Deployment subsection documenting NEMOCLAW_BREV_PROVIDER and NEMOCLAW_GPU provisioning defaults and NEMOCLAW_DEPLOY_NO_CONNECT / NEMOCLAW_DEPLOY_NO_START_SERVICES toggles for post-deploy connect and service startup; subsection is mirrored between primary and generated references.

Sequence Diagram(s)

sequenceDiagram
  participant CLI_Reference as "docs/reference/commands.mdx"
  participant Skill_Reference as ".agents/skills/nemoclaw-user-reference/references/commands.md"
  CLI_Reference->>Skill_Reference: mirror Remote Deployment subsection
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

area: docs

Poem

🐰 I nibbled through a tiny patch of text,
Planted defaults where the docs were vexed.
GPUs named, and connect left to choice,
I hopped away with a happy voice.
🥕

🚥 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 clearly and concisely describes the main change: adding documentation for remote-deploy environment variables.
Linked Issues check ✅ Passed The PR successfully addresses both linked issues by documenting all four remote deployment env vars in the reference with verified defaults, consolidating env-var documentation, and keeping the skill mirror synchronized.
Out of Scope Changes check ✅ Passed All changes are documentation-only and directly address the linked issues; no unrelated or out-of-scope modifications are present.
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

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

@wscurran

Copy link
Copy Markdown
Contributor

✨ Thanks for submitting this detailed PR about documenting remote-deploy environment variables. This proposes a way to improve the documentation by adding a 'Remote Deployment' subsection under Environment Variables in docs/reference/commands.mdx, which covers the four env vars that seed defaults for nemoclaw deploy and nemoclaw onboard --remote.


Related open PRs:


Related open issues:

@latenighthackathon latenighthackathon force-pushed the docs/3349-remote-deploy-env-vars-v2 branch 3 times, most recently from 35c265e to a64fad7 Compare June 2, 2026 03:15
Add a "Remote Deployment" subsection under Environment Variables in
`docs/reference/commands.mdx` covering the four env vars that seed
defaults for `nemoclaw deploy` and `nemoclaw onboard --remote`:

  - `NEMOCLAW_BREV_PROVIDER`
  - `NEMOCLAW_GPU`
  - `NEMOCLAW_DEPLOY_NO_CONNECT`
  - `NEMOCLAW_DEPLOY_NO_START_SERVICES`

Each entry covers the default, the effect, and notes that flag
equivalents on `deploy` take precedence when non-interactive runs
need to skip prompts. The provider/GPU pair cross-links to the
existing `Deploy to Remote GPU` narrative for full how-to coverage.

The mirror at `.agents/skills/nemoclaw-user-reference/references/commands.md`
is regenerated by `scripts/docs-to-skills.py` so the skill stays in
sync with the user-facing docs.

This is a fresh recreation of the closed NVIDIA#3349. The original branch was
opened against the legacy `.md` docs layout before the Fern MDX
migration (NVIDIA#3837) and accumulated 10 commits of upstream churn on
`commands.mdx`; rebuilt cleanly on top of current upstream/main as a
single signed commit.

Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com>
@latenighthackathon latenighthackathon force-pushed the docs/3349-remote-deploy-env-vars-v2 branch from a64fad7 to f6ae703 Compare June 2, 2026 18:45

@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: 1

🤖 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.

Inline comments:
In @.agents/skills/nemoclaw-user-reference/references/commands.md:
- Line 1469: The text referencing "Deploy to Remote GPU" should be turned into
an explicit markdown link so readers can click from the env-var table; update
the line that mentions NEMOCLAW_BREV_PROVIDER and NEMOCLAW_GPU to use a markdown
link (e.g., [Deploy to Remote GPU](`#deploy-to-remote-gpu`) or the correct section
anchor) pointing to the "Deploy to Remote GPU" section, ensuring the link target
matches the actual heading ID in the document.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 8cad4f48-d4cc-495b-b39a-3bff88c4607a

📥 Commits

Reviewing files that changed from the base of the PR and between 35c265e and f6ae703.

📒 Files selected for processing (2)
  • .agents/skills/nemoclaw-user-reference/references/commands.md
  • docs/reference/commands.mdx
✅ Files skipped from review due to trivial changes (1)
  • docs/reference/commands.mdx


These variables seed defaults for `nemoclaw deploy` and `nemoclaw onboard --remote`, which provision a sandbox on a Brev instance.
Each has a flag equivalent on `deploy`; the env var lets non-interactive runs skip the prompt.
For narrative how-to coverage of `NEMOCLAW_BREV_PROVIDER` and `NEMOCLAW_GPU`, see Deploy to Remote GPU.

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.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Make the “Deploy to Remote GPU” cross-reference clickable.

This line reads as plain text in the generated mirror, so readers can’t navigate directly from the env-var table context. Please render it as an explicit markdown link to the corresponding section.

🤖 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 @.agents/skills/nemoclaw-user-reference/references/commands.md at line 1469,
The text referencing "Deploy to Remote GPU" should be turned into an explicit
markdown link so readers can click from the env-var table; update the line that
mentions NEMOCLAW_BREV_PROVIDER and NEMOCLAW_GPU to use a markdown link (e.g.,
[Deploy to Remote GPU](`#deploy-to-remote-gpu`) or the correct section anchor)
pointing to the "Deploy to Remote GPU" section, ensuring the link target matches
the actual heading ID in the document.

@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions bug-fix PR fixes a bug or regression chore Build, CI, dependency, or tooling maintenance v0.0.58 Release target and removed CI/CD labels Jun 3, 2026
…oy-env-vars-v2

# Conflicts:
#	.agents/skills/nemoclaw-user-reference/references/commands.md
@wscurran wscurran added area: docs Documentation, examples, guides, or docs build and removed documentation labels Jun 3, 2026
@cv cv merged commit 42fb7e6 into NVIDIA:main Jun 3, 2026
19 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: docs Documentation, examples, guides, or docs build bug-fix PR fixes a bug or regression chore Build, CI, dependency, or tooling maintenance v0.0.58 Release target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing proper reference of ALL environment variables

3 participants