pub(super) fn collect_imperative_proc_registrations( rows: &mut Vec<LedgerRow>, hooks_dir: &Path, ) -> Result<()>