From 66d2d8f7d48a9ca865a5a9a3f52367f90fc1e7dc Mon Sep 17 00:00:00 2001 From: Nathaniel Watson Date: Tue, 10 Nov 2026 20:33:49 -0800 Subject: [PATCH 1/3] docs(openshell): illustrate standalone HTTP request review Signed-off-by: Nathaniel Watson --- integrations/openshell/README.md | 17 +++++ .../docs/images/http-request-review.svg | 75 +++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 integrations/openshell/docs/images/http-request-review.svg diff --git a/integrations/openshell/README.md b/integrations/openshell/README.md index ada1870f..5b53c9a6 100644 --- a/integrations/openshell/README.md +++ b/integrations/openshell/README.md @@ -25,6 +25,23 @@ The explicit `--allow-insecure-lab` flag is required for a nonloopback listener; it does not add authentication. Do not expose this listener publicly. This is an experimental integration, not an authenticated production deployment. +## Request flow + +![OpenShell enforces network policy, asks Nomos to review selected HTTP requests using a decision model, and forwards only permitted requests.](docs/images/http-request-review.svg) + +For requests selected for review, the supervisor calls Nomos over gRPC before +injecting managed credentials. Nomos validates the request, sends the observation +and configured questions to the decision model, and applies the configured score +thresholds. It returns a decision to OpenShell; the middleware does not forward +the workload request. + +OpenShell forwards the original payload only when network policy and request +review permit it, adding managed credentials where configured. A network-policy +denial stops the request before assessment. A content denial, or an assessment +failure under the sample `fail_closed` policy, stops it before the destination. +See [configuration](docs/configuration.md) for questions, thresholds and the +model API, and [lab testing](docs/lab-testing.md) for forwarding evidence. + ## Read and run 1. [Setup](docs/setup.md): build, configure a model, register with OpenShell, diff --git a/integrations/openshell/docs/images/http-request-review.svg b/integrations/openshell/docs/images/http-request-review.svg new file mode 100644 index 00000000..2b79d650 --- /dev/null +++ b/integrations/openshell/docs/images/http-request-review.svg @@ -0,0 +1,75 @@ + + + +OpenShell HTTP review with Nomos +The sandbox sends an HTTP request through the OpenShell supervisor. The supervisor enforces network policy and calls Nomos middleware before managed credential injection. Nomos calls a decision model and returns allow, deny, or an error. OpenShell forwards only permitted requests; policy denials and assessment failures under fail_closed policy do not reach the destination. + + + + + + + + OpenShell HTTP review with Nomos + A decision-model gate on policy-selected outgoing requests + + + + + + + + + + OpenShell sandbox + OpenShell supervisor + Destination service + Nomos middleware + Decision model + Request blocked + + + Agent / HTTP client + Sandbox runtime mediates + outgoing traffic + Enforce network policy + Select requests for review + Receives permitted + HTTP requests + Validate request and scores + Apply configured questions + and decision thresholds + Jev / Deciffusion + Score request against + configured questions + Policy or content denial; + assessment failure under + fail_closed policy + + + + + + + + + + + + 1 HTTP + request + 4 Forward + only if allowed + 2 Review + gRPC before + credentials + 3 Allow / deny + or error + HTTP(S) + Scores + Deny / failure + + OpenShell forwards the original payload; configured managed credentials are injected after review. + Orange: request / assessment • Blue: review results • Red: blocked before destination + + From c2aea8da254622b4ad13db705cacab1c516519d9 Mon Sep 17 00:00:00 2001 From: Nathaniel Watson Date: Wed, 18 Nov 2026 10:40:00 -0800 Subject: [PATCH 2/3] docs(openshell): clarify review failure policies --- integrations/openshell/README.md | 12 +++++++----- .../openshell/docs/images/http-request-review.svg | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/integrations/openshell/README.md b/integrations/openshell/README.md index 5b53c9a6..4daccc0f 100644 --- a/integrations/openshell/README.md +++ b/integrations/openshell/README.md @@ -27,7 +27,7 @@ an experimental integration, not an authenticated production deployment. ## Request flow -![OpenShell enforces network policy, asks Nomos to review selected HTTP requests using a decision model, and forwards only permitted requests.](docs/images/http-request-review.svg) +![Under the sample fail_closed policy, OpenShell enforces network policy, asks Nomos to review selected HTTP requests, and forwards only permitted requests.](docs/images/http-request-review.svg) For requests selected for review, the supervisor calls Nomos over gRPC before injecting managed credentials. Nomos validates the request, sends the observation @@ -35,10 +35,12 @@ and configured questions to the decision model, and applies the configured score thresholds. It returns a decision to OpenShell; the middleware does not forward the workload request. -OpenShell forwards the original payload only when network policy and request -review permit it, adding managed credentials where configured. A network-policy -denial stops the request before assessment. A content denial, or an assessment -failure under the sample `fail_closed` policy, stops it before the destination. +For requests selected for review, the sample `fail_closed` policy requires both +network-policy permission and a review allow decision before forwarding. With +`fail_open`, an assessment failure can instead let the request continue without +an allow decision. A content denial blocks under either setting. OpenShell adds +managed credentials where configured and forwards the original payload; Nomos +does neither. A network-policy denial stops the request before assessment. See [configuration](docs/configuration.md) for questions, thresholds and the model API, and [lab testing](docs/lab-testing.md) for forwarding evidence. diff --git a/integrations/openshell/docs/images/http-request-review.svg b/integrations/openshell/docs/images/http-request-review.svg index 2b79d650..30c495b2 100644 --- a/integrations/openshell/docs/images/http-request-review.svg +++ b/integrations/openshell/docs/images/http-request-review.svg @@ -2,7 +2,7 @@ OpenShell HTTP review with Nomos -The sandbox sends an HTTP request through the OpenShell supervisor. The supervisor enforces network policy and calls Nomos middleware before managed credential injection. Nomos calls a decision model and returns allow, deny, or an error. OpenShell forwards only permitted requests; policy denials and assessment failures under fail_closed policy do not reach the destination. +This diagram shows the sample fail_closed policy. The sandbox sends an HTTP request through the OpenShell supervisor. The supervisor enforces network policy and calls Nomos middleware before managed credential injection. Nomos calls a decision model and returns allow, deny, or an error. OpenShell forwards only permitted requests; policy denials and assessment failures do not reach the destination. @@ -11,7 +11,7 @@ OpenShell HTTP review with Nomos - A decision-model gate on policy-selected outgoing requests + Policy-selected outgoing requests with fail_closed error handling From 0574c234c13e01614ad99b736ea22f669896706b Mon Sep 17 00:00:00 2001 From: Nathaniel Watson Date: Fri, 20 Nov 2026 13:53:36 -0800 Subject: [PATCH 3/3] docs(openshell): arrange request review outcomes on the right Signed-off-by: Nathaniel Watson --- .../docs/images/http-request-review.svg | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/integrations/openshell/docs/images/http-request-review.svg b/integrations/openshell/docs/images/http-request-review.svg index 30c495b2..073e305c 100644 --- a/integrations/openshell/docs/images/http-request-review.svg +++ b/integrations/openshell/docs/images/http-request-review.svg @@ -16,17 +16,17 @@ - + - + OpenShell sandbox OpenShell supervisor Destination service Nomos middleware - Decision model - Request blocked + Decision model + Request blocked Agent / HTTP client @@ -39,21 +39,21 @@ Validate request and scores Apply configured questions and decision thresholds - Jev / Deciffusion - Score request against - configured questions - Policy or content denial; - assessment failure under - fail_closed policy + Jev / Deciffusion + Score request against + configured questions + Policy or content denial; + assessment failure + under fail_closed policy - - - + + + 1 HTTP @@ -65,9 +65,9 @@ credentials 3 Allow / deny or error - HTTP(S) - Scores - Deny / failure + HTTP(S) + Scores + Deny / failure OpenShell forwards the original payload; configured managed credentials are injected after review. Orange: request / assessment • Blue: review results • Red: blocked before destination