Expand description
Policy outcome lattice and deterministic composition.
ADR 0026 defines one total order for allow/warn/reject/quarantine/break-glass decisions. This module is pure shape logic: subsystems register rule ids, submit rule outcomes, and receive the composed decision with explainability.
Structs§
- Break
Glass Audit Shape - Audit shape required when break-glass is the final policy outcome.
- Break
Glass Authorization - Explicit authorization for a break-glass override.
- Break
Glass Scope - Scope bound to a break-glass action.
- Policy
Contribution - One rule’s contribution to a composed policy decision.
- Policy
Decision - Composed policy decision with explainability.
- Policy
Engine - Pure policy engine with registered rule ids.
- Policy
Rule Id - A registered policy rule id.
Enums§
- Break
Glass Reason Code - Closed break-glass reason code.
- Policy
Error - Policy composition error.
- Policy
Outcome - Policy outcome total order from weakest to strongest.
Functions§
- compose_
policy_ outcomes - Compose policy outcomes without a registry check.