refactoring: pipeline-state methods get context instead of step-id and pull it from there themselves