fluxsim gate
Decide one AI-call request against a policy, or run the conformance vectors.
Commands
| Command | What it does |
|---|---|
fluxsim gate decide | decide one AI-call request against a policy |
fluxsim gate conform | run the RFC-04 conformance vectors against the enforcement gate |
fluxsim gate decide
Decide one request against one policy. Exit 0 allowed, 3 denied, 1 the request could not be decided at all.
Synopsis
fluxsim gate decide [options]
Examples
# exit 0 allowed, 3 denied
fluxsim gate decide --request request.json
Options
| Option | Value | Description |
|---|---|---|
--request | REQUEST | the request to decide, as JSON -- fields: policy (object), request (object), skill (object) [optional] (required) |
-j, --json | emit machine-readable JSON |
fluxsim gate conform
Run the published RFC-04 conformance vectors and report the pass count.
Synopsis
fluxsim gate conform [options]
Examples
# run the published conformance vectors
fluxsim gate conform
Options
| Option | Value | Description |
|---|---|---|
--vectors | VECTORS | path to an RFC-04 vectors file (default: the published set) |
-j, --json | emit machine-readable JSON |