\autoref always wrote "Section <number>", even for figure, table or theorem labels. The reference passes now record a kind alongside each label: sections use "Section", floats use their caption prefix (Figure/Table), and theorems use their display name; resolve_section_refs builds \autoref from that kind, falling back to "Section" for unknown labels. A preview test labels a figure, refers to it with \autoref, and checks "Figure 1" with no warnings.