Expand subgenre taxonomy and implement CLASSIFY pipeline stage (#36)
- Add 8 new subgenres to taxonomy: tower-climbing, system-apocalypse, base-building, time-loop, academy, crafting, monster-mc, wuxia - Move wuxia from cultivation patterns to its own subgenre - Change defaultSubgenre from "progression" to null (no fallback) - Create classifiers/subgenre.ts with multi-signal detection: text analysis (title/subtitle/description), Hardcover tag mapping, and series inheritance for unclassified books - Implement CLASSIFY pipeline stage that runs classification on all books and logs subgenre distribution stats - Add setBookSubgenresWithMeta() and getAllBooks() to db helpers - Expand Hardcover TAG_MAP with mappings for all new subgenres - Update frontend Subgenre type, labels, and colors for 13 subgenres - Update config.ts validation to accept null defaultSubgenre
Parent8be15bb
7 files changed+695-12
StackedSplit