In a thread I had created when working on the same type of subproject artifact behaviour, there’s some additional discussion on task inputs and dependencies which you may or may not find useful/educational.