pub fn repair_fold_target(
when: &WhenGuard,
consumes: &[String],
preceding_step: Option<&StepIdentity>,
) -> Option<StepIdentity>Expand description
Structural test for the R1 repair shape: an on_failure guard whose target is preceding_step,
where that step’s sole produced artifact is also consumed by the conditional step. Returns the
target’s identity when the shape matches, else None (falls back to R2 guarded-skip).