pothos-library: logic to complete pass-through flows