- Load detour_upgrade_enabled, detour_upgrade_time_limit_s, detour_upgrade_min_saving and detour_upgrade_max_extra_zone_deviation_m; clamp them to their valid ranges and print them in the boot summary. - The debug_plan line reports the detour outcome, graph and lattice length, cost and zone deviation, time and lattice reason. - Tests: lane_route_planner_test 30/30.