From 8f4295131ee64db7fad0749d3e91de76b2005bf4 Mon Sep 17 00:00:00 2001 From: Miyoung Choi Date: Fri, 26 Jun 2026 15:33:50 -0700 Subject: [PATCH 1/4] docs(policy): clarify network request approval flow --- .../approve-network-requests.mdx | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/docs/network-policy/approve-network-requests.mdx b/docs/network-policy/approve-network-requests.mdx index a343f166ebc..2ab0b4f6996 100644 --- a/docs/network-policy/approve-network-requests.mdx +++ b/docs/network-policy/approve-network-requests.mdx @@ -18,6 +18,7 @@ OpenShell intercepts those requests and presents them in the TUI for operator ap - A running NemoClaw sandbox. - The OpenShell CLI on your `PATH`. +- Access to the host where the sandbox is running. ## Open the TUI @@ -47,6 +48,7 @@ openshell term The TUI shows the sandbox state, active inference provider, and live network activity. +From the dashboard, select the running sandbox with `j` or `k`, then press `Enter` to open the sandbox view. ## Trigger a Blocked Request @@ -59,25 +61,37 @@ The blocked request includes the following details: ## Approve or Deny the Request -The TUI shows an approval prompt for each blocked request. +Blocked requests appear as pending entries in the sandbox view's `Network Rules` panel. +From the sandbox policy view, press `r` to focus `Network Rules`. +Use `j` or `k` to select a pending rule, and press `Enter` to inspect its details. -- Select **Approve** to add the endpoint to the running policy for the current session. -- Select **Deny** to keep the endpoint blocked. +- Press `a` to approve the selected pending rule and add the endpoint to the running policy for the current session. +- Press `x` to reject the selected pending rule and keep the endpoint blocked. +- Press `A` to approve all pending rules, then press `y` or `Enter` at the confirmation prompt. Approved endpoints remain in the running policy until the sandbox stops. They are not persisted to the baseline policy file. To keep an endpoint allowed after restart, update the policy YAML or apply a preset as described in [Customize the Sandbox Network Policy](customize-network-policy). +Rejected rules stay blocked unless you later approve the same rule or add a matching endpoint to the policy. ## Run the Walkthrough -From the NemoClaw repository root, run the walkthrough script after you onboard at least one sandbox and confirm that it is reachable: +The walkthrough script is available only in a NemoClaw source checkout. +If you installed NemoClaw with the public installer, clone the repository before running it. + +```bash +git clone https://github.com/NVIDIA/NemoClaw.git +cd NemoClaw +``` + +From the NemoClaw repository root, run the walkthrough script after you onboard at least one sandbox and confirm that it is reachable. ```bash ./scripts/walkthrough.sh ``` The script opens a split tmux session with the TUI on the left and the agent on the right. -The walkthrough requires tmux and the `NVIDIA_INFERENCE_API_KEY` environment variable. +The walkthrough requires tmux, the `NVIDIA_INFERENCE_API_KEY` environment variable, and at least one onboarded sandbox attached to the active gateway. It attaches to an existing sandbox. ## Related Topics From 80bda8fcdfdac5f39cef7c4b5f89a94d9dc7ceaf Mon Sep 17 00:00:00 2001 From: Miyoung Choi Date: Fri, 26 Jun 2026 15:48:35 -0700 Subject: [PATCH 2/4] docs(policy): address approval docs review feedback --- .../approve-network-requests.mdx | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/network-policy/approve-network-requests.mdx b/docs/network-policy/approve-network-requests.mdx index 2ab0b4f6996..f65a7b1cede 100644 --- a/docs/network-policy/approve-network-requests.mdx +++ b/docs/network-policy/approve-network-requests.mdx @@ -35,7 +35,13 @@ openshell term Connect to the remote host first. -Use a host that resolves from your terminal, such as a Brev SSH alias or `user@host`. +Replace `` with the SSH host or alias where your NemoClaw sandbox is running. +Use a host that resolves from your terminal, such as a Brev SSH alias. + +```bash +ssh +``` + Then run the TUI from the NemoClaw directory on that host. ```bash @@ -62,16 +68,18 @@ The blocked request includes the following details: ## Approve or Deny the Request Blocked requests appear as pending entries in the sandbox view's `Network Rules` panel. -From the sandbox policy view, press `r` to focus `Network Rules`. +After the sandbox opens, the TUI focuses the sandbox policy view. +Press `r` to focus `Network Rules`. Use `j` or `k` to select a pending rule, and press `Enter` to inspect its details. - Press `a` to approve the selected pending rule and add the endpoint to the running policy for the current session. - Press `x` to reject the selected pending rule and keep the endpoint blocked. - Press `A` to approve all pending rules, then press `y` or `Enter` at the confirmation prompt. -Approved endpoints remain in the running policy until the sandbox stops. +Approved endpoints remain in the running policy for the sandbox instance. +They reset to the baseline when you destroy and recreate the sandbox. They are not persisted to the baseline policy file. -To keep an endpoint allowed after restart, update the policy YAML or apply a preset as described in [Customize the Sandbox Network Policy](customize-network-policy). +To keep an endpoint allowed for future sandbox instances, update the policy YAML or apply a preset as described in [Customize the Sandbox Network Policy](customize-network-policy). Rejected rules stay blocked unless you later approve the same rule or add a matching endpoint to the policy. ## Run the Walkthrough @@ -80,8 +88,8 @@ The walkthrough script is available only in a NemoClaw source checkout. If you installed NemoClaw with the public installer, clone the repository before running it. ```bash -git clone https://github.com/NVIDIA/NemoClaw.git -cd NemoClaw +git clone https://github.com/NVIDIA/NemoClaw.git ~/nemoclaw +cd ~/nemoclaw ``` From the NemoClaw repository root, run the walkthrough script after you onboard at least one sandbox and confirm that it is reachable. From fb0469d81d728efcbc2cafdc96cc8582fab73a56 Mon Sep 17 00:00:00 2001 From: Miyoung Choi Date: Fri, 26 Jun 2026 16:28:47 -0700 Subject: [PATCH 3/4] docs(policy): add walkthrough download button --- .../approve-network-requests.mdx | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/network-policy/approve-network-requests.mdx b/docs/network-policy/approve-network-requests.mdx index f65a7b1cede..9bec5cb2cf6 100644 --- a/docs/network-policy/approve-network-requests.mdx +++ b/docs/network-policy/approve-network-requests.mdx @@ -84,18 +84,22 @@ Rejected rules stay blocked unless you later approve the same rule or add a matc ## Run the Walkthrough -The walkthrough script is available only in a NemoClaw source checkout. -If you installed NemoClaw with the public installer, clone the repository before running it. +The walkthrough script is available in the NemoClaw repository at [`scripts/walkthrough.sh`](https://github.com/NVIDIA/NemoClaw/blob/main/scripts/walkthrough.sh). +If you installed NemoClaw with the public installer, download only that script before running it. -```bash -git clone https://github.com/NVIDIA/NemoClaw.git ~/nemoclaw -cd ~/nemoclaw -``` + + + -From the NemoClaw repository root, run the walkthrough script after you onboard at least one sandbox and confirm that it is reachable. +Run the walkthrough script after you onboard at least one sandbox and confirm that it is reachable. ```bash -./scripts/walkthrough.sh +bash nemoclaw-walkthrough.sh ``` The script opens a split tmux session with the TUI on the left and the agent on the right. From 7e9f544f9b607c42eb77b8636f10c9f28bae0d6e Mon Sep 17 00:00:00 2001 From: Miyoung Choi Date: Fri, 26 Jun 2026 17:10:11 -0700 Subject: [PATCH 4/4] docs(policy): structure approval walkthrough steps --- .../approve-network-requests.mdx | 50 ++++++++++++------- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/docs/network-policy/approve-network-requests.mdx b/docs/network-policy/approve-network-requests.mdx index 9bec5cb2cf6..636d2212bab 100644 --- a/docs/network-policy/approve-network-requests.mdx +++ b/docs/network-policy/approve-network-requests.mdx @@ -14,6 +14,8 @@ skill: Review network requests that the agent makes to endpoints that are not listed in the sandbox policy. OpenShell intercepts those requests and presents them in the TUI for operator approval. + + ## Prerequisites - A running NemoClaw sandbox. @@ -82,30 +84,42 @@ They are not persisted to the baseline policy file. To keep an endpoint allowed for future sandbox instances, update the policy YAML or apply a preset as described in [Customize the Sandbox Network Policy](customize-network-policy). Rejected rules stay blocked unless you later approve the same rule or add a matching endpoint to the policy. -## Run the Walkthrough +## Run the Walkthrough Script The walkthrough script is available in the NemoClaw repository at [`scripts/walkthrough.sh`](https://github.com/NVIDIA/NemoClaw/blob/main/scripts/walkthrough.sh). -If you installed NemoClaw with the public installer, download only that script before running it. - - - - - -Run the walkthrough script after you onboard at least one sandbox and confirm that it is reachable. - -```bash -bash nemoclaw-walkthrough.sh -``` +It requires a cloned NemoClaw source checkout on the host where the sandbox is running. + + + + If the sandbox runs on a remote host, SSH to that host before you clone the repository and run the script. + + + Clone the NemoClaw repository on the host where the sandbox is running. + Do this even if you installed NemoClaw with the public installer, because the walkthrough script is a source-checkout helper. + + ```bash + git clone https://github.com/NVIDIA/NemoClaw.git ~/nemoclaw + cd ~/nemoclaw + ``` + + + Onboard at least one sandbox and confirm that it is attached to the active gateway. + + + Run the walkthrough script from the NemoClaw repository root. + + ```bash + ./scripts/walkthrough.sh + ``` + + The script opens a split tmux session with the TUI on the left and the agent on the right. -The walkthrough requires tmux, the `NVIDIA_INFERENCE_API_KEY` environment variable, and at least one onboarded sandbox attached to the active gateway. +The walkthrough requires `tmux`, the `NVIDIA_INFERENCE_API_KEY` environment variable, and at least one onboarded sandbox attached to the active gateway. It attaches to an existing sandbox. + + ## Related Topics - [Customize the Sandbox Network Policy](customize-network-policy) to add endpoints permanently.