pub fn permission_for_shell(
cmd: &str,
config: &HematiteConfig,
) -> PermissionDecisionExpand description
Returns the permission decision for a shell command given the loaded config.
Priority order (highest first):
- deny rules → always block (return true = needs approval / will be rejected)
- allow rules → always approve (return false)
- ask rules → always ask (return true)
- intrinsic risk classifier