Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
7e985b9
feat(policy-schema): create openshell-policy-schema crate skeleton
feloy Jun 1, 2026
54162e5
feat(policy-schema): add YAML serde types (verbatim, names unchanged)
feloy Jun 1, 2026
dcbc5d2
feat(policy-schema): add constants and utility functions
feloy Jun 1, 2026
860069d
feat(policy-schema): add PolicyViolation enum and Display impl
feloy Jun 1, 2026
d907d29
feat(policy-schema): add public API functions
feloy Jun 1, 2026
64e3c76
feat(policy-schema): add tests
feloy Jun 1, 2026
101b53f
feat(policy): add openshell-policy-schema dependency
feloy Jun 1, 2026
7fdbfce
style(policy-schema): apply rustfmt formatting
feloy Jun 1, 2026
bb1d535
refactor(policy): import YAML serde types from openshell-policy-schema
feloy Jun 1, 2026
d02d697
refactor(policy): delegate YAML functions to openshell-policy-schema
feloy Jun 1, 2026
06e500f
refactor(policy): delegate normalize_path to openshell-policy-schema
feloy Jun 1, 2026
abd0049
refactor(policy): re-export PolicyViolation from schema, drop serde/s…
feloy Jun 1, 2026
d91ddcf
refactor(policy): re-export path constants from openshell-policy-schema
feloy Jun 1, 2026
bee2195
fix(policy): move HashMap import into test module
feloy Jun 1, 2026
557c109
docs(policy): update module doc comment to reflect schema crate split
feloy Jun 1, 2026
8b53886
docs(agents): add openshell-policy-schema to architecture table
feloy Jun 1, 2026
154175a
refactor(policy): delegate validate_sandbox_policy to schema crate
feloy Jun 8, 2026
a1b1b0c
fix(policy): preserve explicit proto process values during validate_s…
feloy Jun 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ These pipelines connect skills into end-to-end workflows. Individual skill files
| `crates/openshell-server/` | Gateway server | Control-plane API, sandbox lifecycle, auth boundary |
| `crates/openshell-sandbox/` | Sandbox runtime | Container supervision, policy-enforced egress routing |
| `crates/openshell-policy/` | Policy engine | Filesystem, network, process, and inference constraints |
| `crates/openshell-policy-schema/` | Policy YAML schema | Dependency-light serde types and pure YAML parsing — no proto, no gRPC |
| `crates/openshell-router/` | Privacy router | Privacy-aware LLM routing |
| `crates/openshell-bootstrap/` | Gateway metadata | Gateway registration metadata, auth token storage, mTLS bundle storage |
| `crates/openshell-ocsf/` | OCSF logging | OCSF v1.7.0 event types, builders, shorthand/JSONL formatters, tracing layers |
Expand Down
9 changes: 9 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions crates/openshell-policy-schema/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

[package]
name = "openshell-policy-schema"
description = "YAML schema types and pure-Rust parsing for OpenShell sandbox policies"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
serde_yml = { workspace = true }
miette = { workspace = true }

[lints]
workspace = true
Loading
Loading