Module state

Module state 

Source
Expand description

State management for hook execution tracking

Structs§

HookExecutionState
Represents the state of hook execution for a specific directory
StateManager
Manages persistent state for hook execution sessions

Functions§

compute_execution_hash
Compute a hash for hook execution that includes input file contents. This is separate from the approval hash - approval only cares about the hook definition, but execution cache needs to invalidate when input files change.
compute_instance_hash
Compute a hash for a unique execution instance (directory + config)