Skip to content

[All Platforms][Regression] presets do not apply correctly #2177

@hulynn

Description

@hulynn

Description

Description:
Presets are not applied correctly based on user selection

Environment:
- Platform: brev
  • NemoClaw: v0.0.20
  • Install method:
  1. Run: git clone https://github.com/NVIDIA/NemoClaw.git
  2. Run: cd NemoClaw
  3. Run: npm install
  4. Run: cd nemoclaw && npm install && npm run build && cd ..
  5. Run: nemoclaw onboard

Steps to Reproduce:

  1. nemoclaw onboard - select presets balanced and do not edit the list
  2. 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]

Metadata

Metadata

Assignees

Labels

NV QABugs found by the NVIDIA QA Team

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions