NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

[All Platforms][Docs] Manage Sandboxes pages missing 6 CLI commands and several flag/behavior gaps across lifecycle/runtime-controls/workspace-files

Open wangericnv opened this issue 6 months ago • 1 comments

Description

Summary

Reviewed manage-sandboxes/ pages against nemoclaw v0.0.43. Found 9 places across 3 pages where the docs omit commands, flags, or behavior descriptions the CLI already supports. Each item below specifies the URL, the exact section to edit, and the concrete change.

backup-restore.html has a separate factual defect, tracked in NVBug 6185463.
messaging-channels.html is correct, no change required.

1. Add doctor command

URL:     https://docs.nvidia.com/nemoclaw/manage-sandboxes/lifecycle.html
Section: "Check Sandbox Health"
Change:  Add an entry for `nemoclaw  doctor [--json]`.

Suggested wording:
  Per-sandbox diagnostic. Runs internal checks specific to one sandbox,
  complementary to the host-level `nemoclaw status`. Use --json for
  machine-readable output.

2. Add gateway-token command

URL:     https://docs.nvidia.com/nemoclaw/manage-sandboxes/lifecycle.html
Section: New subsection — suggested title "Retrieve Gateway Token", placed between "Inspect Logs" and "Collect Diagnostics".
Change:  Add documentation for `nemoclaw  gateway-token [--quiet]`.

Suggested wording:
  Print the OpenClaw gateway auth token. Required by any in-container client
  of the gateway (custom agents, debug scripts, third-party tools calling the
  gateway from inside the sandbox). Use --quiet to print only the token,
  with no surrounding text — useful for `export TOKEN=$(nemoclaw
  gateway-token --quiet)`.

3. Add gc command

URL:     https://docs.nvidia.com/nemoclaw/manage-sandboxes/lifecycle.html
Section: Add immediately after "Uninstall" (suggested subsection title "Garbage Collect Orphan Images").
Change:  Add documentation for `nemoclaw gc [--yes|--force] [--dry-run]`.

Suggested wording:
  Clean up Docker images left behind after `nemoclaw  destroy`. By
  default the command prompts for confirmation; pass --yes to skip the
  prompt or --force to also remove images currently referenced by stopped
  containers. Use --dry-run to preview what would be removed without
  deleting anything.

4. Add inference get command

URL:     https://docs.nvidia.com/nemoclaw/manage-sandboxes/lifecycle.html
Section: "Change Inference Model"
Change:  Add a read-side companion to the already-documented `nemoclaw inference set`.

Suggested wording:
  Inspect the current inference route configured for new sandboxes:

    $ nemoclaw inference get

  Use --json for machine-readable output. This is the read-only complement
  to `nemoclaw inference set`.

5. Expand logs flag coverage

URL:     https://docs.nvidia.com/nemoclaw/manage-sandboxes/lifecycle.html
Section: "Inspect Logs"
Change:  The page currently only documents `--follow`. Add the two history-control flags.

Suggested addition (after the existing --follow example):

  Limit history with `--tail ` (alias `-n `) or `--since `:

    $ nemoclaw  logs --tail 100
    $ nemoclaw  logs --since 10m

6. Document debug secret-redaction behavior

URL:     https://docs.nvidia.com/nemoclaw/manage-sandboxes/lifecycle.html
Section: "Collect Diagnostics"
Change:  The section currently lists what `nemoclaw debug` puts in the tarball
         (system info, Docker state, gateway logs, sandbox status) but never
         states how secrets are handled. Add a sentence stating whether provider
         API keys, Slack tokens, and the gateway token are redacted, omitted,
         or shipped as-is. Actual behavior needs to be confirmed with engineering
         before publishing.

Suggested wording (placeholder — please verify with engineering):

  Before sharing the tarball, inspect its contents. Provider API keys are
  redacted, but third-party tokens (e.g. Slack bot tokens registered via
  `channels add`) may appear in gateway logs.

7. Add recover vs rebuild decision rule

URL:     https://docs.nvidia.com/nemoclaw/manage-sandboxes/lifecycle.html
Section: "Reconfigure or Recover"
Change:  `recover` and `rebuild` sit in adjacent subsections without any guidance
         on which to choose. Add a one-paragraph rule of thumb at the top of the
         section (before the individual subsections).

Suggested wording:

  Use `recover` when the gateway or dashboard port-forward stopped but the
  sandbox container is still healthy. Use `rebuild` when the underlying
  container image changed (CLI upgrade, runtime upgrade) or when the sandbox
  state itself is corrupt.

8. Add hosts-* commands

URL:     https://docs.nvidia.com/nemoclaw/manage-sandboxes/runtime-controls.html
Section: New subsection — suggested title "Override DNS Inside the Sandbox" (or place near the existing network-config content).
Change:  Add documentation for the three `hosts-*` subcommands.

Suggested wording:

  Manage /etc/hosts entries inside the sandbox. Useful when the sandbox needs
  to reach private hostnames that aren't resolvable via normal DNS.

    $ nemoclaw  hosts-add internal.example.com 10.0.0.42
    $ nemoclaw  hosts-list
    $ nemoclaw  hosts-remove internal.example.com

  Entries persist across sandbox restarts but are reset on `rebuild`.

9. Add host-mount section (share mount / unmount / status)

URL:     https://docs.nvidia.com/nemoclaw/manage-sandboxes/workspace-files.html
Section: New subsection — suggested title "Mount Sandbox Files on the Host", placed near the existing `connect` / `openshell sandbox upload/download` content (this is the IDE-friendly alternative).
Change:  Add documentation for the three `share` subcommands.

Suggested wording:

  Mount a path from inside the sandbox onto the host filesystem so it can be
  edited with a local IDE or editor. This is usually preferable to using
  `connect` or `openshell sandbox upload/download` for ongoing development.

    $ nemoclaw  share mount /workspace ~/sandbox-workspace
    $ nemoclaw  share status
    $ nemoclaw  share unmount ~/sandbox-workspace

  The mount survives until explicitly unmounted or until the sandbox is
  destroyed.

[added through MaaS NVBugs MCP server]

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Keyword NemoClaw, NemoClaw_Docs, NEMOCLAW_GH_SYNC_APPROVAL

[NVB#6185843]

wangericnv avatar May 18 '26 07:05 wangericnv

Closing as non-essential update. These CLI commands are documented in the CLI Commands Reference page. Cross-referencing them in manage-sandboxes is a nice-to-have, not a blocking gap.

mercl-lau avatar May 28 '26 05:05 mercl-lau