Compartment walls in a top storey beneath a roof should be continued through the roof space.
View this page on RegsUK