Description
Description:
Presets are not applied correctly based on user selection
Environment:
- Platform: brev
- NemoClaw: v0.0.20
- Install method:
- Run: git clone https://github.com/NVIDIA/NemoClaw.git
- Run: cd NemoClaw
- Run: npm install
- Run: cd nemoclaw && npm install && npm run build && cd ..
- Run: nemoclaw onboard
Steps to Reproduce:
- nemoclaw onboard - select presets balanced and do not edit the list
- Run nemoclaw onboard again with same sandbox name as 1, In the "Policy presets" step - select "Balanced" and update the presets select only "npm". See the presets applied
Actual:
[8/8] Policy presets
──────────────────────────────────────────────────
Policy tier — controls which network presets are enabled:
[ ] Restricted
> [✓] Balanced
[ ] Open
↑/↓ j/k move Space select Enter confirm
Presets (Balanced defaults):
[✓] [rw] npm
[ ] pypi
[ ] huggingface
[ ] brew
> [ ] brave
[ ] discord
[ ] github
[ ] jira
[ ] local-inference
[ ] outlook
[ ] slack
[ ] telegram
↑/↓ j/k move Space include r toggle rw Enter confirm
Narrowing sandbox egress — removing: pypi.org, files.pythonhosted.org
✓ Policy version 8 submitted (hash: 296f09f22523)
✓ Policy version 8 loaded (active version: 8)
Removed preset: pypi
Narrowing sandbox egress — removing: huggingface.co, cdn-lfs.huggingface.co, router.huggingface.co
✓ Policy version 9 submitted (hash: 9fc952f1cf78)
✓ Policy version 9 loaded (active version: 9)
Removed preset: huggingface
Narrowing sandbox egress — removing: formulae.brew.sh, github.com, ghcr.io, pkg-containers.githubusercontent.com, objects.githubusercontent.com, raw.githubusercontent.com
Expect:
Only the user selected presets are applied
[NVB#6097703]
Description
- Platform: brevSteps to Reproduce:
Actual:
[8/8] Policy presets ────────────────────────────────────────────────── Policy tier — controls which network presets are enabled: [ ] Restricted > [✓] Balanced [ ] Open ↑/↓ j/k move Space select Enter confirm Presets (Balanced defaults): [✓] [rw] npm [ ] pypi [ ] huggingface [ ] brew > [ ] brave [ ] discord [ ] github [ ] jira [ ] local-inference [ ] outlook [ ] slack [ ] telegram ↑/↓ j/k move Space include r toggle rw Enter confirm Narrowing sandbox egress — removing: pypi.org, files.pythonhosted.org ✓ Policy version 8 submitted (hash: 296f09f22523) ✓ Policy version 8 loaded (active version: 8) Removed preset: pypi Narrowing sandbox egress — removing: huggingface.co, cdn-lfs.huggingface.co, router.huggingface.co ✓ Policy version 9 submitted (hash: 9fc952f1cf78) ✓ Policy version 9 loaded (active version: 9) Removed preset: huggingface Narrowing sandbox egress — removing: formulae.brew.sh, github.com, ghcr.io, pkg-containers.githubusercontent.com, objects.githubusercontent.com, raw.githubusercontent.com[NVB#6097703]