pub fn record_hook_check(
workspace_root: &Path,
event: &str,
diff_hash: &str,
sites_listed: usize,
blocked: bool,
)Expand description
Records one check of a Stop or SubagentStop hook: the diff it checked, the number of sites
its block listed, and whether it blocked. Best-effort and non-panicking.