Apply rustfmt across the crate
Decompose core repository god-module and TaskRepository trait
Testing + arch cold spots: +54 tests, import_external repo refactor, milestone/FTS fixes