Repository navigation
Description
Investigation Summary
loaded_policy_matches(crates/nemoclaw-sdk/src/openshell/network.rs:42) hard-codes the filesystem paths the supervisor adds to loaded policies; its comment (line 39) citesopenshell-supervisorat7e7a8d56, not the pin1fe79f53.- At the pin,
collect_baseline_enrichment_pathsincrates/openshell-supervisor/src/lib.rsalso addsGPU_BASELINE_READ_ONLY,GPU_BASELINE_READ_WRITE, and enumerated GPU device nodes when GPU devices exist, and removes read-write paths from the read-only list. - NemoClaw's copy contains none of the GPU paths.
- The enrichment is private to
openshell-supervisor;openshell-policydoes not export it. - Unknown: whether export of a GPU sandbox reports false drift; not reproduced.
Description
The drift check re-derives OpenShell's private policy enrichment from a copied list.
The copy matches the non-GPU proxy baseline at the pin but omits the GPU additions, so a GPU sandbox's loaded policy can differ from the expected value while the authored policy is unchanged.
Expected: NemoClaw compares authored intent through an OpenShell observation of the authored policy or its hash, or through an enrichment function that openshell-policy exports, instead of a copied path list.
Reproduction Steps
Run from a NemoClaw checkout at 515fad88f.
-
Show the copied baseline:
sed -n '36,95p' crates/nemoclaw-sdk/src/openshell/network.rs -
Show the pinned supervisor's baseline lists:
curl -fsSL https://raw.githubusercontent.com/NVIDIA/OpenShell/1fe79f53991debf32776853a60f0cbd4e127dcfb/crates/openshell-supervisor/src/lib.rs | grep -nE 'const (PROXY|GPU)_BASELINE|fn collect_baseline_enrichment_paths|if include_gpu'
-
Confirm the SDK copy has no GPU paths:
grep -n nvidia crates/nemoclaw-sdk/src/openshell/network.rs || echo 'no GPU paths in network.rs'
Environment
- NemoClaw:
v1at515fad88f - OpenShell pin:
1fe79f53991debf32776853a60f0cbd4e127dcfb(versions.json) - NeMo Fabric pin:
24f068c895e5cbc30286bc743498be4e5014d658(crates/nemoclaw-sdk/Cargo.toml) - OpenTofu: 1.12.6 (
versions.json) - Host: macOS arm64 source checkout; static inspection only, no deployment
Debug Output
Not applicable: this finding comes from static source inspection at the revisions above.
No deployment ran, so there is no nemoclaw debug output.
Logs
# Step 2
1374:const PROXY_BASELINE_READ_ONLY: &[&str] = &[
1390:const PROXY_BASELINE_READ_WRITE: &[&str] = &["/tmp", "/dev/null"];
1405:const GPU_BASELINE_READ_ONLY: &[&str] = &[
1431:const GPU_BASELINE_READ_WRITE: &[&str] = &[
1473:fn collect_baseline_enrichment_paths(
1490: if include_gpu {
1512: let gpu_device_nodes = if include_gpu {
# Step 3
no GPU paths in network.rsChecklist
- I confirmed this bug is reproducible
- I searched existing issues and this is not a duplicate
Status at v1 18ed1a8616 — 2026-10-01: remaining work.
The OpenShell v0.1.2 upgrade includes the upstream GPU-policy fix; GPU enrichment stays with the workload. NemoClaw still duplicates the proxy baseline because the pinned upstream helper is private. Removing that copy needs a supported upstream policy API while preserving strict drift detection. No new live GPU qualification was performed in this audit.
Activity
docs: record retained upstream integration limits
fix(deps): upgrade OpenShell to v0.1.2
cv commentedon Sep 29, 2026
Committed to
v1in e5cb9082c6.Upgraded NemoClaw's OpenShell source, Rust SDK, and gateway/supervisor/sandbox image pins to v0.1.2, revision
6648bd0c290efbc41ba131ee9831ee45cd431f94.This release includes OpenShell #3580. OpenShell now adds GPU filesystem access inside the workload, without writing those additions back to the gateway policy that NemoClaw compares. That should remove the suspected GPU false drift. We have not verified export and unchanged reapply on a live GPU sandbox.
This issue stays open because NemoClaw still copies OpenShell's proxy filesystem path list. The release still adds those paths to the observed policy through a private helper; upgrading does not provide the authored-policy observation or public enrichment function needed to delete our copy.
The upgrade also adapts the changed workspace-scoped protobuf calls and removes the rejected
tls: terminateandtls: passthroughsettings. Omittingtlsretains automatic TLS handling.Validation on Linux ARM64: 903 workspace tests, 40 tests using a fresh native bundle against local gateway fixtures, and 23 standalone OpenTofu tests passed. Formatting, strict Clippy, dependency license/source checks, generated schema, and documentation checks also passed. These checks do not qualify live GPU behavior.
fix(openshell-provider): record the loaded policy's hash instead of c…
cv commentedon Oct 18, 2026
Done in #13411: a sandbox records the hash OpenShell reports for its loaded policy, OpenShell's additions included, once every declared rule is intact. Later reads compare that hash, so NemoClaw no longer copies OpenShell's list of added paths.