Seems the code has the answerR802.3.1
Where ceiling joists are not connected to the rafters at the top wall plate, joists connected higher in the attic shall be installed as rafter ties, or rafter ties shall be installed to provide a continuous tie. Where ceiling joists are not parallel to rafters, rafter ties shall be installed. Rafter ties shall be a minimum of 2 inches by 4 inches (51 mm by 102 mm) (nominal), installed in accordance with the connection requirements in Table R802.5.1(9), or connections of equivalent capacities shall be provided. Where ceiling joists or rafter ties are not provided, the ridge formed by these rafters shall be supported by a wall or girder designed in accordance with accepted engineering practice.