Here is the roof/wall intersection detail I came up with. Maintaining a good air barrier and "seamless" continuation of the insulation envelope, usually gets tricky here. PERSIST/REMOTE makes it easy to obtain an air tight connection with ZERO thermal bridging.
for a bigger pic click: