HKT (P)-DOH-AUH (A) & return. QR Gold/Sapphire. Utterly confused as to Lounge access in DOH in both directions

P tends to poison the whole ticket: but, who knows, A might throw some magic into the mix.
In any event you will have somewhere comfortable to hang out: the exact venue will sort itself out on the day. Please report back!
As a Plat arriving in long-haul R, connecting to regional Y I'm happy to leave it to the lounge angels to decide my fate. I can't see much point trying to second guess the system, though I'm pretty sure where destiny will lead me....