Rework and other books from 37signals team might be influential. Also you must be continuously involved in an open dialogue with the CEO or whoever takes decision on the direction you are heading. If they are strictly against the change, time to escape, then.