Port dataset-level wiki incremental compile and refactor splitByTokens token budgeting. Includes replace-only wiki merge, KNN dedup routing, and template/config wiring.