Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decision ¶
func Evaluate ¶
func Evaluate(policy config.PolicyConfig, worktreePath, tool string, args []string) Decision
Evaluate decides whether a role may execute a tool call. This is the enforcement point every backend adapter's PreToolUse-equivalent hook calls before letting a tool call through (spec: Tool-Call Gating).
Click to show internal directories.
Click to hide internal directories.