Structs§
- Block
Reason - The reason a
PreHookdecided to block execution. Allocation: two Strings. Complexity: O(1) to construct. - Filtered
Post Hook - A
PostHookwrapper that runs the inner hook only whenmatcherpasses. On mismatch, returnsOk(())without invoking the inner hook. Allocation: none per call when matcher fails. Complexity: O(matcher check). - Filtered
PreHook - A
PreHookwrapper that runs the inner hook only whenmatcherpasses. On mismatch, returnsHookAction::Noopwithout invoking the inner hook. Allocation: none per call when matcher fails. Complexity: O(matcher check). - Hook
Context - Hook
Issue - Hook
Matcher - Pure filter that gates a hook on phase, tool name, and/or cwd prefix.
phasesempty = all phases match.tool_name/cwd_prefixNone = no constraint. Allocation: O(phases count + name/prefix length) at construction. - Hook
Patch - Hook
Report - Plugin
Contract Version