In every Shulchan Aruch I have seen, there are headings identifying the topic of each upcoming series of sections. For example, between sections 88 and 89, there is a heading which labels the next series as הלכות תפילה. Before section 429, there is a heading labeling the upcoming sections as being הלכות פסח. These headings also appear in printings of the Tur. They are at least as old as this printing of the Tur from 1540 - almost 500 years ago - example. (The author of the Tur passed away in around 1340, so it was published sometime before then.)
Who wrote these headings?
Short of identifying the author, I am also interested in finding out when they first started appearing (so an older copy of the Tur, whether or not it has the headings, would be of interest to me).
I am not asking about the section headings that sum up what each section (siman) is about (as in, for example, the words זמן בדיקת חמץ at the beginning of siman 431). I am aware that some Acharonim felt that inferences could be drawn from those headings and others disagreed.