Expand description
ByteOr policy layer.
This crate is intended to be the “guardrails” brain:
- replay safety policies
- action allow/deny rules per environment
- stage capability declarations
Structs§
- Action
Decl - An action declaration (what the stage could do).
- Action
Request - A policy evaluation input for a single action.
- Approval
Gate - Approval gate for side effects.
- Policy
- Policy bundle for a runtime.
- Replay
Accounting - Replay accounting snapshot used for quota decisions.
- Replay
Limits - Limits applied to replay runs.
Enums§
- Action
Capability - Declares the action’s capability class for policy decisions.
- Decision
- A deterministic, explainable decision from policy.
- Deny
Reason - Machine-readable deny reason.
- Replay
Policy - Replay policy.
- Side
Effects Policy - Side effect policy.
Functions§
- decide
- Decide whether an action may execute under policy.