Roof Safety: Proper way to adjust position of carabiner/lanyard on rope attached at the top of the roof
It's called a rope-grab and is mostly pretty foolproof - they also allow a lot of freedom of movement so you are mostly likely to actualy use them!

See fall protection guide (pdf) for more info