Policy drift check copies OpenShell's baseline paths and omits GPU additions
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.rsShow 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.
Source: NVIDIA/NemoClaw