Skip to content

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

Open
latenighthackathon wants to merge 1 commit into
NVIDIA:mainfrom
latenighthackathon:docs/3349-remote-deploy-env-vars-v2
Open

docs(reference): document remote-deploy env vars (closes #3059)#4166
latenighthackathon wants to merge 1 commit into
NVIDIA:mainfrom
latenighthackathon:docs/3349-remote-deploy-env-vars-v2

Conversation

@latenighthackathon
Copy link
Copy Markdown
Contributor

@latenighthackathon latenighthackathon commented May 25, 2026

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 documenting Brev/GPU provisioning defaults (NEMOCLAW_BREV_PROVIDER, NEMOCLAW_GPU).
    • Documented non-interactive deploy/onboard defaults and flags to skip post-deploy automatic connect and automatic service startup (NEMOCLAW_DEPLOY_NO_CONNECT, NEMOCLAW_DEPLOY_NO_START_SERVICES), with link to the Deploy to Remote GPU guide.

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 25, 2026

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
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 25, 2026

Review Change Stack

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

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

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 accurately summarizes the main change: documenting four remote-deploy environment variables in the reference documentation.
Linked Issues check ✅ Passed The PR fully addresses requirements from both linked issues: consolidating env-var documentation (#3059) and documenting four deploy-related environment variables (#3349).
Out of Scope Changes check ✅ Passed All changes are directly related to documenting remote-deploy environment variables; the auto-generated skill mirror is appropriately kept in sync.
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 wscurran added CI/CD documentation Docs, examples, guides, or messaging need work labels May 26, 2026
@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
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

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 and removed CI/CD labels Jun 3, 2026
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 bug-fix PR fixes a bug or regression chore Build, CI, dependency, or tooling maintenance documentation Docs, examples, guides, or messaging need work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing proper reference of ALL environment variables

2 participants