I seem to have fixed the rest of my idling issues (odd surging to 1-2k rpms in park and neutral, threatening to stall on a cold start, minor issues when slowing to a stop) with a new IACV connector. I always knew it was a bit green in there, but I originally cleaned the contacts and thought that would be enough.
I’d thrown in a cheapy IAC valve from aliexpress, to see if any symptoms changed, but no difference. Lopped off the connector and reterminated with a connector kit, now running smooth!

Wires are under more tension than I’d like.
at 500000ks most of the wiring loom in the engine bay is probably worth replacing, especially things right near the engine. Wires don’t like heat, and most of my connector sealing bits are crumbling away

I see dave barton has the bits for reterminating connectors (bullet and spade terminals, sealing grommets etc) but thats a pretty big job. one day!