Repository navigation
fix(policy): preserve authored network grant executables - #14429
Conversation
Signed-off-by: Ho Lim <[email protected]>
Authoring session — openingTask-only authoring interval: 2026-11-12T02:58:32Z through 03:28:29Z, about 30 minutes including build waits and adjacent candidate investigation.
Before the fix, the new regression failed because the grant contained |
Signed-off-by: Carlos Villela <[email protected]>
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]>
|
/ok to test 8c36bac |
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]>
|
/ok to test 9474138 |
Signed-off-by: Carlos Villela <[email protected]>
|
/ok to test 5476d20 |
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]>
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/pipinstead 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
/usr/local/bin/python3.14in the Docker interfaces case'sstub-healthgrant: OpenShell matches an executable's real path, and the/usr/local/bin/python3link it named passed only because the launch's executables replaced it.Launchdocumentation, which said managed grants always take the launch's executables.Signed-off-by: Ho Lim [email protected]