1) I think there was a genuine error in publishing in full his ministerial code submission. I felt there were aspects of it I expected to be redacted, it wasn't *that* shocking the Crown got involved
2) The decision to publish, then remove, redact and republish is in my view more damaging to the anonymity of the complainants than anything else this inquiry has done up until now.
That was a serious error of judgement.
3) There should be an inquiry of some sort into the way this has been handle (I know, I know), and if it possible, a way to give Holyrood a similar level of parliamentary privilege to Westminster.
Without that, this issue is going to recur for as long as the parliament is about
I have no idea if the last of these is even legally possible. But it's an issue that is not just going to be a one time thing.
Context on the privilege point courtesy of @PeatWorrier