You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 46978de
Browse filesBrowse the repository at this point in the historyBrowse files
Cedar sandbox policies now ship only in builds that enable the gateway and
supervisor `cedar` Cargo feature. Release Dev and branch E2E enable it;
prerelease and stable builds exclude the Cedar engine.
- openshell-policy has no default features. Cedar validation, load
warnings, filesystem-grant derivation, and provider-rule conversion live
in its gated `cedar` module; clients carry Cedar documents as text.
- openshell-supervisor-network gates its Cedar engine behind `cedar`; builds
without it use an uninhabited stub that rejects Cedar policies.
- The gateway and supervisor derive supports_cedar_policy from the compiled
feature. A gateway without Cedar rejects Cedar on create, update, start,
and stored-policy reads, and skips such sandboxes in store-wide checks.
- The gateway returns policy load warnings (PolicyWarning) from
CreateSandbox and sandbox UpdateConfig, including on replay; the CLI
prints them and no longer links Cedar.
- Compute drivers report driver_enforces_policy, and the gateway rejects
Cedar for drivers that enforce policy themselves, such as MXC.
- CI lints and tests both configurations, verifies stable dependency graphs
exclude Cedar, and release builds fail if a binary embeds a Cedar crate.
- The Cedar docs page is published only on the dev docs site.
Signed-off-by: Johnny Greco <[email protected]>
Copy file name to clipboardExpand all lines: .agents/skills/update-docs/SKILL.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,7 @@ Write the smallest update that tells users exactly what changed and what they ne
111
111
-**Keep each page URL equal to its file path** under `docs/`. Rename the file when you rename a page, add a `fern/docs.yml` redirect for the old URL, and set a relative `slug:` when the nav label does not produce the file name. `mise run docs` runs `docs:nav`, which fails otherwise.
112
112
-**Use `keywords` as a comma-separated string**.
113
113
-**Do not add a duplicate H1**. Fern renders the page title from frontmatter.
114
+
-**Keep development-only features on development-only pages**. A feature that stable and prerelease builds exclude, such as Cedar policies, belongs on a page with `development-only: true` in frontmatter, which only the `dev` docs version publishes. Do not link to that page or describe the feature from other pages. Refer to `fern/README.md`.
114
115
-**Always write NVIDIA in all caps.** Wrong: Nvidia, nvidia.
Copy file name to clipboardExpand all lines: .github/workflows/e2e-docker-test.yml
+35-4Lines changed: 35 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,19 @@ on:
25
25
required: false
26
26
type: string
27
27
default: ""
28
+
cedar-suites:
29
+
description: >-
30
+
Also run the Cedar suites. The gateway and supervisor under test
31
+
must be built with the Cedar feature, as Release Dev and branch E2E
32
+
builds are. Stable and pre-release builds exclude Cedar.
33
+
required: false
34
+
type: boolean
35
+
default: false
28
36
suite-matrix:
29
37
required: false
30
38
type: string
31
39
default: >-
32
-
[{"suite":"python","cmd":"mise run --no-deps --skip-deps e2e:python","apt_packages":"","python_proto":true,"mcp":false},{"suite":"oidc-python","cmd":"mise run --no-deps --skip-deps e2e:oidc-python:docker","apt_packages":"","python_proto":true,"mcp":false},{"suite":"oidc-pkce-docker","cmd":"mise run --no-deps --skip-deps e2e:oidc-pkce:docker","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"rust-docker","cmd":"mise run --no-deps --skip-deps e2e:rust","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"rust-docker-push","cmd":"mise run --no-deps --skip-deps e2e:rust:push","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"oci-image","cmd":"mise run --no-deps --skip-deps e2e:oci-image","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"mcp","cmd":"mise run --no-deps --skip-deps e2e:mcp","apt_packages":"","python_proto":false,"mcp":true},{"suite":"mcp-cedar","cmd":"POLICY_FORMAT=cedar mise run --no-deps --skip-deps e2e:mcp","apt_packages":"","python_proto":false,"mcp":true},{"suite":"cedar","cmd":"mise run --no-deps --skip-deps e2e:cedar","apt_packages":"","python_proto":false,"mcp":false}]
40
+
[{"suite":"python","cmd":"mise run --no-deps --skip-deps e2e:python","apt_packages":"","python_proto":true,"mcp":false},{"suite":"oidc-python","cmd":"mise run --no-deps --skip-deps e2e:oidc-python:docker","apt_packages":"","python_proto":true,"mcp":false},{"suite":"oidc-pkce-docker","cmd":"mise run --no-deps --skip-deps e2e:oidc-pkce:docker","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"rust-docker","cmd":"mise run --no-deps --skip-deps e2e:rust","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"rust-docker-push","cmd":"mise run --no-deps --skip-deps e2e:rust:push","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"oci-image","cmd":"mise run --no-deps --skip-deps e2e:oci-image","apt_packages":"openssh-client","python_proto":false,"mcp":false},{"suite":"mcp","cmd":"mise run --no-deps --skip-deps e2e:mcp","apt_packages":"","python_proto":false,"mcp":true}]
0 commit comments