Repository navigation
test: cover Kubernetes driver configuration and mounted Hermes skills - #14271
Merged
Merged
Conversation
The SDK passes a Kubernetes driverConfig with a writable claim mounted on a subfolder to OpenShell as written, and the Hermes kept-state integration case mounts /sandbox/skills and lists it in skills.paths: each sandbox mounts it, and each Fabric start request carries the path.
Collaborator
Author
Authoring session — opening
|
cv
enabled auto-merge (squash)
November 6, 2026 14:40
Contributor
cv
added a commit
that referenced
this pull request
Nov 7, 2026
…paths (#14296) OpenClaw and Hermes agents can now list both kinds of folder in `skills.paths`: a folder that is one skill, and a folder of skills. A deployment can mix them, for example a shared volume of team skills plus one skill mounted on its own with its own mount settings. NemoClaw pins a Fabric revision that applies this rule. ## Problem [Skills on a Mounted Volume](docs/agents-inference/agents.md#skills-on-a-mounted-volume) mounts a volume on `/sandbox/skills` and lists that path for an OpenClaw agent. At Fabric `934ab7ec`, OpenClaw accepted a path only if it contained `SKILL.md` itself. With a new, empty volume or a volume holding a folder per skill, the agent failed to start (`start_failed`, cause `openclaw_skill_invalid`). Hermes searched every listed folder recursively, at any depth, and skipped a missing path without an error. #14271 left the OpenClaw side open. ## Change The Fabric pin moves to `ec77dcc0132bb02198f7aac736671bd0effa87eb`, the head of NVIDIA/NeMo-Fabric#615, which is stacked on NVIDIA/NeMo-Fabric#576. It is kept reachable as branch `integration/nemoclaw-pin-skills` on `cv/NeMo-Fabric`. The pin now equals the Fabric stack's top pull request exactly, with no extra merges or reverts. NVIDIA/NeMo-Fabric#615's base already contains Fabric `main`, NVIDIA/NeMo-Fabric#573, NVIDIA/NeMo-Fabric#572 and NVIDIA/NeMo-Fabric#576. For OpenClaw and Hermes, each `skills.paths` entry is now resolved like this: - a folder that contains `SKILL.md` is one skill; - otherwise, each folder directly inside it that contains `SKILL.md` is a skill, and other files and folders are ignored; - a folder with no skills, such as a new, empty volume, adds none; - a path that doesn't exist, or two skills with the same name, stops the agent from starting, and the error names the path or both skill folders. What Hermes users lose: skills more than one folder deep inside a listed folder no longer load. A listed path that doesn't exist now stops the agent from starting. Other Fabric changes between the two pins: - NVIDIA/NeMo-Fabric#587 (Claude startup diagnostics) and NVIDIA/NeMo-Fabric#570 (the runtime server names the adapter's error code when start fails). - NVIDIA/NeMo-Fabric#589 (Hermes keeps its native response-token limit): Hermes's `max_tokens` setting no longer has a default of 512. This is the only descriptor change in the regenerated `image/fabric/catalog.json`, apart from the revision and checksum. - NVIDIA/NeMo-Fabric#574's Hermes interface changes, from its sync with `main`. - One difference from the old pin: OpenClaw keeps its own `_port_available` instead of importing `port_available` from Fabric's common adapter package. - OpenClaw's supported version is still 2026.9.34, and Hermes's source revision is unchanged. In this repository: - `FABRIC_REVISION` and `FABRIC_SHA256` in `image/fabric/Dockerfile`, the `nemo-fabric-core` revisions in the three crates and `Cargo.lock`, the regenerated catalog, and the pinned links in the docs. The Hermes bundled-plugin recipe keeps `934ab7ec`, because it records the binding the recipe was written against. - [Skills on a Mounted Volume](docs/agents-inference/agents.md#skills-on-a-mounted-volume) states the rule and shows two agents. An OpenClaw agent and a Hermes agent share a read-only `team-skills` volume that holds a folder per skill, and only the OpenClaw agent also mounts a writable `review-skill` volume that is one skill. The page has YAML and HCL versions of the example. - The `docker-openclaw-hermes-interfaces` live case gives each sandbox two skills volumes and lists both mounts in `skills.paths`: - OpenClaw's folder holds two skills and a file that isn't one; - Hermes's folder is empty; - each agent's second volume is one read-only skill. The `tests/e2e/hcl/volume` module takes an optional `files` map and writes those files before the agent starts. `cargo ci live-docker` names the volumes after the run's UID. Whether an agent uses a skill isn't checked live: Fabric's tests check what each harness loads. - The verify-fabric-boundary skill no longer says OpenClaw needs each path to be one skill folder. It still lists the supplied skill's own folder. - The fixture image that the HCL cases name, and the registration names in `openshift-external-two-providers`, follow the new catalog. ## Beyond CI - Before the pin change, the extended interfaces case failed at apply, with OpenClaw's `start_failed`, cause `openclaw_skill_invalid`. After it, the case passed. - On `linux_arm64`: - `cargo images build` built all 11 production agent images and the reference image, and `cargo images qualify` passed for all 12; - `catalog.py`, run with the built Claude Code image's interpreter, produced the committed catalog. - GitHub's `codeload` archives of `ec77dcc0` under `NVIDIA/NeMo-Fabric` and `cv/NeMo-Fabric` have the pinned SHA-256. - Fabric `ec77dcc0`'s tests are reported in NVIDIA/NeMo-Fabric#615. Not run: `cargo ci live-kind`, and the images on `linux/amd64`. The Kubernetes images change only by the Fabric pin. --------- Signed-off-by: Carlos Villela <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests that the SDK passes a Kubernetes
driverConfigto OpenShell as written, and that a Hermes sandbox's skills mount and itsskills.pathsreach the sandbox and Fabric together, as QA plan v0.4 case 035 uses them.Problem
Case 035 mounts a skills volume and lists it in
skills.paths. The SDK's pass-through test covered only Docker'sdriverConfigshape, and no test applied a mount andskills.pathstogether.Change
sandboxes_pass_driver_configuration_through(crates/nemoclaw-sdk/tests/compile.rs) also compilesexamples/kubernetes/external-gateway.yamlwith a KubernetesdriverConfig: a writable claim mounted at/sandbox/skillswithsub_path: skills. Theopenshell_sandboxmust receive it unchanged.docker-hermes-kept-stateintegration case mounts ahermes-skillsvolume on/sandbox/skillsand setsharness.config.skills.paths: [/sandbox/skills]. Teardown asserts that each created sandbox's driver configuration holds the mount and that each Fabric start request lists the path inskills.paths.skills.pathsfolder is still open with Fabric.