For "32038", I believe these sentences would clear things up,
RRG 1.6 page 4 under "Ability" section:
When an ability has more than one sentence of text, read the entirety of the ability to check for alteration effects that may change the way the ability resolves. Then, resolve the ability one sentence at a time.
RRG 1.6 page 9 under "Attack (Player Ability Type)"
The order of resolution for abilities triggered by the resolution of an attack is as follows:
1. The retaliate X keyword (if the attacked character was not defeated).
2. Forced abilities with the following triggers (in any order):
» » “after [character] attacks [and damages/defeats] [an enemy/a minion]...”
» » “after [character] is attacked...”
3. Non-forced abilities with the triggers listed above.
4. Consequential damage (for allies).
and
If a triggered ability is labeled as an attack—such as “Hero Action (attack)”—resolving that ability is considered to attack the specified target. Unless specified by the ability’s text, a hero does not exhaust when using such an ability.
These rules imply that, ability on cards that contain (attack) should be fully resolved before Retaliate kicks in.
If this is not clear enough, RRG 1.6 page 9 under "Attack (Enemy Activation)"
The attack finishes resolving and the following types of abilities trigger in order:
a. The retaliate X keyword (if the attacked character was not defeated).
b. Forced abilities with the following triggers (in any order):
» » “after [character] attacks [and damages/defeats] [you/an ally]...”
» » “after [character] is attacked...”
» » “after [character] defends [and takes no damage]...”
c. Non-forced abilities with the triggers listed above.
This clearly states that Retaliate should have trigger after the attack is fully resolved.
Hope this clear up my point.