> Surely for the sake of coherence and elegance those parts should be extracted.
Yes, and it will be.
Agents have only been using Lean this heavily for 4 or 5 months.