From 3b5261841a02881309927a93fff2f969ae51b680 Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Tue, 27 Oct 2026 10:15:39 +0000 Subject: [PATCH] docs: fix stale references and a YAML example the schema rejects ## Failure Reviewing #13080's follow-ups turned up docs that no longer match v1: - `recipes.md` still describes the inline Qwen example and its adapter, which #13506 removed. - `kubernetes.md`'s cluster rights leave out the ServiceAccounts, Roles and RoleBindings the pinned chart creates, and the port-forward the SDK opens to the gateway pod. It also says #12709 tracks Docker and Podman registry credentials; #12709 closed after #13412 added them. - `usage.md` says removing Podman's retained objects isn't covered (#12640), though its removal procedure now has a Podman section, and says inference credentials require HTTPS, though #13063 allowed them over plain HTTP. - The `agents.md` skills example puts `harness` under `agent`, which the schema rejects. ## Decision Fix each in place: drop the removed example and adapter, list the missing rights, link the private-registry and removal procedures, keep `inference.md`'s advice to prefer HTTPS, and move `harness` (with its required `kind`) onto the sandbox. ## Validation - The `agents.md` example, merged into `examples/fabric-openclaw.yaml`, validates against the schema; the old one fails with "'harness' was unexpected". - `cargo run --locked -p nemoclaw-build -- docs --check` passes, and `git diff --check` is clean. Co-Authored-By: Claude Opus 5.5 --- docs/agents.md | 10 +++++----- docs/kubernetes.md | 4 ++-- docs/recipes.md | 7 ++----- docs/usage.md | 4 ++-- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/docs/agents.md b/docs/agents.md index a35601751f3..d23af0b579d 100644 --- a/docs/agents.md +++ b/docs/agents.md @@ -160,11 +160,11 @@ sandboxes: - type: volume source: assistant-skills target: /sandbox/skills - agent: - harness: - config: - skills: - paths: [/sandbox/skills] + harness: + kind: nvidia.fabric.openclaw + config: + skills: + paths: [/sandbox/skills] ``` In HCL, use `openshell_sandbox`'s [`driver_config`](provider.md#openshell-resources-and-data-sources) and `fabric_agent`'s `skills` block: diff --git a/docs/kubernetes.md b/docs/kubernetes.md index 232243a6339..212b7d44f79 100644 --- a/docs/kubernetes.md +++ b/docs/kubernetes.md @@ -16,7 +16,7 @@ No automated run covers OpenShift, and other clusters are untested; [current lim - **A NemoClaw bundle:** [build one](build.md#build-a-native-bundle) from this revision. The bundle includes the Helm provider that installs the gateway; no Helm CLI is needed. -- **Cluster access:** a kubeconfig file and an exact context that can create a namespace and, inside it, Secrets, ConfigMaps, Services, Deployments, StatefulSets and NetworkPolicies. +- **Cluster access:** a kubeconfig file and an exact context that can create a namespace and, inside it, Secrets, ConfigMaps, ServiceAccounts, Roles, RoleBindings, Services, Deployments, StatefulSets and NetworkPolicies, and can port-forward to its pods (`pods/portforward`). The SDK reads the cluster's CustomResourceDefinitions, StorageClasses and namespaces. The pinned OpenShell chart also creates [two cluster-wide objects](#cluster-wide-objects), so the context must be able to create a ClusterRole and a ClusterRoleBinding. If the kubeconfig runs an exec plugin that needs your environment, such as `aws` for EKS, list those variables in `gateway.kubernetes.environment`, for example `[AWS_PROFILE, AWS_REGION]`. @@ -224,7 +224,7 @@ nemoclaw apply --state-dir .local/kubernetes deployment.yaml Use the deployment's context and namespace, and keep that credential file out of source control and shared diagnostics. Check the pod events if a pull still fails; a configured reference does not establish registry access. Retire upstream registry credentials separately; destroy retains the namespace and caller-managed Secrets. -Docker/Podman credential delivery and private-registry qualification across all runtimes remain tracked in [#12709](https://github.com/NVIDIA/NemoClaw/issues/12709). +Docker and Podman gateways pull private images with Docker logins instead; see [Pull from Private Registries](usage.md#pull-from-private-registries). ## Deploy to OpenShift diff --git a/docs/recipes.md b/docs/recipes.md index 09dda229b99..660524d6dea 100644 --- a/docs/recipes.md +++ b/docs/recipes.md @@ -36,14 +36,13 @@ Recipe memory requirements are checked against measurements from the execution h The runtime rechecks preparation and startup headroom. The shared resident watchdog continues enforcing the service's memory protection policy after the CLI exits. -Declaring a new hardware combination does not constitute live qualification; the current inline Qwen example targets the DGX Spark. +Declaring a new hardware combination does not constitute live qualification. An optional `snapshot` carries the exact model file manifest, including sizes and hashes. Otherwise the shared downloader resolves the pinned repository and revision. An optional `reuse` names an existing snapshot directory relative to `/data` and a previous preparation key. The runtime verifies imported files again before recording the new preparation as complete. -The inline Qwen example uses these fields to reuse its earlier snapshot and packed bytes. ## Execution Protocol @@ -97,9 +96,7 @@ Plan validates declarations and observes hardware, state, and retained files. It never runs preparation or verification executables. Apply checks the pinned image capabilities and packaged files, downloads or reuses the snapshot, prepares and verifies data, then starts vLLM through the shared supervisor. -The Qwen adapter can hard-link earlier packed data into staging for verification before the runtime saves a new output manifest. -This avoids repacking while preserving the old published files. -The model-specific orphan-recovery rule remains in that adapter, not the shared preparation lifecycle. +Model-specific recovery, such as reusing earlier prepared files, belongs to the recipe's own tools, not the shared preparation lifecycle. Changing to a recipe-capable image can replace the inference container. Existing ownership, generation and storage checks still apply; this does not authorize adopting another deployment's volume. diff --git a/docs/usage.md b/docs/usage.md index b3ae13cda3d..96ef6666311 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -75,7 +75,7 @@ Podman's changing compatibility `/info.ID` is not a durable identity. Gateway bindings use the retained owned network UUID, volume creation identity, container ID, and persisted signing keys. A missing or replaced bound network is a conflict, not permission to recreate it. Destroy retains that network and gateway storage. -Removing them from Podman is not covered yet ([#12640](https://github.com/NVIDIA/NemoClaw/issues/12640)). +To remove them, follow [Remove Retained Resources](#remove-retained-resources) for Podman. ## Agent Runtimes During Apply @@ -164,7 +164,7 @@ The SDK and provider child process need access to referenced credentials during Remove caller-owned environment values and TLS files when no longer needed. Destroy removes the owned provider registration, but retained gateway storage remains; revoke upstream credentials separately when retiring them. -Caller-supplied inference credentials require HTTPS. +Prefer HTTPS for a caller-supplied inference credential: over plain HTTP, the key crosses the network unencrypted. The managed Ollama proxy uses its private HTTP endpoint and a deployment-generated bearer key. OpenShell decides which inference destinations a sandbox can reach; plaintext gateway addresses must be loopback. The isolated policy permits inference routing without general egress and uses `best_effort` Landlock; unavailable kernel restrictions are not enforced.