I am not aware of any code that would prevent the CSST from being this close to the roof sheathing.  I do not allow it less than 18" below the roof sheathing.  

CSST should avoid electrical and metal chase/sheetmetal straps....and what's up with the Romex coils?

Where is the termination bracket?

After that they install striker plates on both sides of the wall and a termination bracket and let's not forget the solid #6 bonding jumper they could have hard piped it a dozen times and bought lunch.

I cost a lot to replace a connector and some hard pipe with CSST.  Maybe they thought that I might not notice because the fireplace is not on the plans.