pub fn count_subtree_attempts(beans_dir: &Path, root_id: &str) -> Result<u32>Expand description
Count total verify attempts across all descendants of a bean.
Includes the bean itself and archived descendants. Used by the circuit breaker to detect runaway retry loops across a subtree.