If I were to tell somebody what I did, and the other person asked me Hai fatto cosa? I would take it as a request to repeat what I did, similarly to Cosa hai fatto? but with cosa moved to the end of the sentence for emphasis.
Does the sentence have also another meaning, or am I understanding it wrongly?