Files
Simon Scatton e21b7fd8cf chore(build): remove bundled Z3 support (#3275)
* chore(build): remove bundled Z3 support

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>

* fix(build): preserve vendored Z3 for local gateway artifacts

Signed-off-by: Simon Scatton <sscatton@nvidia.com>

---------

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
2026-10-01 12:08:33 +00:00
..

OpenShell policy prover CLI

This package builds the standalone openshell-prover executable. It is a thin synchronous adapter around the reusable containment engine in openshell-prover; it owns local file loading, command parsing, result rendering, and process exit codes.

openshell-prover check candidate.yaml --boundary boundary.yaml
openshell-prover check candidate.yaml --boundary boundary.yaml --output json

The command checks whether a fully composed candidate policy stays within an operator-supplied boundary. It does not discover a gateway, fetch policy state, or apply policy changes.

Results use these exit codes:

Exit code Meaning
0 The candidate is within the boundary.
1 The candidate exceeds the boundary.
2 Usage, input, output, or internal error.
3 Unsupported policy semantics or an inconclusive solve.
130 Interrupted with Ctrl-C on Unix; graceful JSON output reports an inconclusive cancellation.

Build and test the package with:

cargo build -p openshell-prover-cli --bin openshell-prover
cargo test -p openshell-prover-cli

See the policy prover reference for installed usage and interpretation guidance.

JSON output uses a numeric schema_version for the result contract and a prover_version for the implementation that produced it. Consumers must inspect coverage.domains for the machine-readable modeled-domain declaration. A passing check compares configuration under the documented assumptions; it does not attest that a running sandbox installed its restrictions.