Skip to content

fix(policy): preserve authored network grant executables - #14429

Merged
cv merged 6 commits into
NVIDIA:v1from
HOYALIM:codex/14361-authored-grant-binaries
Nov 16, 2026
Merged

cv merged 6 commits into
NVIDIA:v1from
HOYALIM:codex/14361-authored-grant-binaries

Conversation

@HOYALIM

@HOYALIM HOYALIM commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Preserve executable restrictions authored in sandbox network grants instead of replacing them with the agent harness's executables.

Problem

A grant restricted to /usr/bin/pip instead authorizes the launch interpreter because policy assembly replaces every managed rule's binary list.
This denies the tool the user named and permits an executable they did not name.
Resolves #14361.

Change

  • Use the launch executables only when a managed grant's binary list is empty.
  • Keep authored lists and the existing rejection of conflicting explicit-policy rule names.
  • Cover authored and defaulted grants in policy assembly, and check that the SDK compiles a grant's authored executables into the sandbox's policy input.
  • Name /usr/local/bin/python3.14 in the Docker interfaces case's stub-health grant: OpenShell matches an executable's real path, and the /usr/local/bin/python3 link it named passed only because the launch's executables replaced it.
  • Correct the provider reference and the Launch documentation, which said managed grants always take the launch's executables.

Signed-off-by: Ho Lim [email protected]

@copy-pr-bot

copy-pr-bot Bot commented Nov 12, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@HOYALIM

HOYALIM commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author
Authoring session — opening

Task-only authoring interval: 2026-11-12T02:58:32Z through 03:28:29Z, about 30 minutes including build waits and adjacent candidate investigation.
The persisted parent record was matched to the branch creation, source edits, tests and signed commit.
Earlier inherited history and the separate read-only review session are excluded from these parent totals.

Field Status Value Evidence or limit
Harness partial Codex Desktop Creation metadata identifies synthetic continuity recovery and CLI 0.162.0-alpha.2; it does not establish the app version at each later resume.
Skills partial write-tests; test-driven-development Complete repository skill reads appear in the task interval. Earlier PR-loop guidance is outside this interval; no whole-history inventory is claimed.
Instruction files partial AGENTS.md Complete target guidance reads appear in the interval. Later PR templates and publication guidance are beyond the cutoff. Inherited startup history is excluded.
Tool calls partial exec wrappers: 77; sleep calls: 17 Attempted parent wrapper calls, including errors. Nested tool invocations and separate review calls are not added to these counts.
Tokens partial input: 23859612; cached input: 23777280; output: 15947 Difference between actual cumulative snapshots at 02:58:50Z and 03:28:21Z. This lower bound excludes the beginning/end gaps and separate review usage; it is not a full-session total or a quota percentage.
Session window recorded 2026-11-12T02:58:32Z–03:28:29Z; about 30 minutes Task-only interval including idle time and compilation, not exclusive editing time or the whole recovered chat.
Compactions partial 0 observed in this interval Persisted compaction records in the selected interval; inherited history excluded.
Models partial gpt-6.1-sol Parent turn-context records in the selected interval; separate review excluded.
Reasoning levels partial low Parent turn-context records, not inferred from defaults.

Before the fix, the new regression failed because the grant contained /srv/python instead of /usr/bin/pip.
After the fix, all 20 OpenShell library tests and 540 SDK integration-binary tests passed; four existing SSH tests require remote infrastructure and were not run.
Both targeted Clippy checks, formatting and whitespace checks passed.
A separate read-only source review found no actionable defect but could not independently run tests in its sandbox.
These checks do not establish live deployment enforcement or full platform CI.

@wscurran wscurran added area: policy Network policy, egress rules, presets, or sandbox policy area: security Security controls, permissions, secrets, or hardening v1 NemoClaw v1 branch labels Nov 12, 2026
cv added 3 commits November 15, 2026 23:56
Fold the authored-executables case into the runtime test that already
checks the defaulted grant, and keep the SDK test to what the SDK owns:
the compiled policy input carries the grant's executables. Drop the
explicit-policy conflict check, which the change does not touch.

Signed-off-by: Carlos Villela <[email protected]>
Launch::policy now keeps a managed grant's own executables, so the launch's
executables apply only to grants without them.

Signed-off-by: Carlos Villela <[email protected]>
@cv

cv commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

/ok to test 8c36bac

@cv
cv marked this pull request as ready for review November 16, 2026 07:13
The stub-health grant named /usr/local/bin/python3, a link that OpenShell
does not match. It passed only because the launch's executables replaced
the grant's own; now that the grant keeps them, name the link's target, as
the kind development case does.

Signed-off-by: Carlos Villela <[email protected]>
@cv

cv commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

/ok to test 9474138

Copilot AI balanced review requested due to automatic review settings November 16, 2026 07:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@cv

cv commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

/ok to test 5476d20

@cv
cv merged commit 5716c39 into NVIDIA:v1 Nov 16, 2026
62 checks passed
cv added a commit that referenced this pull request Nov 16, 2026
The v1 release notes now list `v0.1.0-rc10`'s changes under their own
headings and start "since `v0.1.0-rc10`" sections, so contributors add
new entries there and readers can tell what the release candidate
contains.

## Problem

`docs/about/release-notes.md` lists everything that reached `v1` after
the `v0.1.0-rc9` tag under "Changes Since v0.1.0-rc9". `v0.1.0-rc10` is
being tagged on 5716c39 (#14429), so those entries are now rc10's
contents, and later changes need a separate place. rc9 left no
per-candidate section, so this sets the convention.

## Change

- "Product Changes" gets a "Changes Since v0.1.0-rc10" section, followed
by "Changes in v0.1.0-rc10", which keeps the existing entries and says
they reached `v1` between the `v0.1.0-rc9` and `v0.1.0-rc10` tags.
- "Breaking Changes and Migration" keeps its general intro and gets
matching "Breaking Changes Since v0.1.0-rc10" and "Breaking Changes in
v0.1.0-rc10" sections; the existing list moves under the latter
unchanged.
- The entries labeled "Earlier changes" (`updatePolicy: Preserve` and
the removed `spec.gateway.image`) were already in `v0.1.0-rc9`, so they
get an "Earlier Breaking Changes" heading instead of falling under
rc10's.
- Each intro links to its matching breaking-changes section. No other
page links to the old `#changes-since-v010-rc9` anchor,
`#breaking-changes-and-migration` still exists, and no contributing
guide names the section.
- The entries that #14480, #14481, #14482, and #14483 added after the
`v0.1.0-rc10` tag move to the sections since `v0.1.0-rc10`, so those
sections no longer say "None yet." The rc10 sections match
`v0.1.0-rc10:docs/about/release-notes.md`, including its pinned
component versions.
- The statement that v1 has no release yet stays: release-candidate tags
stage private drafts.

Signed-off-by: Carlos Villela <[email protected]>
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: policy Network policy, egress rules, presets, or sandbox policy area: security Security controls, permissions, secrets, or hardening v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants