Kraken: move handle_st to raptor_path_defs and add comments