pipeline: improve handling of learner action arguments