The phase definitions in `getPhaseInfo` are ~140 lines of inline data. Extract to a separate data file.