pull-style patching history tree processing and lazy artifact initialization