Add 4 injectable parameters (session, history, reporter, download_all_fn) to sync_run() with backward-compatible defaults. Extract _print_verbose_config() and _resolve_history_path() helpers. Refactor _make_download_fn() to take explicit params instead of closing over enclosing scope. Tests can now pass fakes via parameters instead of mock.patch. Closes #44