Cities say a federal proposal to mandate energy refits of existing homes, apartments and commercial buildings is news to them. The Department of Natural Resources is drafting the code to be introduced in 2022: “It’s not the first time we are left scratching our heads.”