In the name of more clearly understanding which work represents his most final conclusion, and in the purely academic interest of knowing which works were drawing from the others, I am curious as to the order of writing (not of publication) of three works of Rav Moshe Isserles - the Darkei Moshe (commentary to the Tur), Toras Hachattas (Halachic guide to Issur V'Hetter), and the Mappah (glosses to R' Yosef Cairo's Shulchan Aruch).
My research so far:
I am aware that the Chida in Sheim HaGedolim (חלק מערכת הספרים ד"ה תורת החטאת) rejects an opinion that the Mappah came before Toras Hachattas and strongly asserts that Torah Hachattas came before the Mappah, and that the Shach (Yoreh De'ah 99:15) suggests that the Rema's omission of something in the Mappah is a sign that he retracted from what he wrote in the Toras Hachattas. I have also noted that the commentaries on the Mappah in basar b'cholov and ta'aruvos often cross-reference what the Rema wrote in Toras Chattas and seldom reference the Darkei Moshe, even when what he wrote in Darkei Moshe seems to be more similar to what he wrote in the Mappah, leading me to wonder if the Darkei Moshe was merely less accessible, or perhaps it was written afterwards and therefore is not assumed to be as relevant in the development of what made it into the Mappah.
I am also aware that the Taz in Y.D. 106 cites the Toras Hachattas as asking a question on what the Mechaber writes in Shulchan Aruch, which would mean that Toras Hachattas was written after Shulchan Aruch was published. In order for Toras Hachattas to predate the Mappah would mean it had to have been between the publishing of Shulchan Aruch and the writing of the Mappah, which I understand to be a fairly narrow window of time.
Looking for authoritative sources.