core: historyList tracking and a super-ko detection function