Wiring in shadow extraction

WIP: @markhibberd 



This really only makes sense in scope of planning, in that it has to pattern match on repository and would know that it is of a specific type.