fn record_no_inverse(
state: &AppState,
saga: &UnresolvedSaga,
step: &UnresolvedStep,
forward_cmd: &Command,
next_idx: u32,
) -> Result<(), String>Expand description
A succeeded forward step with no derivable inverse is a failure to
compensate, not a no-op: the side effect remains on disk while the
saga lifecycle would otherwise be marked compensated, hiding
unresolved state from operators (and from --diag sagas, which
keys on terminal state). Log a recovery row with state failed
for visibility and return the error so the saga ends in
failed_compensation.