These are the sources I used to TAS Universal Paperclips (http://www.decisionproblem.com/paperclips/). You can see the code in action on Youtube: https://www.youtube.com/watch?v=YoizSEYRbTE and https://www.youtube.com/watch?v=eBxsnP9JNmk&t=4s
The code is neither well-written, nor well-documented, since it was never meant to be published. If you want to try to understand it, you should start at "strategyMain" and try to understand what the assistants do that are started up first.