From 8954324be6f4201d43a6b4db1e34a0a9a698cb69 Mon Sep 17 00:00:00 2001 From: San Dang Date: Wed, 16 Sep 2026 22:32:51 +0700 Subject: [PATCH 1/2] fix(ci): restore CLI coverage shard balance Signed-off-by: San Dang --- test/helpers/cli-coverage-sequencer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers/cli-coverage-sequencer.ts b/test/helpers/cli-coverage-sequencer.ts index 5f965f21ec3..7805c6e67a2 100644 --- a/test/helpers/cli-coverage-sequencer.ts +++ b/test/helpers/cli-coverage-sequencer.ts @@ -41,7 +41,7 @@ const cliCoverageProjects = new Set(["cli", "integration", "e2e-support"]); // ordinary roster changes preserve ownership between profile refreshes. // Integration coverage is serialized, so it needs an independent salt instead // of relying on combined weight from the parallel CLI and E2E-support lanes. -const stableShardSalt = "7257"; +const stableShardSalt = "10936"; const integrationShardSalt = "18608"; const e2eSupportShardSalt = "25980"; // Only measured outliers are stored; new and ordinary files share the From 748911699a24deb919820f04f685e1c382ce1f81 Mon Sep 17 00:00:00 2001 From: Rebecca Sliter <571084+rsliter@users.noreply.github.com> Date: Wed, 16 Sep 2026 09:38:08 -0700 Subject: [PATCH 2/2] docs(hermes): preserve Portable Ollama guidance Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com> --- docs/get-started/quickstart-hermes.mdx | 25 ++++++++++++++++ docs/inference/set-up-ollama.mdx | 40 ++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/docs/get-started/quickstart-hermes.mdx b/docs/get-started/quickstart-hermes.mdx index c6f13cbe437..716a256bc1c 100644 --- a/docs/get-started/quickstart-hermes.mdx +++ b/docs/get-started/quickstart-hermes.mdx @@ -183,6 +183,31 @@ Use these details when your first-run path needs more control. Refer to [Previous onboarding session failed](../reference/troubleshooting#previous-onboarding-session-failed) for recovery details. + + On Linux x86_64, fresh Hermes Portable onboarding can run the selected Ollama model in a current-user rootless Podman container. + Before onboarding, complete the [Portable Ollama prerequisites](../inference/local-inference/set-up-ollama#use-portable-ollama-with-hermes), including the required Podman version check. + This path also requires the Portable preflight to accept the current user's Podman and NVIDIA GPU authority. + Start fresh onboarding with an explicit Ollama model: + + ```bash + NEMOCLAW_PROVIDER=ollama \ + NEMOCLAW_MODEL=qwen3-vl:4b \ + nemohermes onboard --experimental-profile portable --fresh + ``` + + This path does not inspect, start, or use a host Ollama process. + It does not use the default Docker runtime. + Before the provider-selection step completes, NemoClaw creates the receipt-owned runner, sends one validation request for the selected model, and confirms that the model is loaded. + NemoClaw records the provider selection only after those checks pass. + + Run `nemohermes uninstall` for full cleanup of a receipt-owned Portable Ollama runner. + NemoClaw revalidates the lifecycle receipt, sandbox and Podman container identities, committed gateway provider revision, inference runtime, socket, and Portable network before it removes an owned resource. + If cleanup is interrupted, preserve the reported state and rerun the same command. + NemoClaw resumes the recorded phase without deleting a same-name replacement, shared provider or inference runtime, or Podman image. + Per-sandbox `destroy` remains outside this full-uninstall cleanup contract. + Refer to [Set Up Ollama](../inference/local-inference/set-up-ollama#use-portable-ollama-with-hermes) for the fail-closed uninstall boundary. + + Hermes forwards its dashboard on port `18789` and its OpenAI-compatible API on port `8642`. A sandbox receives those ports when no other sandbox or host listener already holds them. diff --git a/docs/inference/set-up-ollama.mdx b/docs/inference/set-up-ollama.mdx index 10f1b03a86e..92afddcf548 100644 --- a/docs/inference/set-up-ollama.mdx +++ b/docs/inference/set-up-ollama.mdx @@ -20,6 +20,46 @@ NemoClaw detects Ollama on the host and can install, start, or upgrade it on sup - Install NemoClaw by following the [Quickstart](../../get-started/quickstart). - For the host Ollama path, use a host where Ollama is running or where the onboard wizard can install or start it. + + +## Use Portable Ollama with Hermes + +Fresh Hermes Portable onboarding does not use the host Ollama setup described in the remaining sections. +It creates a receipt-owned Ollama runner through the current user's rootless Podman authority. +Run the fresh Portable command in the [Hermes quickstart](../../get-started/quickstart#use-portable-ollama) with `NEMOCLAW_PROVIDER=ollama` and an explicit `NEMOCLAW_MODEL`. + +This experimental profile requires exactly Podman `5.7.0` for both the client and the local rootless engine. +It rejects every other version, including newer releases. +NemoClaw does not install Podman, and a remote-client-only package is insufficient. +Before onboarding, run `podman version` and confirm that both reported versions are `5.7.0`. + +Before the provider-selection step completes, NemoClaw verifies the Portable network, registry, GPU, and Podman authority. +NemoClaw launches the runner with `OLLAMA_CONTEXT_LENGTH=64000`. +That value is part of the runner's launch and runtime identity. +Before NemoClaw accepts or reuses the runner, the recorded launch arguments and inspected container environment must use the same value. +A missing or changed value causes a configuration drift error instead of runner reuse. +It then creates the runner, sends one validation request for the selected model, and confirms that Ollama loaded the selected model. +This path does not inspect, start, or use a host Ollama process, and it does not use the default Docker runtime. + +If the published runner later stops, use `$$nemoclaw recover` or `$$nemoclaw connect --probe-only` to resume only the exact receipt-owned runner. +Ordinary `connect` also resumes it when the recorded inference route is unavailable. +When `launch` runs its complete preflight, it uses the same recovery path before it starts the agent. +A launch that accepts existing launch-readiness evidence skips that preflight. +Follow [Recover Portable Published Ollama](../../manage-sandboxes/operate-sandboxes/recover-and-rebuild-sandboxes#recover-portable-published-ollama) for the authority checks, route proof, and failure procedure. + + +Run `$$nemoclaw uninstall` for full cleanup of a receipt-owned Portable Ollama runner. +Before its first mutation, NemoClaw records the schema `5` lifecycle receipt, sandbox registry revision and lifecycle generation, sandbox and Podman container identities, committed gateway provider revision and profile, inference runtime, socket, and Portable network. +It revalidates that authority before each cleanup phase and preserves a provider or inference runtime that another recorded sandbox shares. +An interrupted run keeps owner-private, credential-free recovery state. +Preserve the reported state and rerun the same command to resume the recorded phase. +An identity change, same-name replacement, stale sandbox readiness result, changed provider profile, or other authority drift makes uninstall exit nonzero before an unproven mutation. +The command preserves every Podman image. +Per-sandbox `destroy` remains outside this full-uninstall cleanup contract. + + + + ## Install or Upgrade Ollama During onboarding, if Ollama is installed but not started, NemoClaw starts it for you.