Skip to content

docs(starter-prompt): improve guided installation#6990

Merged
cv merged 7 commits into
mainfrom
codex/docs-station-express-starter-prompt
Jul 16, 2026
Merged

docs(starter-prompt): improve guided installation#6990
cv merged 7 commits into
mainfrom
codex/docs-station-express-starter-prompt

Conversation

@miyoungc

@miyoungc miyoungc commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

The copyable starter prompt now guides a non-technical user through an end-to-end NemoClaw installation one question at a time, without leaving interactive terminal menus running or exposing credentials. It retains the DGX Station Express mapping while adding complete platform readiness, provider, messaging, approval, sudo, Ollama, credential-helper, and documentation-discovery guidance.

Changes

  • Point coding agents to official Markdown documentation examples for OpenClaw, Hermes, and LangChain Deep Agents Code, and suggest the NemoClaw docs MCP server when supported.
  • Collect the operating system, agent, readiness evidence, provider, model, sandbox, web search, messaging, policy, credential, download, administrator-access, and final-install decisions one at a time.
  • Reproduce Express outcomes non-interactively: use the installed release's maintained Spark model, pin the Station Nemotron Ultra recipe with its approximately 352 GB and Deferred-validation warnings, and preserve the Windows WSL path.
  • Offer existing vLLM, platform- and agent-eligible Ollama, managed vLLM, OpenRouter, hosted providers, Model Router, and compatible endpoints without starting duplicate local servers.
  • Preserve the immutable credential-helper and form pins, complete one-time URL, same-port loopback SSH forwarding, single-submission boundary, approved absolute command, account-home scope, and verified-installer requirement.
  • Define safe sudo behavior, first-build messaging configuration, policy and integration ordering, separate download/notice/final approvals, and outcome verification.
  • Add regression coverage for credential URL handling, sudo behavior, Ollama eligibility, Express model behavior, approval timing, provider mappings, documentation links, and Deep Agents selection.
  • #6875 -> docs/resources/starter-prompt.md: Reflect DGX Station GB300 firmware detection in the starter decision flow.
  • #6883 -> docs/resources/starter-prompt.md: Preserve the merged Station Nemotron Ultra Express selectors and explicit non-interactive equivalent.

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)

Quality Gates

  • Tests added or updated for changed behavior — starter-prompt contracts cover credential, sudo, Ollama, provider, Express, approval, documentation-link, and agent-selection behavior.
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification:
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded — implementation-backed review found no remaining must-fix findings; helper pins, focused tests, and docs validation pass.
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

Verification

  • PR description includes a Signed-off-by: line and every commit appears as Verified in GitHub
  • Normal pre-commit, commit-msg, and pre-push hooks passed, or npm run check:diff passed when hooks were skipped or unavailable
  • Targeted behavior tests pass for the current change set, or tests are marked not applicable above — npx vitest run test/starter-prompt-docs.test.ts test/changelog-docs.test.ts passed 18 tests in 2 files.
  • Applicable broad gate passed — npm test for broad runtime/test-harness changes; npm run check for repo-wide validation/coverage changes — not run for this documentation-only change.
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only) — passed with zero errors and two existing Fern warnings.
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Signed-off-by: Miyoung Choi miyoungc@nvidia.com
Signed-off-by: San Dang sdang@nvidia.com

Summary by CodeRabbit

  • Documentation

    • Reworked the starter onboarding prompt into a stricter step-by-step flow with one-question-at-a-time sequencing, including standardized goal/agent selection and streamlined docs entry points.
    • Expanded “Express Install” paths (Windows WSL and DGX Spark/Station) and updated platform readiness checks, runtime/provider selection, and local model guidance.
    • Significantly tightened security for credentials and SSH tunnels with immutable trust-boundary rules, preview/edit/confirm behavior, and stricter policy/approval/checklists.
  • Tests

    • Updated and expanded starter-prompt documentation tests for redacted key placeholders and stronger security/eligibility/onboarding wording assertions.

Signed-off-by: Carlos Villela cvillela@nvidia.com

@miyoungc miyoungc added the area: docs Documentation, examples, guides, or docs build label Jul 16, 2026
@miyoungc miyoungc self-assigned this Jul 16, 2026
@copy-pr-bot

copy-pr-bot Bot commented Jul 16, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

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: 1e2a5f97-0a3c-4591-ac2f-ab5fe441f377

📥 Commits

Reviewing files that changed from the base of the PR and between ae1748f and e12e48f.

📒 Files selected for processing (2)
  • docs/resources/starter-prompt.md
  • test/starter-prompt-docs.test.ts
🚧 Files skipped from review as they are similar to previous changes (2)
  • test/starter-prompt-docs.test.ts
  • docs/resources/starter-prompt.md

📝 Walkthrough

Walkthrough

The starter prompt now defines prescriptive onboarding for platform readiness, installation, runtime selection, credential capture, messaging, approvals, and verification. Tests enforce the revised security rules, provider eligibility, placeholders, and documentation references.

Changes

Starter prompt onboarding flow

Layer / File(s) Summary
Platform and installation paths
docs/resources/starter-prompt.md
Adds interaction gating, agent selection, hardware checks, administrator-access rules, DGX Express Install paths, and Windows WSL installation guidance.
Provider and runtime selection
docs/resources/starter-prompt.md
Updates platform-aware provider choices, local model documentation, non-interactive provisioning, and provider mappings.
Credential, messaging, and verification flow
docs/resources/starter-prompt.md
Tightens credential-helper and SSH handling, defines onboarding messaging, adds approval gates, and updates verification and documentation guidance.
Starter prompt content validation
test/starter-prompt-docs.test.ts
Updates assertions for placeholders, credential boundaries, remote credentials, Ollama eligibility, messaging and policy behavior, and Deep Agents documentation links.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

  • NVIDIA/NemoClaw#6894: Both update the canonical starter prompt and its associated validation tests.

Suggested labels: area: onboarding, platform: dgx-spark

Suggested reviewers: cv

🚥 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 is concise and clearly matches the main change: a guided installation/onboarding update for the starter prompt.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/docs-station-express-starter-prompt

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

@github-actions

Copy link
Copy Markdown
Contributor

@miyoungc miyoungc changed the title docs(installer): map Station express selection docs(installer prompt): map Station express selection Jul 16, 2026
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

PR Review Advisor — Informational

Advisor assessment: Informational / high confidence
Next action: No advisor follow-up needed.
Findings: 0 blockers · 0 warnings · 0 suggestions
Status: No actionable findings remain in the canonical review ledger.

Model lanes

  • GPT-5.6 Terra (primary): Completed · high confidence · 0 blockers · 0 warnings · 0 suggestions
  • Nemotron 3 Ultra (second opinion): Completed · high confidence · 0 blockers · 0 warnings · 0 suggestions
  • Model comparison: normalized findings match; normalized E2E selections differ; severity counts match.

Nemotron output stays in workflow artifacts and does not change the assessment above.

E2E guidance

Advisory only. E2E / PR Gate selects and runs jobs independently.

Recommended E2E: None

1 optional E2E recommendation
  • docs-validation

Workflow run details

This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge.

Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
@github-code-quality

github-code-quality Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage remains at 96%, unchanged from the main branch.

TypeScript / code-coverage/cli

The overall coverage in the codex/docs-station-e... branch remains at 80%, unchanged from the main branch.

Show a code coverage summary of the most impacted files.
File main c1bda80 codex/docs-station-e... e12e48f +/-
src/lib/state/gateway.ts 93% 91% -2%
src/lib/adapter...shell/client.ts 83% 85% +2%

Updated July 16, 2026 07:46 UTC
Code Coverage is in Public Preview. Learn more and provide us with your feedback.

Signed-off-by: San Dang <sdang@nvidia.com>
@sandl99 sandl99 changed the title docs(installer prompt): map Station express selection docs(starter-prompt): improve guided installation Jul 16, 2026
@sandl99 sandl99 self-assigned this Jul 16, 2026
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
@miyoungc
miyoungc marked this pull request as ready for review July 16, 2026 05:31
@miyoungc miyoungc added the v0.0.85 Release target label Jul 16, 2026

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

🧹 Nitpick comments (1)
docs/resources/starter-prompt.md (1)

189-203: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick win

Clarify the managed vLLM mapping for DGX Spark and DGX Station. The Spark Express flow intentionally leaves NEMOCLAW_VLLM_MODEL unset, while DGX Station Express pins nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4; spell out both cases instead of saying “required Express model.”

🤖 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/resources/starter-prompt.md` around lines 189 - 203, Update the “Managed
vLLM” entry in the provider mapping to distinguish DGX Spark, where
NEMOCLAW_VLLM_MODEL remains unset, from DGX Station, where Express setup pins
nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4. Replace the vague “required
Express model” wording with these explicit platform-specific behaviors.
🤖 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 `@docs/resources/starter-prompt.md`:
- Around line 29-31: Update the Goal section and corresponding messaging
instructions to make messaging in the first sandbox conditional on the selected
agent supporting messaging; preserve the existing Deep Agents exception and
avoid requiring messaging for unsupported agents.
- Around line 94-100: Update the Express installation policy flow so it does not
ask users to choose among policy tiers when the flow always sets
NEMOCLAW_POLICY_TIER=balanced. Clearly state that Balanced is required for
Express and continue using the fixed balanced value; apply this consistently to
both Express paths, including the later policy flow.

---

Nitpick comments:
In `@docs/resources/starter-prompt.md`:
- Around line 189-203: Update the “Managed vLLM” entry in the provider mapping
to distinguish DGX Spark, where NEMOCLAW_VLLM_MODEL remains unset, from DGX
Station, where Express setup pins
nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4. Replace the vague “required
Express model” wording with these explicit platform-specific behaviors.
🪄 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: af6f6a25-2541-4ac5-890f-50d70a86c0e3

📥 Commits

Reviewing files that changed from the base of the PR and between 3bc9620 and 726609a.

📒 Files selected for processing (2)
  • docs/resources/starter-prompt.md
  • test/starter-prompt-docs.test.ts

Comment thread docs/resources/starter-prompt.md Outdated
Comment thread docs/resources/starter-prompt.md Outdated
@sandl99 sandl99 added the area: install Install, setup, prerequisites, or uninstall flow label Jul 16, 2026

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/resources/starter-prompt.md (1)

164-179: 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Add an explicit SHA-256 check for the helper before execution.
The prompt should tell the agent to hash both downloaded files and compare them to the pinned digests before running the helper. The helper already checks the form digest, but it does not protect its own bytes, so a tampered helper could still run first.

🤖 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/resources/starter-prompt.md` around lines 164 - 179, Update the
instructions around the helper and form trust boundary to explicitly require
computing the SHA-256 digest of both downloaded files and comparing each against
its pinned digest before executing the helper. Require stopping and deleting the
temporary files if either check fails, ensuring the helper itself is verified
before it runs.

Source: MCP tools

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

Outside diff comments:
In `@docs/resources/starter-prompt.md`:
- Around line 164-179: Update the instructions around the helper and form trust
boundary to explicitly require computing the SHA-256 digest of both downloaded
files and comparing each against its pinned digest before executing the helper.
Require stopping and deleting the temporary files if either check fails,
ensuring the helper itself is verified before it runs.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 3755e4f4-e0cc-47ee-a7ae-2fdccd522f7b

📥 Commits

Reviewing files that changed from the base of the PR and between 726609a and ae1748f.

📒 Files selected for processing (2)
  • docs/resources/starter-prompt.md
  • test/starter-prompt-docs.test.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • test/starter-prompt-docs.test.ts

Signed-off-by: Carlos Villela <cvillela@nvidia.com>

@cv cv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed exact head e12e48f against current base c1bda80. The starter prompt now matches existing supported agent/Express behavior, explicitly verifies both pinned credential-helper artifacts before execution, and has focused contract coverage. All current checks are green, both advisor lanes and CodeRabbit have no remaining actionable findings, the docs build passed, and DCO/Verified gates pass.

@cv
cv merged commit 34e30ab into main Jul 16, 2026
83 of 84 checks passed
@cv
cv deleted the codex/docs-station-express-starter-prompt branch July 16, 2026 08:12
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 area: install Install, setup, prerequisites, or uninstall flow v0.0.85 Release target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants