Skip to main content

Crate buildfix_domain_policy

Crate buildfix_domain_policy 

Source
Expand description

Reusable domain policy helpers and deterministic plan-op utilities.

Functionsยง

apply_allow_deny
Apply allowlist/denylist policy gates on operations.
apply_params
Apply explicit user parameters to operations that require them.
apply_plan_policy
Apply all planner-level policy and deterministic-normalization passes.
args_fingerprint
Fingerprint arbitrary JSON with deterministic key order.
deterministic_op_id
Deterministic plan-op ID based on fix key, target path, rule kind and args.
enforce_caps
Enforce planning caps (max ops and max files).
glob_match
Lightweight wildcard matcher for policy keys.
stable_op_sort_key
Stable sort key for deterministic plan operation ordering.