Skip to content

Commit 6cf58c4

Browse files
committed
feat(isolation): add RFC 0012 backend contract
Signed-off-by: Drew Newberry <385+drew@users.noreply.github.com>
1 parent 0a3ec7a commit 6cf58c4

10 files changed

Lines changed: 1893 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ These pipelines connect skills into end-to-end workflows. Individual skill files
3232
| `crates/openshell-cli/` | CLI binary | User-facing command-line interface |
3333
| `crates/openshell-server/` | Gateway server | Control-plane API, sandbox lifecycle, auth boundary |
3434
| `crates/openshell-sandbox/` | Sandbox runtime | Container supervision, policy-enforced egress routing |
35+
| `crates/openshell-isolation/` | Isolation backend contract | RFC 0012 `IsolationBackend` trait + types; the supervisor-facing runtime contract for the boundary |
3536
| `crates/openshell-policy/` | Policy engine | Filesystem, network, process, and inference constraints |
3637
| `crates/openshell-router/` | Privacy router | Privacy-aware LLM routing |
3738
| `crates/openshell-bootstrap/` | Gateway metadata | Gateway registration metadata, auth token storage, mTLS bundle storage |

‎Cargo.lock‎

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
load("@crates//:defs.bzl", "aliases", "all_crate_deps")
5+
load("@rules_rs//rs:rust_library.bzl", "rust_library")
6+
load("@rules_rs//rs:rust_test.bzl", "rust_test")
7+
load("@rules_rust//rust:defs.bzl", "rustfmt_test")
8+
9+
rust_library(
10+
name = "openshell-isolation",
11+
srcs = glob(["src/**/*.rs"]),
12+
aliases = aliases(),
13+
visibility = ["//visibility:public"],
14+
deps = all_crate_deps(normal = True),
15+
)
16+
17+
rust_test(
18+
name = "openshell-isolation_test",
19+
crate = ":openshell-isolation",
20+
deps = all_crate_deps(normal_dev = True),
21+
)
22+
23+
rustfmt_test(
24+
name = "rustfmt_test",
25+
targets = [
26+
":openshell-isolation",
27+
":openshell-isolation_test",
28+
],
29+
visibility = ["//crates:__pkg__"],
30+
)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
[package]
5+
name = "openshell-isolation"
6+
description = "OpenShell Isolation Backend runtime contract (RFC 0012)"
7+
version.workspace = true
8+
edition.workspace = true
9+
rust-version.workspace = true
10+
license.workspace = true
11+
repository.workspace = true
12+
13+
[dependencies]
14+
openshell-core = { path = "../openshell-core", default-features = false }
15+
async-trait = "0.1"
16+
tokio = { workspace = true }
17+
18+
[dev-dependencies]
19+
tokio = { workspace = true }
20+
21+
[lints]
22+
workspace = true

0 commit comments

Comments
 (0)