Versions in this module Expand all Collapse all v0 v0.1.0 Jul 10, 2026 Changes in this version + const EnvGatekeeperInput + func ExtractCDPrefix(command string) string + func StripHeredocs(command string) string + type CompiledRule struct + Decision canonical.Decision + InputRegex *regexp2.Regexp + PreconditionCmd string + PreconditionRegex *regexp2.Regexp + Reason string + ToolRegex *regexp2.Regexp + type Engine struct + func New(cfg *config.Config, debug bool) (*Engine, error) + func (e *Engine) Evaluate(tc *canonical.ToolCall) (canonical.Verdict, error) + func (e *Engine) SetExecCommand(fn func(ctx context.Context, cwd, command, toolInput string) (string, error))