Skip to main contentCrate codewhale_execpolicy
Source - bash_arity
- Bash arity dictionary for command-prefix allow rule matching.
- ExecPolicyAmendment
- A proposed amendment to the execution policy, suggesting new trusted prefixes.
- ExecPolicyContext
- Input context provided to the execution policy engine for a single check.
- ExecPolicyDecision
- The result of evaluating a command against the execution policy.
- ExecPolicyEngine
- Ruleset
- A named set of allow/deny prefix rules at a given priority layer.
- ToolAskRule
- Typed rule that marks a tool invocation as requiring approval.
- AskForApproval
- Policy mode controlling when tool invocations require human approval.
- ExecApprovalRequirement
- The approval requirement determined by the execution policy engine.
- RulesetLayer
- Priority layer for a permission ruleset. Higher ordinal = higher priority.
On conflict, the highest-priority layer’s longest matching prefix wins.