Skip to main content

Module policy

Module policy 

Source

Structs§

AdvisoriesPolicy
LicensesPolicy
ListPolicy
Policy
Raw, on-disk policy as parsed from rustinel.toml. All sections are optional and unknown fields are ignored (forward-compatible; see POLICY_SPEC §7).
PolicyDecision
PolicyProfile
RiskPolicy
SignalsPolicy

Enums§

Decision

Functions§

evaluate
Evaluate the policy against the project risk, the collected signals, and an optional score delta (present for diff, absent for check).
license_summary
Build the canonical license-detected evidence summary (kept in sync with the parser above).
parse_policy_toml