Should an interior shear wall on the top floor extend through the attic to the underside of the roof?

The WFCM designs with exterior shear walls. If the building is broken into individual separate structures, there would be interior shear walls that extend to the roof diaphragm unless an alternative design is provided.