Documentation
¶
Overview ¶
Package policy decides whether a tool call is allowed, denied, or needs human approval. Decisions are deny-by-default: anything not explicitly permitted by the mode and tool rules is refused.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidTarget ¶
ValidTarget reports whether a user-supplied target name is safe to pass on.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine evaluates tool calls against the loaded config.
Click to show internal directories.
Click to hide internal directories.